From 19d038647fd68d04c1b109eb7142a6f37236665f Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 3 Aug 2021 22:41:41 +0000 Subject: [PATCH 1/2] feat!: release gapic-generator-java v2.0.0 Committer: @miraleung PiperOrigin-RevId: 388535346 Source-Link: https://github.com/googleapis/googleapis/commit/d9eaf41de44d953458b18712a3f240bb4c564e48 Source-Link: https://github.com/googleapis/googleapis-gen/commit/976c5ab6f24b58c91fe04847ead1953f99d19e6a --- .../cloud/domains/v1alpha2/DomainsGrpc.java | 1939 ---------- .../cloud/domains/v1beta1/DomainsGrpc.java | 1938 ---------- .../cloud/domains/v1alpha2/DomainsClient.java | 112 +- .../domains/v1alpha2/DomainsSettings.java | 10 +- .../domains/v1alpha2/gapic_metadata.json | 0 .../cloud/domains/v1alpha2/package-info.java | 0 .../domains/v1alpha2/stub/DomainsStub.java | 0 .../v1alpha2/stub/DomainsStubSettings.java | 12 +- .../stub/GrpcDomainsCallableFactory.java | 0 .../v1alpha2/stub/GrpcDomainsStub.java | 156 +- .../domains/v1alpha2/DomainsClientTest.java | 0 .../cloud/domains/v1alpha2/MockDomains.java | 0 .../domains/v1alpha2/MockDomainsImpl.java | 0 .../cloud/domains/v1alpha2/DomainsGrpc.java | 1486 ++++++++ .../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 | 3362 ++++++----------- .../v1alpha2/DnsSettingsOrBuilder.java | 61 +- .../cloud/domains/v1alpha2/DomainNotice.java | 75 +- .../cloud/domains/v1alpha2/DomainsProto.java | 649 ++++ .../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 | 2131 ++++------- .../domains/v1alpha2/RegistrationName.java | 0 .../v1alpha2/RegistrationOrBuilder.java | 256 +- .../ResetAuthorizationCodeRequest.java | 363 +- ...esetAuthorizationCodeRequestOrBuilder.java | 31 + .../RetrieveAuthorizationCodeRequest.java | 378 +- ...ieveAuthorizationCodeRequestOrBuilder.java | 31 + .../RetrieveRegisterParametersRequest.java | 457 +-- ...eveRegisterParametersRequestOrBuilder.java | 44 +- .../RetrieveRegisterParametersResponse.java | 390 +- ...veRegisterParametersResponseOrBuilder.java | 26 +- .../v1alpha2/SearchDomainsRequest.java | 421 +-- .../SearchDomainsRequestOrBuilder.java | 44 +- .../v1alpha2/SearchDomainsResponse.java | 465 +-- .../SearchDomainsResponseOrBuilder.java | 48 +- .../domains/v1alpha2/TransferLockState.java | 80 +- .../v1alpha2/UpdateRegistrationRequest.java | 468 +-- .../UpdateRegistrationRequestOrBuilder.java | 43 +- .../cloud/domains/v1alpha2/domains.proto | 0 .../cloud/domains/v1beta1/DomainsClient.java | 112 +- .../domains/v1beta1/DomainsSettings.java | 10 +- .../cloud/domains/v1beta1/gapic_metadata.json | 0 .../cloud/domains/v1beta1/package-info.java | 0 .../domains/v1beta1/stub/DomainsStub.java | 0 .../v1beta1/stub/DomainsStubSettings.java | 12 +- .../stub/GrpcDomainsCallableFactory.java | 0 .../domains/v1beta1/stub/GrpcDomainsStub.java | 156 +- .../domains/v1beta1/DomainsClientTest.java | 0 .../cloud/domains/v1beta1/MockDomains.java | 0 .../domains/v1beta1/MockDomainsImpl.java | 0 .../cloud/domains/v1beta1/DomainsGrpc.java | 1486 ++++++++ .../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 | 3330 ++++++---------- .../domains/v1beta1/DnsSettingsOrBuilder.java | 52 +- .../cloud/domains/v1beta1/DomainNotice.java | 75 +- .../cloud/domains/v1beta1/DomainsProto.java | 647 ++++ .../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 | 2123 ++++------- .../domains/v1beta1/RegistrationName.java | 0 .../v1beta1/RegistrationOrBuilder.java | 256 +- .../ResetAuthorizationCodeRequest.java | 360 +- ...esetAuthorizationCodeRequestOrBuilder.java | 31 + .../RetrieveAuthorizationCodeRequest.java | 374 +- ...ieveAuthorizationCodeRequestOrBuilder.java | 31 + .../RetrieveRegisterParametersRequest.java | 457 +-- ...eveRegisterParametersRequestOrBuilder.java | 44 +- .../RetrieveRegisterParametersResponse.java | 390 +- ...veRegisterParametersResponseOrBuilder.java | 26 +- .../domains/v1beta1/SearchDomainsRequest.java | 421 +-- .../SearchDomainsRequestOrBuilder.java | 44 +- .../v1beta1/SearchDomainsResponse.java | 442 +-- .../SearchDomainsResponseOrBuilder.java | 33 +- .../domains/v1beta1/TransferLockState.java | 80 +- .../v1beta1/UpdateRegistrationRequest.java | 468 +-- .../UpdateRegistrationRequestOrBuilder.java | 43 +- .../cloud/domains/v1beta1/domains.proto | 0 .../DeleteRegistrationRequestOrBuilder.java | 56 - .../cloud/domains/v1alpha2/DomainsProto.java | 720 ---- .../ExportRegistrationRequestOrBuilder.java | 56 - .../GetRegistrationRequestOrBuilder.java | 56 - ...esetAuthorizationCodeRequestOrBuilder.java | 56 - ...ieveAuthorizationCodeRequestOrBuilder.java | 56 - .../DeleteRegistrationRequestOrBuilder.java | 56 - .../cloud/domains/v1beta1/DomainsProto.java | 710 ---- .../ExportRegistrationRequestOrBuilder.java | 56 - .../GetRegistrationRequestOrBuilder.java | 56 - ...esetAuthorizationCodeRequestOrBuilder.java | 56 - ...ieveAuthorizationCodeRequestOrBuilder.java | 56 - 146 files changed, 17954 insertions(+), 30303 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/v1alpha2/google-cloud-domains}/src/main/java/com/google/cloud/domains/v1alpha2/DomainsClient.java (95%) 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 (83%) 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 (65%) 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 (74%) 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 (67%) 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/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 (69%) 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/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/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 {google-cloud-domains => owl-bot-staging/v1beta1/google-cloud-domains}/src/main/java/com/google/cloud/domains/v1beta1/DomainsClient.java (95%) 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 (83%) 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 (74%) 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 (64%) 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 (67%) 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 (63%) 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 (63%) 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/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/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/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%) 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 1894960b..00000000 --- a/grpc-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsGrpc.java +++ /dev/null @@ -1,1939 +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") -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.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); - } - - /** - * - * - *
-     * 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` that you no longer want to use with
-     * Cloud Domains. You can continue to use the domain in
-     * [Google Domains](https://domains.google/) until it expires.
-     * If the export is successful:
-     * * The resource's `state` becomes `EXPORTED`, meaning that it is no longer
-     * managed by Cloud Domains
-     * * Because individual users can own domains in Google Domains, the calling
-     * user becomes the domain's sole owner. Permissions for the domain are
-     * subsequently managed in Google Domains.
-     * * Without further action, the domain does not renew automatically.
-     * The new owner can set up billing in Google Domains to renew the domain
-     * if needed.
-     * 
- */ - 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 only works on resources in one of the following states:
-     * * `state` is `EXPORTED` with `expire_time` in the past
-     * * `state` is `REGISTRATION_FAILED`
-     * 
- */ - 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( - 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); - } - - /** - * - * - *
-     * 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` that you no longer want to use with
-     * Cloud Domains. You can continue to use the domain in
-     * [Google Domains](https://domains.google/) until it expires.
-     * If the export is successful:
-     * * The resource's `state` becomes `EXPORTED`, meaning that it is no longer
-     * managed by Cloud Domains
-     * * Because individual users can own domains in Google Domains, the calling
-     * user becomes the domain's sole owner. Permissions for the domain are
-     * subsequently managed in Google Domains.
-     * * Without further action, the domain does not renew automatically.
-     * The new owner can set up billing in Google Domains to renew the domain
-     * if needed.
-     * 
- */ - 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 only works on resources in one of the following states:
-     * * `state` is `EXPORTED` with `expire_time` in the past
-     * * `state` is `REGISTRATION_FAILED`
-     * 
- */ - 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); - } - - /** - * - * - *
-     * 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` that you no longer want to use with
-     * Cloud Domains. You can continue to use the domain in
-     * [Google Domains](https://domains.google/) until it expires.
-     * If the export is successful:
-     * * The resource's `state` becomes `EXPORTED`, meaning that it is no longer
-     * managed by Cloud Domains
-     * * Because individual users can own domains in Google Domains, the calling
-     * user becomes the domain's sole owner. Permissions for the domain are
-     * subsequently managed in Google Domains.
-     * * Without further action, the domain does not renew automatically.
-     * The new owner can set up billing in Google Domains to renew the domain
-     * if needed.
-     * 
- */ - 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 only works on resources in one of the following states:
-     * * `state` is `EXPORTED` with `expire_time` in the past
-     * * `state` is `REGISTRATION_FAILED`
-     * 
- */ - 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); - } - - /** - * - * - *
-     * 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` that you no longer want to use with
-     * Cloud Domains. You can continue to use the domain in
-     * [Google Domains](https://domains.google/) until it expires.
-     * If the export is successful:
-     * * The resource's `state` becomes `EXPORTED`, meaning that it is no longer
-     * managed by Cloud Domains
-     * * Because individual users can own domains in Google Domains, the calling
-     * user becomes the domain's sole owner. Permissions for the domain are
-     * subsequently managed in Google Domains.
-     * * Without further action, the domain does not renew automatically.
-     * The new owner can set up billing in Google Domains to renew the domain
-     * if needed.
-     * 
- */ - 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 only works on resources in one of the following states:
-     * * `state` is `EXPORTED` with `expire_time` in the past
-     * * `state` is `REGISTRATION_FAILED`
-     * 
- */ - 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_LIST_REGISTRATIONS = 3; - private static final int METHODID_GET_REGISTRATION = 4; - private static final int METHODID_UPDATE_REGISTRATION = 5; - private static final int METHODID_CONFIGURE_MANAGEMENT_SETTINGS = 6; - private static final int METHODID_CONFIGURE_DNS_SETTINGS = 7; - private static final int METHODID_CONFIGURE_CONTACT_SETTINGS = 8; - private static final int METHODID_EXPORT_REGISTRATION = 9; - private static final int METHODID_DELETE_REGISTRATION = 10; - private static final int METHODID_RETRIEVE_AUTHORIZATION_CODE = 11; - private static final int METHODID_RESET_AUTHORIZATION_CODE = 12; - - 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_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(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 792350dd..00000000 --- a/grpc-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsGrpc.java +++ /dev/null @@ -1,1938 +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") -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.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); - } - - /** - * - * - *
-     * 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` that you no longer want to use with
-     * Cloud Domains. You can continue to use the domain in
-     * [Google Domains](https://domains.google/) until it expires.
-     * If the export is successful:
-     * * The resource's `state` becomes `EXPORTED`, meaning that it is no longer
-     * managed by Cloud Domains
-     * * Because individual users can own domains in Google Domains, the calling
-     * user becomes the domain's sole owner. Permissions for the domain are
-     * subsequently managed in Google Domains.
-     * * Without further action, the domain does not renew automatically.
-     * The new owner can set up billing in Google Domains to renew the domain
-     * if needed.
-     * 
- */ - 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 only works on resources in one of the following states:
-     * * `state` is `EXPORTED` with `expire_time` in the past
-     * * `state` is `REGISTRATION_FAILED`
-     * 
- */ - 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( - 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); - } - - /** - * - * - *
-     * 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` that you no longer want to use with
-     * Cloud Domains. You can continue to use the domain in
-     * [Google Domains](https://domains.google/) until it expires.
-     * If the export is successful:
-     * * The resource's `state` becomes `EXPORTED`, meaning that it is no longer
-     * managed by Cloud Domains
-     * * Because individual users can own domains in Google Domains, the calling
-     * user becomes the domain's sole owner. Permissions for the domain are
-     * subsequently managed in Google Domains.
-     * * Without further action, the domain does not renew automatically.
-     * The new owner can set up billing in Google Domains to renew the domain
-     * if needed.
-     * 
- */ - 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 only works on resources in one of the following states:
-     * * `state` is `EXPORTED` with `expire_time` in the past
-     * * `state` is `REGISTRATION_FAILED`
-     * 
- */ - 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); - } - - /** - * - * - *
-     * 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` that you no longer want to use with
-     * Cloud Domains. You can continue to use the domain in
-     * [Google Domains](https://domains.google/) until it expires.
-     * If the export is successful:
-     * * The resource's `state` becomes `EXPORTED`, meaning that it is no longer
-     * managed by Cloud Domains
-     * * Because individual users can own domains in Google Domains, the calling
-     * user becomes the domain's sole owner. Permissions for the domain are
-     * subsequently managed in Google Domains.
-     * * Without further action, the domain does not renew automatically.
-     * The new owner can set up billing in Google Domains to renew the domain
-     * if needed.
-     * 
- */ - 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 only works on resources in one of the following states:
-     * * `state` is `EXPORTED` with `expire_time` in the past
-     * * `state` is `REGISTRATION_FAILED`
-     * 
- */ - 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); - } - - /** - * - * - *
-     * 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` that you no longer want to use with
-     * Cloud Domains. You can continue to use the domain in
-     * [Google Domains](https://domains.google/) until it expires.
-     * If the export is successful:
-     * * The resource's `state` becomes `EXPORTED`, meaning that it is no longer
-     * managed by Cloud Domains
-     * * Because individual users can own domains in Google Domains, the calling
-     * user becomes the domain's sole owner. Permissions for the domain are
-     * subsequently managed in Google Domains.
-     * * Without further action, the domain does not renew automatically.
-     * The new owner can set up billing in Google Domains to renew the domain
-     * if needed.
-     * 
- */ - 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 only works on resources in one of the following states:
-     * * `state` is `EXPORTED` with `expire_time` in the past
-     * * `state` is `REGISTRATION_FAILED`
-     * 
- */ - 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_LIST_REGISTRATIONS = 3; - private static final int METHODID_GET_REGISTRATION = 4; - private static final int METHODID_UPDATE_REGISTRATION = 5; - private static final int METHODID_CONFIGURE_MANAGEMENT_SETTINGS = 6; - private static final int METHODID_CONFIGURE_DNS_SETTINGS = 7; - private static final int METHODID_CONFIGURE_CONTACT_SETTINGS = 8; - private static final int METHODID_EXPORT_REGISTRATION = 9; - private static final int METHODID_DELETE_REGISTRATION = 10; - private static final int METHODID_RETRIEVE_AUTHORIZATION_CODE = 11; - private static final int METHODID_RESET_AUTHORIZATION_CODE = 12; - - 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_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(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/v1alpha2/DomainsClient.java b/owl-bot-staging/v1alpha2/google-cloud-domains/src/main/java/com/google/cloud/domains/v1alpha2/DomainsClient.java similarity index 95% 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 dbf1476d..f8a855b5 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 @@ -16,7 +16,6 @@ package com.google.cloud.domains.v1alpha2; -import com.google.api.core.ApiFunction; import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; import com.google.api.core.BetaApi; @@ -63,13 +62,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. *
* @@ -829,9 +828,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: @@ -866,9 +865,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: @@ -898,9 +897,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: @@ -930,9 +929,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: @@ -1450,13 +1449,13 @@ public final OperationFuture configureContactSe *

If the export is successful: * *

    - *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud + *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud * Domains - *
  • Because individual users can own domains in Google Domains, the calling user becomes the + *
  • Because individual users can own domains in Google Domains, the calling user becomes the * domain's sole owner. Permissions for the domain are subsequently managed in Google * Domains. - *
  • Without further action, the domain does not renew automatically. The new owner can set up - * billing in Google Domains to renew the domain if needed. + *
  • Without further action, the domain does not renew automatically. The new owner can set + * up billing in Google Domains to renew the domain if needed. *
* *

Sample code: @@ -1489,13 +1488,13 @@ public final OperationFuture exportRegistration *

If the export is successful: * *

    - *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud + *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud * Domains - *
  • Because individual users can own domains in Google Domains, the calling user becomes the + *
  • Because individual users can own domains in Google Domains, the calling user becomes the * domain's sole owner. Permissions for the domain are subsequently managed in Google * Domains. - *
  • Without further action, the domain does not renew automatically. The new owner can set up - * billing in Google Domains to renew the domain if needed. + *
  • Without further action, the domain does not renew automatically. The new owner can set + * up billing in Google Domains to renew the domain if needed. *
* *

Sample code: @@ -1526,13 +1525,13 @@ public final OperationFuture exportRegistration *

If the export is successful: * *

    - *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud + *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud * Domains - *
  • Because individual users can own domains in Google Domains, the calling user becomes the + *
  • Because individual users can own domains in Google Domains, the calling user becomes the * domain's sole owner. Permissions for the domain are subsequently managed in Google * Domains. - *
  • Without further action, the domain does not renew automatically. The new owner can set up - * billing in Google Domains to renew the domain if needed. + *
  • Without further action, the domain does not renew automatically. The new owner can set + * up billing in Google Domains to renew the domain if needed. *
* *

Sample code: @@ -1563,13 +1562,13 @@ public final OperationFuture exportRegistration *

If the export is successful: * *

    - *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud + *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud * Domains - *
  • Because individual users can own domains in Google Domains, the calling user becomes the + *
  • Because individual users can own domains in Google Domains, the calling user becomes the * domain's sole owner. Permissions for the domain are subsequently managed in Google * Domains. - *
  • Without further action, the domain does not renew automatically. The new owner can set up - * billing in Google Domains to renew the domain if needed. + *
  • Without further action, the domain does not renew automatically. The new owner can set + * up billing in Google Domains to renew the domain if needed. *
* *

Sample code: @@ -1600,13 +1599,13 @@ public final OperationFuture exportRegistration *

If the export is successful: * *

    - *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud + *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud * Domains - *
  • Because individual users can own domains in Google Domains, the calling user becomes the + *
  • Because individual users can own domains in Google Domains, the calling user becomes the * domain's sole owner. Permissions for the domain are subsequently managed in Google * Domains. - *
  • Without further action, the domain does not renew automatically. The new owner can set up - * billing in Google Domains to renew the domain if needed. + *
  • Without further action, the domain does not renew automatically. The new owner can set + * up billing in Google Domains to renew the domain if needed. *
* *

Sample code: @@ -1634,8 +1633,8 @@ public final UnaryCallable exportRegistrat *

This method only works on resources in one of the following states: * *

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

Sample code: @@ -1667,8 +1666,8 @@ public final OperationFuture deleteRegistrationAsync( *

This method only works on resources in one of the following states: * *

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

Sample code: @@ -1697,8 +1696,8 @@ public final OperationFuture deleteRegistrationAsync(S *

This method only works on resources in one of the following states: * *

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

Sample code: @@ -1728,8 +1727,8 @@ public final OperationFuture deleteRegistrationAsync( *

This method only works on resources in one of the following states: * *

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

Sample code: @@ -1759,8 +1758,8 @@ public final OperationFuture deleteRegistrationAsync( *

This method only works on resources in one of the following states: * *

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

Sample code: @@ -2040,10 +2039,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( @@ -2053,12 +2049,7 @@ public static ApiFuture createAsync( ListRegistrationsPage.createEmptyPage().createPageAsync(context, futureResponse); return ApiFutures.transform( futurePage, - new ApiFunction() { - @Override - public ListRegistrationsPagedResponse apply(ListRegistrationsPage input) { - return new ListRegistrationsPagedResponse(input); - } - }, + input -> new ListRegistrationsPagedResponse(input), MoreExecutors.directExecutor()); } @@ -2069,9 +2060,7 @@ private ListRegistrationsPagedResponse(ListRegistrationsPage page) { public static class ListRegistrationsPage extends AbstractPage< - ListRegistrationsRequest, - ListRegistrationsResponse, - Registration, + ListRegistrationsRequest, ListRegistrationsResponse, Registration, ListRegistrationsPage> { private ListRegistrationsPage( @@ -2101,10 +2090,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 ad434f6d..59667d66 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 @@ -28,6 +28,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; @@ -44,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 @@ -270,14 +271,13 @@ public DomainsStubSettings.Builder getStubSettingsBuilder() { return ((DomainsStubSettings.Builder) getStubSettings()); } - // NEXT_MAJOR_VER: remove 'throws Exception'. /** * Applies the given settings updater function to all of the unary API methods in this service. * *

Note: This method does not support applying settings to streaming methods. */ public Builder applyToAllUnaryMethods( - ApiFunction, Void> settingsUpdater) throws Exception { + ApiFunction, Void> settingsUpdater) { super.applyToAllUnaryMethods( getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); return this; 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 0c21290b..94820174 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 @@ -81,9 +81,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 @@ -196,8 +196,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( @@ -846,14 +845,13 @@ private static Builder initDefaults(Builder builder) { return builder; } - // NEXT_MAJOR_VER: remove 'throws Exception'. /** * Applies the given settings updater function to all of the unary API methods in this service. * *

Note: This method does not support applying settings to streaming methods. */ public Builder applyToAllUnaryMethods( - ApiFunction, Void> settingsUpdater) throws Exception { + ApiFunction, Void> settingsUpdater) { super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); return this; } 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 83% 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 e40526dd..57c392e2 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 @@ -25,7 +25,6 @@ import com.google.api.gax.grpc.GrpcStubCallableFactory; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; -import com.google.api.gax.rpc.RequestParamsExtractor; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.domains.v1alpha2.AuthorizationCode; import com.google.cloud.domains.v1alpha2.ConfigureContactSettingsRequest; @@ -282,13 +281,10 @@ protected GrpcDomainsStub( GrpcCallSettings.newBuilder() .setMethodDescriptor(searchDomainsMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(SearchDomainsRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("location", String.valueOf(request.getLocation())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("location", String.valueOf(request.getLocation())); + return params.build(); }) .build(); GrpcCallSettings @@ -297,27 +293,20 @@ public Map extract(SearchDomainsRequest request) { .newBuilder() .setMethodDescriptor(retrieveRegisterParametersMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract( - RetrieveRegisterParametersRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("location", String.valueOf(request.getLocation())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("location", String.valueOf(request.getLocation())); + return params.build(); }) .build(); GrpcCallSettings registerDomainTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(registerDomainMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(RegisterDomainRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); }) .build(); GrpcCallSettings @@ -325,40 +314,31 @@ public Map extract(RegisterDomainRequest request) { GrpcCallSettings.newBuilder() .setMethodDescriptor(listRegistrationsMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(ListRegistrationsRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); }) .build(); GrpcCallSettings getRegistrationTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(getRegistrationMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(GetRegistrationRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); }) .build(); GrpcCallSettings updateRegistrationTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(updateRegistrationMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(UpdateRegistrationRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put( - "registration.name", String.valueOf(request.getRegistration().getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put( + "registration.name", String.valueOf(request.getRegistration().getName())); + return params.build(); }) .build(); GrpcCallSettings @@ -366,27 +346,20 @@ public Map extract(UpdateRegistrationRequest request) { GrpcCallSettings.newBuilder() .setMethodDescriptor(configureManagementSettingsMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract( - ConfigureManagementSettingsRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("registration", String.valueOf(request.getRegistration())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("registration", String.valueOf(request.getRegistration())); + return params.build(); }) .build(); GrpcCallSettings configureDnsSettingsTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(configureDnsSettingsMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(ConfigureDnsSettingsRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("registration", String.valueOf(request.getRegistration())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("registration", String.valueOf(request.getRegistration())); + return params.build(); }) .build(); GrpcCallSettings @@ -394,39 +367,30 @@ public Map extract(ConfigureDnsSettingsRequest request) { GrpcCallSettings.newBuilder() .setMethodDescriptor(configureContactSettingsMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(ConfigureContactSettingsRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("registration", String.valueOf(request.getRegistration())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("registration", String.valueOf(request.getRegistration())); + return params.build(); }) .build(); GrpcCallSettings exportRegistrationTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(exportRegistrationMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(ExportRegistrationRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); }) .build(); GrpcCallSettings deleteRegistrationTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(deleteRegistrationMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(DeleteRegistrationRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); }) .build(); GrpcCallSettings @@ -434,13 +398,10 @@ public Map extract(DeleteRegistrationRequest request) { GrpcCallSettings.newBuilder() .setMethodDescriptor(retrieveAuthorizationCodeMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(RetrieveAuthorizationCodeRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("registration", String.valueOf(request.getRegistration())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("registration", String.valueOf(request.getRegistration())); + return params.build(); }) .build(); GrpcCallSettings @@ -448,13 +409,10 @@ public Map extract(RetrieveAuthorizationCodeRequest request) { GrpcCallSettings.newBuilder() .setMethodDescriptor(resetAuthorizationCodeMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(ResetAuthorizationCodeRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("registration", String.valueOf(request.getRegistration())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("registration", String.valueOf(request.getRegistration())); + return params.build(); }) .build(); @@ -694,7 +652,13 @@ public UnaryCallable deleteRegistrationCal @Override public final void close() { - shutdown(); + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } } @Override 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..fd0e4559 --- /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,1486 @@ +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") +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 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); + } + + /** + *
+     * 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` that you no longer want to use with
+     * Cloud Domains. You can continue to use the domain in
+     * [Google Domains](https://domains.google/) until it expires.
+     * If the export is successful:
+     * * The resource's `state` becomes `EXPORTED`, meaning that it is no longer
+     * managed by Cloud Domains
+     * * Because individual users can own domains in Google Domains, the calling
+     * user becomes the domain's sole owner. Permissions for the domain are
+     * subsequently managed in Google Domains.
+     * * Without further action, the domain does not renew automatically.
+     * The new owner can set up billing in Google Domains to renew the domain
+     * if needed.
+     * 
+ */ + 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 only works on resources in one of the following states:
+     * * `state` is `EXPORTED` with `expire_time` in the past
+     * * `state` is `REGISTRATION_FAILED`
+     * 
+ */ + 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( + 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); + } + + /** + *
+     * 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` that you no longer want to use with
+     * Cloud Domains. You can continue to use the domain in
+     * [Google Domains](https://domains.google/) until it expires.
+     * If the export is successful:
+     * * The resource's `state` becomes `EXPORTED`, meaning that it is no longer
+     * managed by Cloud Domains
+     * * Because individual users can own domains in Google Domains, the calling
+     * user becomes the domain's sole owner. Permissions for the domain are
+     * subsequently managed in Google Domains.
+     * * Without further action, the domain does not renew automatically.
+     * The new owner can set up billing in Google Domains to renew the domain
+     * if needed.
+     * 
+ */ + 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 only works on resources in one of the following states:
+     * * `state` is `EXPORTED` with `expire_time` in the past
+     * * `state` is `REGISTRATION_FAILED`
+     * 
+ */ + 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); + } + + /** + *
+     * 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` that you no longer want to use with
+     * Cloud Domains. You can continue to use the domain in
+     * [Google Domains](https://domains.google/) until it expires.
+     * If the export is successful:
+     * * The resource's `state` becomes `EXPORTED`, meaning that it is no longer
+     * managed by Cloud Domains
+     * * Because individual users can own domains in Google Domains, the calling
+     * user becomes the domain's sole owner. Permissions for the domain are
+     * subsequently managed in Google Domains.
+     * * Without further action, the domain does not renew automatically.
+     * The new owner can set up billing in Google Domains to renew the domain
+     * if needed.
+     * 
+ */ + 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 only works on resources in one of the following states:
+     * * `state` is `EXPORTED` with `expire_time` in the past
+     * * `state` is `REGISTRATION_FAILED`
+     * 
+ */ + 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); + } + + /** + *
+     * 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` that you no longer want to use with
+     * Cloud Domains. You can continue to use the domain in
+     * [Google Domains](https://domains.google/) until it expires.
+     * If the export is successful:
+     * * The resource's `state` becomes `EXPORTED`, meaning that it is no longer
+     * managed by Cloud Domains
+     * * Because individual users can own domains in Google Domains, the calling
+     * user becomes the domain's sole owner. Permissions for the domain are
+     * subsequently managed in Google Domains.
+     * * Without further action, the domain does not renew automatically.
+     * The new owner can set up billing in Google Domains to renew the domain
+     * if needed.
+     * 
+ */ + 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 only works on resources in one of the following states:
+     * * `state` is `EXPORTED` with `expire_time` in the past
+     * * `state` is `REGISTRATION_FAILED`
+     * 
+ */ + 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_LIST_REGISTRATIONS = 3; + private static final int METHODID_GET_REGISTRATION = 4; + private static final int METHODID_UPDATE_REGISTRATION = 5; + private static final int METHODID_CONFIGURE_MANAGEMENT_SETTINGS = 6; + private static final int METHODID_CONFIGURE_DNS_SETTINGS = 7; + private static final int METHODID_CONFIGURE_CONTACT_SETTINGS = 8; + private static final int METHODID_EXPORT_REGISTRATION = 9; + private static final int METHODID_DELETE_REGISTRATION = 10; + private static final int METHODID_RETRIEVE_AUTHORIZATION_CODE = 11; + private static final int METHODID_RESET_AUTHORIZATION_CODE = 12; + + 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_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(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 54ed15f6..d1c9a4a7 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,59 +53,53 @@ 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) { throw e.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 @@ -131,30 +108,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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getCodeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, code_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -227,126 +204,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() @@ -354,15 +322,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(); @@ -372,9 +341,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 @@ -393,8 +362,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; @@ -404,39 +372,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; @@ -444,8 +411,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(); @@ -469,8 +435,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) { @@ -482,21 +447,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 +468,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 +490,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 +557,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(); } @@ -616,16 +571,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; @@ -640,4 +595,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 ca64b5b2..1f328bc2 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,88 +55,80 @@ 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) { throw e.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_); @@ -163,36 +137,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 @@ -201,32 +167,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 { @@ -237,14 +201,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 @@ -252,25 +213,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.
    * 
@@ -285,17 +239,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` would be `"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 @@ -303,17 +253,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` would be `"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 @@ -321,16 +267,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` would be `"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() { @@ -340,47 +283,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
    * required 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
    * required 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 @@ -388,15 +320,12 @@ public int getContactNoticesCount() { return contactNotices_.size(); } /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * required 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. */ @@ -405,31 +334,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
    * required 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
    * required 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. */ @@ -437,20 +361,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 @@ -459,7 +379,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -471,7 +390,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (!getRegistrationBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); @@ -505,26 +425,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; @@ -534,25 +456,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; } @@ -579,152 +504,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(); @@ -750,14 +665,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(); } @@ -772,8 +686,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) { @@ -800,50 +713,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(); @@ -886,9 +795,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) { @@ -897,28 +804,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; @@ -927,24 +829,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 { @@ -952,70 +851,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; @@ -1023,47 +909,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.
      * 
@@ -1084,8 +957,6 @@ public Builder setContactSettings(com.google.cloud.domains.v1alpha2.ContactSetti return this; } /** - * - * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1104,8 +975,6 @@ public Builder setContactSettings( return this; } /** - * - * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1116,9 +985,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; } @@ -1130,8 +997,6 @@ public Builder mergeContactSettings(com.google.cloud.domains.v1alpha2.ContactSet return this; } /** - * - * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1150,8 +1015,6 @@ public Builder clearContactSettings() { return this; } /** - * - * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1159,32 +1022,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.
      * 
@@ -1192,17 +1049,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_; @@ -1210,61 +1064,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` would be `"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` would be `"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` would be `"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) { @@ -1280,18 +1118,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` would be `"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(); @@ -1302,22 +1138,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` would be `"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; } @@ -1329,16 +1162,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` would be `"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) { @@ -1352,74 +1182,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` would be `"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` would be `"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` would be `"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_); @@ -1427,47 +1244,37 @@ private void ensureContactNoticesIsMutable() { } } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * required 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
      * required 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
      * required 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. */ @@ -1475,15 +1282,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
      * required 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. @@ -1499,15 +1303,12 @@ public Builder setContactNotices( return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * required 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. */ @@ -1521,15 +1322,12 @@ public Builder addContactNotices(com.google.cloud.domains.v1alpha2.ContactNotice return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * required 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. */ @@ -1543,15 +1341,12 @@ public Builder addAllContactNotices( return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * required 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() { @@ -1561,30 +1356,25 @@ public Builder clearContactNotices() { return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * required 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
      * required 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. */ @@ -1592,35 +1382,30 @@ public int getContactNoticesValue(int index) { return contactNotices_.get(index); } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * required 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
      * required 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. */ @@ -1631,19 +1416,17 @@ public Builder addContactNoticesValue(int value) { return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * required 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); @@ -1652,16 +1435,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 @@ -1669,43 +1449,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); } @@ -1715,32 +1489,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; @@ -1752,8 +1524,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 9f930bec..fee43d18 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` would be `"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` would be `"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` would be `"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
    * required 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
    * required 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
    * required 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
    * required 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
    * required 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 6e33c916..eb580749 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,97 +53,84 @@ 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) { throw e.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 @@ -169,32 +139,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 { @@ -205,14 +173,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 @@ -220,25 +185,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.
    * 
@@ -253,8 +211,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
@@ -266,9 +222,7 @@ public com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder getDnsSettingsOrBu
    * `update_mask` would be `"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 @@ -276,8 +230,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
@@ -289,9 +241,7 @@ public boolean hasUpdateMask() {
    * `update_mask` would be `"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 @@ -299,8 +249,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
@@ -312,8 +260,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * `update_mask` would be `"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() { @@ -323,14 +270,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 @@ -339,7 +283,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -351,7 +294,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getRegistrationBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -377,13 +321,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; @@ -393,24 +340,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; } @@ -433,134 +383,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() @@ -568,15 +509,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(); @@ -600,14 +542,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(); } @@ -622,8 +563,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_; @@ -644,39 +584,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; @@ -684,9 +623,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(); @@ -719,9 +656,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) { @@ -733,23 +668,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; @@ -758,24 +689,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 { @@ -783,70 +711,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; @@ -854,47 +769,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.
      * 
@@ -915,8 +817,6 @@ public Builder setDnsSettings(com.google.cloud.domains.v1alpha2.DnsSettings valu return this; } /** - * - * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -935,8 +835,6 @@ public Builder setDnsSettings( return this; } /** - * - * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -947,9 +845,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; } @@ -961,8 +857,6 @@ public Builder mergeDnsSettings(com.google.cloud.domains.v1alpha2.DnsSettings va return this; } /** - * - * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -981,8 +875,6 @@ public Builder clearDnsSettings() { return this; } /** - * - * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -990,13 +882,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.
      * 
@@ -1007,14 +897,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.
      * 
@@ -1022,17 +909,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_; @@ -1040,13 +924,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
@@ -1058,17 +937,13 @@ public com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder getDnsSettingsOrBu
      * `update_mask` would be `"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
@@ -1080,23 +955,17 @@ public boolean hasUpdateMask() {
      * `update_mask` would be `"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
@@ -1108,8 +977,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * `update_mask` would be `"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) { @@ -1125,8 +993,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
@@ -1138,10 +1004,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * `update_mask` would be `"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(); @@ -1152,8 +1018,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
@@ -1165,14 +1029,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * `update_mask` would be `"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; } @@ -1184,8 +1047,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
@@ -1197,8 +1058,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * `update_mask` would be `"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) { @@ -1212,8 +1072,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
@@ -1225,17 +1083,14 @@ public Builder clearUpdateMask() {
      * `update_mask` would be `"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
@@ -1247,21 +1102,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * `update_mask` would be `"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
@@ -1273,36 +1124,29 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * `update_mask` would be `"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 @@ -1310,43 +1154,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); } @@ -1356,13 +1194,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(); } @@ -1371,16 +1208,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; @@ -1395,4 +1232,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 df2d9423..67800a61 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` would be `"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` would be `"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` would be `"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 131a834b..11bf5414 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,93 +53,79 @@ 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) { throw e.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 @@ -166,32 +134,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 { @@ -202,14 +168,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 @@ -217,25 +180,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.
    * 
@@ -243,25 +199,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`
    * would be `"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 +220,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`
    * would be `"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 +234,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`
    * would be `"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 +248,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -316,7 +259,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getRegistrationBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -339,10 +283,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 +298,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; @@ -396,145 +344,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(); @@ -556,16 +493,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 @@ -579,8 +514,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_; @@ -600,51 +534,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(); @@ -674,9 +603,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) { @@ -688,23 +615,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; @@ -713,24 +636,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 { @@ -738,70 +658,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; @@ -809,55 +716,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(); @@ -871,8 +764,6 @@ public Builder setManagementSettings( return this; } /** - * - * *
      * Fields of the `ManagementSettings` to update.
      * 
@@ -891,22 +782,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; } @@ -918,8 +804,6 @@ public Builder mergeManagementSettings( return this; } /** - * - * *
      * Fields of the `ManagementSettings` to update.
      * 
@@ -938,42 +822,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.
      * 
@@ -981,17 +856,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_; @@ -999,61 +871,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`
      * would be `"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`
      * would be `"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`
      * would be `"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) { @@ -1069,18 +925,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`
      * would be `"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(); @@ -1091,22 +945,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`
      * would be `"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; } @@ -1118,16 +969,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`
      * would be `"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) { @@ -1141,74 +989,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`
      * would be `"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`
      * would be `"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`
      * would be `"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); } @@ -1218,32 +1053,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; @@ -1255,8 +1088,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 29983a91..458959e5 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`
    * would be `"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`
    * would be `"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`
    * would be `"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 65%
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 228cfecf..1fdca9fb 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,242 +56,194 @@ 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) {
       throw e.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_ = ""; @@ -317,15 +252,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) @@ -344,89 +280,77 @@ 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) { throw e.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 @@ -434,34 +358,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() { @@ -471,14 +384,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 @@ -487,29 +397,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 { @@ -520,15 +430,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 @@ -537,30 +444,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 { @@ -571,15 +478,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 @@ -588,30 +492,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 { @@ -620,7 +524,6 @@ public com.google.protobuf.ByteString getFaxNumberBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -632,7 +535,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (postalAddress_ != null) { output.writeMessage(1, getPostalAddress()); } @@ -655,7 +559,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 (!getEmailBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, email_); @@ -674,21 +579,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; } @@ -716,94 +624,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 @@ -813,32 +714,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() @@ -846,15 +742,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(); @@ -874,9 +771,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 @@ -895,8 +792,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 { @@ -913,41 +809,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; @@ -955,8 +848,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()); } @@ -991,8 +883,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) { @@ -1004,58 +895,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) { @@ -1071,17 +943,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(); @@ -1092,23 +961,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; } @@ -1120,15 +983,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) { @@ -1142,64 +1001,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_; @@ -1207,20 +1050,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; @@ -1229,21 +1070,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 { @@ -1251,61 +1091,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; @@ -1313,21 +1146,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; @@ -1336,22 +1167,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 { @@ -1359,64 +1189,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; @@ -1424,21 +1247,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; @@ -1447,22 +1268,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 { @@ -1470,69 +1290,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) { @@ -1545,12 +1357,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(); } @@ -1559,16 +1371,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; @@ -1583,53 +1395,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,
@@ -1639,10 +1437,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 @@ -1650,8 +1445,6 @@ public boolean hasRegistrantContact() { return registrantContact_ != null; } /** - * - * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -1661,21 +1454,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,
@@ -1685,29 +1471,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 @@ -1715,54 +1493,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 @@ -1770,43 +1531,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; @@ -1818,10 +1566,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) { @@ -1842,19 +1589,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; @@ -1864,26 +1613,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; @@ -1916,103 +1667,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
@@ -2022,23 +1766,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()
@@ -2046,15 +1788,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();
@@ -2082,9 +1825,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
@@ -2103,8 +1846,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_;
@@ -2129,39 +1871,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;
@@ -2169,8 +1910,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());
       }
@@ -2202,8 +1942,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) {
@@ -2215,75 +1954,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. */ @@ -2291,26 +2006,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; @@ -2318,13 +2028,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,
@@ -2334,18 +2039,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,
@@ -2355,24 +2055,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,
@@ -2382,12 +2075,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(); @@ -2401,8 +2091,6 @@ public Builder setRegistrantContact( return this; } /** - * - * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2412,9 +2100,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) { @@ -2428,8 +2114,6 @@ public Builder setRegistrantContact( return this; } /** - * - * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2439,19 +2123,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; } @@ -2463,8 +2141,6 @@ public Builder mergeRegistrantContact( return this; } /** - * - * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2474,9 +2150,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) { @@ -2490,8 +2164,6 @@ public Builder clearRegistrantContact() { return this; } /** - * - * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2501,19 +2173,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,
@@ -2523,23 +2190,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,
@@ -2549,22 +2210,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_; @@ -2572,61 +2228,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(); @@ -2640,15 +2276,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) { @@ -2662,24 +2294,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; } @@ -2691,15 +2316,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) { @@ -2713,66 +2334,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_; @@ -2780,61 +2383,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(); @@ -2848,15 +2431,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) { @@ -2870,25 +2449,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; } @@ -2900,15 +2471,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) { @@ -2922,73 +2489,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); } @@ -2998,12 +2547,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(); } @@ -3012,16 +2561,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; @@ -3036,4 +2585,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 1f258e5a..006bc21d 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 9b029187..328d9f47 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,61 +53,53 @@ 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) { throw e.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 @@ -133,32 +108,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -231,127 +204,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() @@ -359,15 +322,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(); @@ -377,9 +341,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 @@ -398,8 +362,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; @@ -409,39 +372,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; @@ -449,8 +411,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(); @@ -474,8 +435,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) { @@ -487,23 +447,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; @@ -512,24 +468,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 { @@ -537,77 +490,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); } @@ -617,12 +557,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(); } @@ -631,16 +571,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; @@ -655,4 +595,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 74% 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 c4f9649a..7bb8db6b 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,74 +55,57 @@ 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) {
       throw e.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_);
@@ -148,35 +114,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.
      * 
@@ -185,8 +145,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.
@@ -196,8 +154,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
@@ -212,8 +168,6 @@ public enum DsState implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * DS state is unspecified.
      * 
@@ -222,8 +176,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.
@@ -233,8 +185,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
@@ -246,6 +196,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(
@@ -270,49 +221,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;
@@ -329,14 +280,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
@@ -344,13 +292,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
@@ -358,13 +304,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
@@ -372,14 +315,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
@@ -387,15 +327,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
@@ -404,10 +342,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
@@ -418,8 +355,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
@@ -430,8 +365,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
@@ -440,11 +373,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
@@ -457,24 +388,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(); @@ -482,15 +410,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) @@ -510,43 +439,38 @@ 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) { throw e.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(); @@ -558,27 +482,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
@@ -586,15 +505,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
@@ -602,15 +519,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
@@ -618,7 +532,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. */ @@ -626,8 +539,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
@@ -635,19 +546,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
@@ -657,13 +566,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
@@ -673,13 +579,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
@@ -693,8 +597,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
@@ -708,8 +610,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
@@ -725,7 +625,6 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder getDsReco
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -737,7 +636,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    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));
       }
@@ -762,7 +662,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;
@@ -772,16 +673,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;
     }
@@ -807,94 +709,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
@@ -904,32 +799,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() @@ -937,17 +827,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(); @@ -963,9 +853,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 @@ -984,8 +874,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(); @@ -1009,41 +898,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; @@ -1051,8 +937,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_; @@ -1081,10 +966,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_); } @@ -1109,8 +993,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) { @@ -1119,21 +1002,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
@@ -1141,15 +1019,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
@@ -1157,15 +1033,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
@@ -1173,7 +1046,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. */ @@ -1181,8 +1053,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
@@ -1190,16 +1060,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
@@ -1207,23 +1075,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
@@ -1231,22 +1097,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
@@ -1254,19 +1118,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
@@ -1274,7 +1137,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() { @@ -1284,8 +1146,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
@@ -1293,15 +1153,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(); @@ -1309,26 +1169,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
@@ -1337,8 +1189,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 {
@@ -1346,8 +1197,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
@@ -1364,8 +1213,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
@@ -1382,8 +1229,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
@@ -1407,8 +1252,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
@@ -1418,8 +1261,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());
@@ -1430,8 +1272,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
@@ -1454,8 +1294,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
@@ -1479,8 +1317,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
@@ -1501,8 +1337,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
@@ -1512,8 +1346,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());
@@ -1524,8 +1357,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
@@ -1535,11 +1366,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);
@@ -1547,8 +1378,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
@@ -1568,8 +1397,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
@@ -1589,8 +1416,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
@@ -1604,8 +1429,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
@@ -1617,14 +1440,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
@@ -1633,9 +1453,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 {
@@ -1643,8 +1462,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
@@ -1654,13 +1471,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
@@ -1671,13 +1485,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
@@ -1686,28 +1497,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) {
@@ -1720,12 +1527,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();
     }
@@ -1734,16 +1541,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;
@@ -1758,16 +1565,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
@@ -1776,13 +1581,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
@@ -1791,13 +1594,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
@@ -1806,14 +1606,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
@@ -1822,119 +1619,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
@@ -1944,16 +1710,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;
@@ -1962,15 +1727,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)
@@ -1990,50 +1756,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;
-                }
-                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) {
         throw e.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();
@@ -2045,27 +1805,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
@@ -2074,15 +1829,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
@@ -2091,15 +1844,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
@@ -2108,7 +1858,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. */ @@ -2116,8 +1865,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
@@ -2126,142 +1873,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( @@ -2270,7 +1981,6 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder getDsReco } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2282,13 +1992,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++) { @@ -2311,13 +2020,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; @@ -2327,17 +2036,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; } @@ -2365,94 +2075,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 @@ -2462,8 +2165,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
@@ -2473,24 +2174,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()
@@ -2498,17 +2196,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();
@@ -2526,14 +2224,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();
       }
 
@@ -2548,8 +2245,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();
@@ -2574,52 +2270,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_;
@@ -2651,10 +2341,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_);
             }
@@ -2679,9 +2368,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) {
@@ -2690,21 +2377,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
@@ -2713,15 +2395,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
@@ -2730,15 +2410,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
@@ -2747,7 +2424,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. */ @@ -2755,8 +2431,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
@@ -2765,16 +2439,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
@@ -2783,23 +2455,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
@@ -2808,22 +2478,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
@@ -2832,19 +2500,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
@@ -2853,7 +2520,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() { @@ -2863,8 +2529,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
@@ -2873,15 +2537,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(); @@ -2890,79 +2554,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. */ @@ -2970,65 +2610,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 { @@ -3036,17 +2660,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) { @@ -3056,17 +2676,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) { @@ -3076,17 +2692,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) { @@ -3103,21 +2715,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()); @@ -3128,17 +2735,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) { @@ -3154,17 +2757,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) { @@ -3181,17 +2780,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) { @@ -3205,21 +2800,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()); @@ -3230,24 +2820,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); @@ -3255,17 +2841,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) { @@ -3278,17 +2860,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) { @@ -3301,59 +2879,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 { @@ -3361,77 +2925,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) { @@ -3444,32 +2990,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; @@ -3481,108 +3025,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
@@ -3591,16 +3112,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;
@@ -3609,15 +3129,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)
@@ -3636,69 +3157,62 @@ 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) {
         throw e.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.
@@ -3706,10 +3220,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.
        * 
@@ -3718,8 +3231,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ ALGORITHM_UNSPECIFIED(0), /** - * - * *
        * DSA/SHA1. Not recommended for new deployments.
        * 
@@ -3728,8 +3239,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ DSA(3), /** - * - * *
        * ECC. Not recommended for new deployments.
        * 
@@ -3738,8 +3247,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ ECC(4), /** - * - * *
        * RSA/SHA-1. Not recommended for new deployments.
        * 
@@ -3748,8 +3255,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ RSASHA1(5), /** - * - * *
        * DSA-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3758,8 +3263,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ DSANSEC3SHA1(6), /** - * - * *
        * RSA/SHA1-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3768,8 +3271,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ RSASHA1NSEC3SHA1(7), /** - * - * *
        * RSA/SHA-256.
        * 
@@ -3778,8 +3279,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ RSASHA256(8), /** - * - * *
        * RSA/SHA-512.
        * 
@@ -3788,8 +3287,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ RSASHA512(10), /** - * - * *
        * GOST R 34.10-2001.
        * 
@@ -3798,8 +3295,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ ECCGOST(12), /** - * - * *
        * ECDSA Curve P-256 with SHA-256.
        * 
@@ -3808,8 +3303,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ ECDSAP256SHA256(13), /** - * - * *
        * ECDSA Curve P-384 with SHA-384.
        * 
@@ -3818,8 +3311,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ ECDSAP384SHA384(14), /** - * - * *
        * Ed25519.
        * 
@@ -3828,8 +3319,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ ED25519(15), /** - * - * *
        * Ed448.
        * 
@@ -3841,8 +3330,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * The algorithm is unspecified.
        * 
@@ -3851,8 +3338,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ALGORITHM_UNSPECIFIED_VALUE = 0; /** - * - * *
        * DSA/SHA1. Not recommended for new deployments.
        * 
@@ -3861,8 +3346,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DSA_VALUE = 3; /** - * - * *
        * ECC. Not recommended for new deployments.
        * 
@@ -3871,8 +3354,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ECC_VALUE = 4; /** - * - * *
        * RSA/SHA-1. Not recommended for new deployments.
        * 
@@ -3881,8 +3362,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RSASHA1_VALUE = 5; /** - * - * *
        * DSA-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3891,8 +3370,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.
        * 
@@ -3901,8 +3378,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RSASHA1NSEC3SHA1_VALUE = 7; /** - * - * *
        * RSA/SHA-256.
        * 
@@ -3911,8 +3386,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RSASHA256_VALUE = 8; /** - * - * *
        * RSA/SHA-512.
        * 
@@ -3921,8 +3394,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RSASHA512_VALUE = 10; /** - * - * *
        * GOST R 34.10-2001.
        * 
@@ -3931,8 +3402,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ECCGOST_VALUE = 12; /** - * - * *
        * ECDSA Curve P-256 with SHA-256.
        * 
@@ -3941,8 +3410,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ECDSAP256SHA256_VALUE = 13; /** - * - * *
        * ECDSA Curve P-384 with SHA-384.
        * 
@@ -3951,8 +3418,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ECDSAP384SHA384_VALUE = 14; /** - * - * *
        * Ed25519.
        * 
@@ -3961,8 +3426,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ED25519_VALUE = 15; /** - * - * *
        * Ed448.
        * 
@@ -3971,6 +3434,7 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ED448_VALUE = 16; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -3995,71 +3459,59 @@ public static Algorithm valueOf(int value) { */ public static Algorithm forNumber(int value) { switch (value) { - case 0: - return ALGORITHM_UNSPECIFIED; - 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; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + case 0: return ALGORITHM_UNSPECIFIED; + 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; + 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; @@ -4077,8 +3529,6 @@ private Algorithm(int value) { } /** - * - * *
      * List of hash functions that may have been used to generate a digest of a
      * DNSKEY.
@@ -4086,10 +3536,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.
        * 
@@ -4098,8 +3547,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ DIGEST_TYPE_UNSPECIFIED(0), /** - * - * *
        * SHA-1. Not recommended for new deployments.
        * 
@@ -4108,8 +3555,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ SHA1(1), /** - * - * *
        * SHA-256.
        * 
@@ -4118,8 +3563,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ SHA256(2), /** - * - * *
        * GOST R 34.11-94.
        * 
@@ -4128,8 +3571,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ GOST3411(3), /** - * - * *
        * SHA-384.
        * 
@@ -4141,8 +3582,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * The DigestType is unspecified.
        * 
@@ -4151,8 +3590,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.
        * 
@@ -4161,8 +3598,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SHA1_VALUE = 1; /** - * - * *
        * SHA-256.
        * 
@@ -4171,8 +3606,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SHA256_VALUE = 2; /** - * - * *
        * GOST R 34.11-94.
        * 
@@ -4181,8 +3614,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GOST3411_VALUE = 3; /** - * - * *
        * SHA-384.
        * 
@@ -4191,6 +3622,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( @@ -4215,55 +3647,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; @@ -4283,14 +3711,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 @@ -4301,90 +3726,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 @@ -4393,29 +3793,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 { @@ -4424,7 +3824,6 @@ public com.google.protobuf.ByteString getDigestBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4436,19 +3835,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 (!getDigestBytes().isEmpty()) { @@ -4464,18 +3859,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 (!getDigestBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, digest_); @@ -4488,18 +3881,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; } @@ -4525,94 +3919,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 @@ -4622,8 +4009,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
@@ -4632,24 +4017,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()
@@ -4657,15 +4039,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();
@@ -4681,9 +4064,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
@@ -4702,8 +4085,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_;
@@ -4716,41 +4098,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;
@@ -4758,8 +4137,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());
         }
@@ -4792,8 +4170,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) {
@@ -4803,16 +4180,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 @@ -4820,36 +4194,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; @@ -4857,93 +4225,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; @@ -4951,98 +4299,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; @@ -5050,20 +4373,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; @@ -5072,21 +4393,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 { @@ -5094,66 +4414,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) { @@ -5166,12 +4478,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(); } @@ -5180,16 +4492,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; @@ -5204,41 +4516,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
@@ -5246,13 +4551,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
@@ -5260,13 +4563,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
@@ -5274,14 +4574,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
@@ -5289,15 +4586,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
@@ -5305,13 +4600,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
@@ -5319,13 +4612,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
@@ -5333,14 +4623,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
@@ -5348,15 +4635,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
@@ -5368,16 +4653,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;
@@ -5386,15 +4670,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)
@@ -5414,46 +4699,44 @@ 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) {
         throw e.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();
@@ -5465,33 +4748,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 @@ -5500,29 +4777,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 { @@ -5533,8 +4810,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
@@ -5542,15 +4817,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
@@ -5558,15 +4831,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
@@ -5574,7 +4844,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. */ @@ -5582,8 +4851,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
@@ -5591,19 +4858,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
@@ -5611,15 +4876,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
@@ -5627,15 +4890,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
@@ -5643,7 +4903,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. */ @@ -5651,8 +4910,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
@@ -5660,16 +4917,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; @@ -5681,7 +4937,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getHostNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, hostName_); } @@ -5727,17 +4984,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; } @@ -5765,94 +5024,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 @@ -5862,8 +5114,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
@@ -5875,24 +5125,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()
@@ -5900,15 +5147,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();
@@ -5922,9 +5170,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
@@ -5943,8 +5191,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)) {
@@ -5965,41 +5212,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;
@@ -6007,8 +5251,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();
@@ -6052,8 +5295,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) {
@@ -6062,25 +5304,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; @@ -6089,21 +5328,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 { @@ -6111,78 +5349,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
@@ -6190,15 +5417,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
@@ -6206,15 +5431,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
@@ -6222,7 +5444,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. */ @@ -6230,8 +5451,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
@@ -6239,16 +5458,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
@@ -6256,23 +5473,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
@@ -6280,22 +5495,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
@@ -6303,19 +5516,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
@@ -6323,7 +5535,6 @@ public Builder addAllIpv4Addresses(java.lang.Iterable values)
        * 
* * repeated string ipv4_addresses = 2; - * * @return This builder for chaining. */ public Builder clearIpv4Addresses() { @@ -6333,8 +5544,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
@@ -6342,33 +5551,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
@@ -6376,15 +5581,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
@@ -6392,15 +5595,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
@@ -6408,7 +5608,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. */ @@ -6416,8 +5615,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
@@ -6425,16 +5622,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
@@ -6442,23 +5637,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
@@ -6466,22 +5659,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
@@ -6489,19 +5680,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
@@ -6509,7 +5699,6 @@ public Builder addAllIpv6Addresses(java.lang.Iterable values)
        * 
* * repeated string ipv6_addresses = 3; - * * @return This builder for chaining. */ public Builder clearIpv6Addresses() { @@ -6519,8 +5708,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
@@ -6528,21 +5715,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) { @@ -6555,12 +5741,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(); } @@ -6569,16 +5755,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; @@ -6593,20 +5779,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; } @@ -6622,36 +5806,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 @@ -6659,26 +5837,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.
    * 
@@ -6688,23 +5861,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 @@ -6712,41 +5881,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(); } @@ -6754,8 +5915,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.
    * 
@@ -6763,13 +5922,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.
    * 
@@ -6777,13 +5933,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.
    * 
@@ -6795,8 +5949,6 @@ public int getGlueRecordsCount() { return glueRecords_.size(); } /** - * - * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -6808,8 +5960,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.
    * 
@@ -6823,7 +5973,6 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecordOrBuilder getGlue } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6835,14 +5984,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)); @@ -6857,17 +6005,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; @@ -6877,22 +6024,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: @@ -6929,104 +6078,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.
@@ -7034,23 +6176,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()
@@ -7058,17 +6198,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();
@@ -7084,9 +6224,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
@@ -7105,8 +6245,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) {
@@ -7140,39 +6279,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;
@@ -7199,30 +6337,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();
@@ -7252,12 +6386,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() {
@@ -7270,19 +6404,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 @@ -7290,14 +6418,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 @@ -7315,8 +6440,6 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns getCustomDns() { } } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -7337,8 +6460,6 @@ public Builder setCustomDns(com.google.cloud.domains.v1alpha2.DnsSettings.Custom return this; } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -7357,8 +6478,6 @@ public Builder setCustomDns( return this; } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -7367,14 +6486,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; } @@ -7389,8 +6504,6 @@ public Builder mergeCustomDns(com.google.cloud.domains.v1alpha2.DnsSettings.Cust return this; } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -7414,8 +6527,6 @@ public Builder clearCustomDns() { return this; } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -7426,8 +6537,6 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.Builder getCustom return getCustomDnsFieldBuilder().getBuilder(); } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -7435,8 +6544,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 { @@ -7447,8 +6555,6 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.Builder getCustom } } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -7456,47 +6562,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 @@ -7504,16 +6596,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 @@ -7531,18 +6619,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(); @@ -7556,15 +6640,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) { @@ -7578,28 +6659,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; } @@ -7614,15 +6686,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) { @@ -7641,34 +6710,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 { @@ -7679,71 +6740,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 { @@ -7751,8 +6793,6 @@ private void ensureGlueRecordsIsMutable() { } } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7767,8 +6807,6 @@ public int getGlueRecordsCount() { } } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7783,8 +6821,6 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord getGlueRecords(i } } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7806,8 +6842,6 @@ public Builder setGlueRecords( return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7815,8 +6849,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()); @@ -7827,8 +6860,6 @@ public Builder setGlueRecords( return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7849,8 +6880,6 @@ public Builder addGlueRecords(com.google.cloud.domains.v1alpha2.DnsSettings.Glue return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7872,8 +6901,6 @@ public Builder addGlueRecords( return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7892,8 +6919,6 @@ public Builder addGlueRecords( return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7901,8 +6926,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()); @@ -7913,8 +6937,6 @@ public Builder addGlueRecords( return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7922,11 +6944,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); @@ -7934,8 +6956,6 @@ public Builder addAllGlueRecords( return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7953,8 +6973,6 @@ public Builder clearGlueRecords() { return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7972,8 +6990,6 @@ public Builder removeGlueRecords(int index) { return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7985,34 +7001,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 { @@ -8020,23 +7030,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.
      * 
@@ -8045,43 +7049,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); } @@ -8091,12 +7089,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(); } @@ -8105,16 +7103,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; @@ -8129,4 +7127,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..be5c07f2
--- /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,649 @@
+// 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_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_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\"\357\010\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\"z\n\005State\022\025\n\021STATE_" +
+      "UNSPECIFIED\020\000\022\030\n\024REGISTRATION_PENDING\020\001\022" +
+      "\027\n\023REGISTRATION_FAILED\020\002\022\n\n\006ACTIVE\020\006\022\r\n\t" +
+      "SUSPENDED\020\007\022\014\n\010EXPORTED\020\010\"I\n\005Issue\022\025\n\021IS" +
+      "SUE_UNSPECIFIED\020\000\022\023\n\017CONTACT_SUPPORT\020\001\022\024" +
+      "\n\020UNVERIFIED_EMAIL\020\002:n\352Ak\n#domains.googl" +
+      "eapis.com/Registration\022Dprojects/{projec" +
+      "t}/locations/{location}/registrations/{r" +
+      "egistration}\"\235\002\n\022ManagementSettings\022\\\n\016r" +
+      "enewal_method\030\003 \001(\0162?.google.cloud.domai" +
+      "ns.v1alpha2.ManagementSettings.RenewalMe" +
+      "thodB\003\340A\003\022M\n\023transfer_lock_state\030\004 \001(\01620" +
+      ".google.cloud.domains.v1alpha2.TransferL" +
+      "ockState\"Z\n\rRenewalMethod\022\036\n\032RENEWAL_MET" +
+      "HOD_UNSPECIFIED\020\000\022\025\n\021AUTOMATIC_RENEWAL\020\001" +
+      "\022\022\n\016MANUAL_RENEWAL\020\002\"\211\n\n\013DnsSettings\022J\n\n" +
+      "custom_dns\030\001 \001(\01324.google.cloud.domains." +
+      "v1alpha2.DnsSettings.CustomDnsH\000\022Y\n\022goog" +
+      "le_domains_dns\030\002 \001(\0132;.google.cloud.doma" +
+      "ins.v1alpha2.DnsSettings.GoogleDomainsDn" +
+      "sH\000\022K\n\014glue_records\030\004 \003(\01325.google.cloud" +
+      ".domains.v1alpha2.DnsSettings.GlueRecord" +
+      "\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.doma" +
+      "ins.v1alpha2.DnsSettings.DsRecord\032\306\001\n\020Go" +
+      "ogleDomainsDns\022\031\n\014name_servers\030\001 \003(\tB\003\340A" +
+      "\003\022I\n\010ds_state\030\002 \001(\01622.google.cloud.domai" +
+      "ns.v1alpha2.DnsSettings.DsStateB\003\340A\002\022L\n\n" +
+      "ds_records\030\003 \003(\01323.google.cloud.domains." +
+      "v1alpha2.DnsSettings.DsRecordB\003\340A\003\032\212\004\n\010D" +
+      "sRecord\022\017\n\007key_tag\030\001 \001(\005\022P\n\talgorithm\030\002 " +
+      "\001(\0162=.google.cloud.domains.v1alpha2.DnsS" +
+      "ettings.DsRecord.Algorithm\022S\n\013digest_typ" +
+      "e\030\003 \001(\0162>.google.cloud.domains.v1alpha2." +
+      "DnsSettings.DsRecord.DigestType\022\016\n\006diges" +
+      "t\030\004 \001(\t\"\332\001\n\tAlgorithm\022\031\n\025ALGORITHM_UNSPE" +
+      "CIFIED\020\000\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\017ECDSAP256SHA256\020\r\022\023\n\017ECDSAP384SHA3" +
+      "84\020\016\022\013\n\007ED25519\020\017\022\t\n\005ED448\020\020\"Y\n\nDigestTy" +
+      "pe\022\033\n\027DIGEST_TYPE_UNSPECIFIED\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\032" +
+      "T\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\016ipv6_addresses\030" +
+      "\003 \003(\t\"Y\n\007DsState\022\030\n\024DS_STATE_UNSPECIFIED" +
+      "\020\000\022\032\n\026DS_RECORDS_UNPUBLISHED\020\001\022\030\n\024DS_REC" +
+      "ORDS_PUBLISHED\020\002B\016\n\014dns_provider\"\343\003\n\017Con" +
+      "tactSettings\022C\n\007privacy\030\001 \001(\0162-.google.c" +
+      "loud.domains.v1alpha2.ContactPrivacyB\003\340A" +
+      "\002\022W\n\022registrant_contact\030\002 \001(\01326.google.c" +
+      "loud.domains.v1alpha2.ContactSettings.Co" +
+      "ntactB\003\340A\002\022R\n\radmin_contact\030\003 \001(\01326.goog" +
+      "le.cloud.domains.v1alpha2.ContactSetting" +
+      "s.ContactB\003\340A\002\022V\n\021technical_contact\030\004 \001(" +
+      "\01326.google.cloud.domains.v1alpha2.Contac" +
+      "tSettings.ContactB\003\340A\002\032\205\001\n\007Contact\0227\n\016po" +
+      "stal_address\030\001 \001(\0132\032.google.type.PostalA" +
+      "ddressB\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\024SearchDomainsRequest\022\022\n\005query\030\001 \001(\tB\003\340" +
+      "A\002\022;\n\010location\030\002 \001(\tB)\340A\002\372A#\n!locations." +
+      "googleapis.com/Location\"g\n\025SearchDomains" +
+      "Response\022N\n\023register_parameters\030\001 \003(\01321." +
+      "google.cloud.domains.v1alpha2.RegisterPa" +
+      "rameters\"z\n!RetrieveRegisterParametersRe" +
+      "quest\022\030\n\013domain_name\030\001 \001(\tB\003\340A\002\022;\n\010locat" +
+      "ion\030\002 \001(\tB)\340A\002\372A#\n!locations.googleapis." +
+      "com/Location\"t\n\"RetrieveRegisterParamete" +
+      "rsResponse\022N\n\023register_parameters\030\001 \001(\0132" +
+      "1.google.cloud.domains.v1alpha2.Register" +
+      "Parameters\"\354\002\n\025RegisterDomainRequest\0229\n\006" +
+      "parent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleap" +
+      "is.com/Location\022F\n\014registration\030\002 \001(\0132+." +
+      "google.cloud.domains.v1alpha2.Registrati" +
+      "onB\003\340A\002\022C\n\016domain_notices\030\003 \003(\0162+.google" +
+      ".cloud.domains.v1alpha2.DomainNotice\022E\n\017" +
+      "contact_notices\030\004 \003(\0162,.google.cloud.dom" +
+      "ains.v1alpha2.ContactNotice\022-\n\014yearly_pr" +
+      "ice\030\005 \001(\0132\022.google.type.MoneyB\003\340A\002\022\025\n\rva" +
+      "lidate_only\030\006 \001(\010\"\214\001\n\030ListRegistrationsR" +
+      "equest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!location" +
+      "s.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" +
+      "\"x\n\031ListRegistrationsResponse\022B\n\rregistr" +
+      "ations\030\001 \003(\0132+.google.cloud.domains.v1al" +
+      "pha2.Registration\022\027\n\017next_page_token\030\002 \001" +
+      "(\t\"S\n\026GetRegistrationRequest\0229\n\004name\030\001 \001" +
+      "(\tB+\340A\002\372A%\n#domains.googleapis.com/Regis" +
+      "tration\"\224\001\n\031UpdateRegistrationRequest\022A\n" +
+      "\014registration\030\001 \001(\0132+.google.cloud.domai" +
+      "ns.v1alpha2.Registration\0224\n\013update_mask\030" +
+      "\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\355" +
+      "\001\n\"ConfigureManagementSettingsRequest\022A\n" +
+      "\014registration\030\001 \001(\tB+\340A\002\372A%\n#domains.goo" +
+      "gleapis.com/Registration\022N\n\023management_s" +
+      "ettings\030\002 \001(\01321.google.cloud.domains.v1a" +
+      "lpha2.ManagementSettings\0224\n\013update_mask\030" +
+      "\003 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\357" +
+      "\001\n\033ConfigureDnsSettingsRequest\022A\n\014regist" +
+      "ration\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapis" +
+      ".com/Registration\022@\n\014dns_settings\030\002 \001(\0132" +
+      "*.google.cloud.domains.v1alpha2.DnsSetti" +
+      "ngs\0224\n\013update_mask\030\003 \001(\0132\032.google.protob" +
+      "uf.FieldMaskB\003\340A\002\022\025\n\rvalidate_only\030\004 \001(\010" +
+      "\"\302\002\n\037ConfigureContactSettingsRequest\022A\n\014" +
+      "registration\030\001 \001(\tB+\340A\002\372A%\n#domains.goog" +
+      "leapis.com/Registration\022H\n\020contact_setti" +
+      "ngs\030\002 \001(\0132..google.cloud.domains.v1alpha" +
+      "2.ContactSettings\0224\n\013update_mask\030\003 \001(\0132\032" +
+      ".google.protobuf.FieldMaskB\003\340A\002\022E\n\017conta" +
+      "ct_notices\030\004 \003(\0162,.google.cloud.domains." +
+      "v1alpha2.ContactNotice\022\025\n\rvalidate_only\030" +
+      "\005 \001(\010\"V\n\031ExportRegistrationRequest\0229\n\004na" +
+      "me\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapis.com" +
+      "/Registration\"V\n\031DeleteRegistrationReque" +
+      "st\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#domains.google" +
+      "apis.com/Registration\"e\n RetrieveAuthori" +
+      "zationCodeRequest\022A\n\014registration\030\001 \001(\tB" +
+      "+\340A\002\372A%\n#domains.googleapis.com/Registra" +
+      "tion\"b\n\035ResetAuthorizationCodeRequest\022A\n" +
+      "\014registration\030\001 \001(\tB+\340A\002\372A%\n#domains.goo" +
+      "gleapis.com/Registration\"\244\003\n\022RegisterPar" +
+      "ameters\022\023\n\013domain_name\030\001 \001(\t\022T\n\014availabi" +
+      "lity\030\002 \001(\0162>.google.cloud.domains.v1alph" +
+      "a2.RegisterParameters.Availability\022H\n\021su" +
+      "pported_privacy\030\003 \003(\0162-.google.cloud.dom" +
+      "ains.v1alpha2.ContactPrivacy\022C\n\016domain_n" +
+      "otices\030\004 \003(\0162+.google.cloud.domains.v1al" +
+      "pha2.DomainNotice\022(\n\014yearly_price\030\005 \001(\0132" +
+      "\022.google.type.Money\"j\n\014Availability\022\034\n\030A" +
+      "VAILABILITY_UNSPECIFIED\020\000\022\r\n\tAVAILABLE\020\001" +
+      "\022\017\n\013UNAVAILABLE\020\002\022\017\n\013UNSUPPORTED\020\003\022\013\n\007UN" +
+      "KNOWN\020\004\"!\n\021AuthorizationCode\022\014\n\004code\030\001 \001" +
+      "(\t\"\274\001\n\021OperationMetadata\022/\n\013create_time\030" +
+      "\001 \001(\0132\032.google.protobuf.Timestamp\022,\n\010end" +
+      "_time\030\002 \001(\0132\032.google.protobuf.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_version\030\006 \001(\t*\177\n\016Con" +
+      "tactPrivacy\022\037\n\033CONTACT_PRIVACY_UNSPECIFI" +
+      "ED\020\000\022\027\n\023PUBLIC_CONTACT_DATA\020\001\022\030\n\024PRIVATE" +
+      "_CONTACT_DATA\020\002\022\031\n\025REDACTED_CONTACT_DATA" +
+      "\020\003*A\n\014DomainNotice\022\035\n\031DOMAIN_NOTICE_UNSP" +
+      "ECIFIED\020\000\022\022\n\016HSTS_PRELOADED\020\001*X\n\rContact" +
+      "Notice\022\036\n\032CONTACT_NOTICE_UNSPECIFIED\020\000\022\'" +
+      "\n#PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT\020\001*" +
+      "R\n\021TransferLockState\022#\n\037TRANSFER_LOCK_ST" +
+      "ATE_UNSPECIFIED\020\000\022\014\n\010UNLOCKED\020\001\022\n\n\006LOCKE" +
+      "D\020\0022\306\032\n\007Domains\022\334\001\n\rSearchDomains\0223.goog" +
+      "le.cloud.domains.v1alpha2.SearchDomainsR" +
+      "equest\0324.google.cloud.domains.v1alpha2.S" +
+      "earchDomainsResponse\"`\202\323\344\223\002I\022G/v1alpha2/" +
+      "{location=projects/*/locations/*}/regist" +
+      "rations:searchDomains\332A\016location,query\022\226" +
+      "\002\n\032RetrieveRegisterParameters\022@.google.c" +
+      "loud.domains.v1alpha2.RetrieveRegisterPa" +
+      "rametersRequest\032A.google.cloud.domains.v" +
+      "1alpha2.RetrieveRegisterParametersRespon" +
+      "se\"s\202\323\344\223\002V\022T/v1alpha2/{location=projects" +
+      "/*/locations/*}/registrations:retrieveRe" +
+      "gisterParameters\332A\024location,domain_name\022" +
+      "\372\001\n\016RegisterDomain\0224.google.cloud.domain" +
+      "s.v1alpha2.RegisterDomainRequest\032\035.googl" +
+      "e.longrunning.Operation\"\222\001\202\323\344\223\002E\"@/v1alp" +
+      "ha2/{parent=projects/*/locations/*}/regi" +
+      "strations:register:\001*\332A parent,registrat" +
+      "ion,yearly_price\312A!\n\014Registration\022\021Opera" +
+      "tionMetadata\022\320\001\n\021ListRegistrations\0227.goo" +
+      "gle.cloud.domains.v1alpha2.ListRegistrat" +
+      "ionsRequest\0328.google.cloud.domains.v1alp" +
+      "ha2.ListRegistrationsResponse\"H\202\323\344\223\0029\0227/" +
+      "v1alpha2/{parent=projects/*/locations/*}" +
+      "/registrations\332A\006parent\022\275\001\n\017GetRegistrat" +
+      "ion\0225.google.cloud.domains.v1alpha2.GetR" +
+      "egistrationRequest\032+.google.cloud.domain" +
+      "s.v1alpha2.Registration\"F\202\323\344\223\0029\0227/v1alph" +
+      "a2/{name=projects/*/locations/*/registra" +
+      "tions/*}\332A\004name\022\211\002\n\022UpdateRegistration\0228" +
+      ".google.cloud.domains.v1alpha2.UpdateReg" +
+      "istrationRequest\032\035.google.longrunning.Op" +
+      "eration\"\231\001\202\323\344\223\002T2D/v1alpha2/{registratio" +
+      "n.name=projects/*/locations/*/registrati" +
+      "ons/*}:\014registration\332A\030registration,upda" +
+      "te_mask\312A!\n\014Registration\022\021OperationMetad" +
+      "ata\022\273\002\n\033ConfigureManagementSettings\022A.go" +
+      "ogle.cloud.domains.v1alpha2.ConfigureMan" +
+      "agementSettingsRequest\032\035.google.longrunn" +
+      "ing.Operation\"\271\001\202\323\344\223\002`\"[/v1alpha2/{regis" +
+      "tration=projects/*/locations/*/registrat" +
+      "ions/*}:configureManagementSettings:\001*\332A" +
+      ",registration,management_settings,update" +
+      "_mask\312A!\n\014Registration\022\021OperationMetadat" +
+      "a\022\237\002\n\024ConfigureDnsSettings\022:.google.clou" +
+      "d.domains.v1alpha2.ConfigureDnsSettingsR" +
+      "equest\032\035.google.longrunning.Operation\"\253\001" +
+      "\202\323\344\223\002Y\"T/v1alpha2/{registration=projects" +
+      "/*/locations/*/registrations/*}:configur" +
+      "eDnsSettings:\001*\332A%registration,dns_setti" +
+      "ngs,update_mask\312A!\n\014Registration\022\021Operat" +
+      "ionMetadata\022\257\002\n\030ConfigureContactSettings" +
+      "\022>.google.cloud.domains.v1alpha2.Configu" +
+      "reContactSettingsRequest\032\035.google.longru" +
+      "nning.Operation\"\263\001\202\323\344\223\002]\"X/v1alpha2/{reg" +
+      "istration=projects/*/locations/*/registr" +
+      "ations/*}:configureContactSettings:\001*\332A)" +
+      "registration,contact_settings,update_mas" +
+      "k\312A!\n\014Registration\022\021OperationMetadata\022\343\001" +
+      "\n\022ExportRegistration\0228.google.cloud.doma" +
+      "ins.v1alpha2.ExportRegistrationRequest\032\035" +
+      ".google.longrunning.Operation\"t\202\323\344\223\002C\">/" +
+      "v1alpha2/{name=projects/*/locations/*/re" +
+      "gistrations/*}:export:\001*\332A\004name\312A!\n\014Regi" +
+      "stration\022\021OperationMetadata\022\342\001\n\022DeleteRe" +
+      "gistration\0228.google.cloud.domains.v1alph" +
+      "a2.DeleteRegistrationRequest\032\035.google.lo" +
+      "ngrunning.Operation\"s\202\323\344\223\0029*7/v1alpha2/{" +
+      "name=projects/*/locations/*/registration" +
+      "s/*}\332A\004name\312A*\n\025google.protobuf.Empty\022\021O" +
+      "perationMetadata\022\200\002\n\031RetrieveAuthorizati" +
+      "onCode\022?.google.cloud.domains.v1alpha2.R" +
+      "etrieveAuthorizationCodeRequest\0320.google" +
+      ".cloud.domains.v1alpha2.AuthorizationCod" +
+      "e\"p\202\323\344\223\002[\022Y/v1alpha2/{registration=proje" +
+      "cts/*/locations/*/registrations/*}:retri" +
+      "eveAuthorizationCode\332A\014registration\022\372\001\n\026" +
+      "ResetAuthorizationCode\022<.google.cloud.do" +
+      "mains.v1alpha2.ResetAuthorizationCodeReq" +
+      "uest\0320.google.cloud.domains.v1alpha2.Aut" +
+      "horizationCode\"p\202\323\344\223\002[\"V/v1alpha2/{regis" +
+      "tration=projects/*/locations/*/registrat" +
+      "ions/*}:resetAuthorizationCode:\001*\332A\014regi" +
+      "stration\032J\312A\026domains.googleapis.com\322A.ht" +
+      "tps://www.googleapis.com/auth/cloud-plat" +
+      "formBy\n!com.google.cloud.domains.v1alpha" +
+      "2B\014DomainsProtoP\001ZDgoogle.golang.org/gen" +
+      "proto/googleapis/cloud/domains/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_ListRegistrationsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(9);
+    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(10);
+    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(11);
+    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(12);
+    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(13);
+    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(14);
+    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(15);
+    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(16);
+    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(17);
+    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(18);
+    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(19);
+    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(20);
+    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_AuthorizationCode_descriptor =
+      getDescriptor().getMessageTypes().get(21);
+    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(22);
+    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 a379108d..9de9b49d 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,61 +53,53 @@ 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) { throw e.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 @@ -133,32 +108,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -231,127 +204,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() @@ -359,15 +322,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(); @@ -377,9 +341,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 @@ -398,8 +362,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; @@ -409,39 +372,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; @@ -449,8 +411,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(); @@ -474,8 +435,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) { @@ -487,23 +447,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; @@ -512,24 +468,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 { @@ -537,77 +490,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); } @@ -617,12 +557,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(); } @@ -631,16 +571,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; @@ -655,4 +595,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 e3226522..adaf3661 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,61 +53,53 @@ 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) { throw e.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 @@ -133,32 +108,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -231,127 +204,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() @@ -359,15 +322,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(); @@ -377,9 +341,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 @@ -398,8 +362,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; @@ -409,39 +372,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; @@ -449,8 +411,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(); @@ -474,8 +435,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) { @@ -487,23 +447,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; @@ -512,24 +468,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 { @@ -537,77 +490,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); } @@ -617,12 +557,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(); } @@ -631,16 +571,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; @@ -655,4 +595,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 44b68903..ff79339e 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,80 +55,70 @@ 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) { throw e.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 @@ -154,32 +127,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 { @@ -190,14 +161,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 @@ -208,15 +176,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 @@ -225,30 +190,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 { @@ -259,8 +224,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
@@ -278,7 +241,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -287,15 +249,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
@@ -313,15 +274,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 { @@ -330,7 +292,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -342,7 +303,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -368,7 +330,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 (!getPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -384,18 +347,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; } @@ -421,127 +387,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() @@ -549,15 +505,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(); @@ -573,9 +530,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 @@ -594,8 +551,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_; @@ -608,39 +564,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; @@ -648,8 +603,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(); @@ -684,8 +638,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) { @@ -697,23 +650,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; @@ -722,24 +671,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 { @@ -747,85 +693,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 @@ -833,36 +763,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; @@ -870,21 +794,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; @@ -893,22 +815,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 { @@ -916,64 +837,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; @@ -981,8 +895,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
@@ -1000,13 +912,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; @@ -1015,8 +927,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
@@ -1034,14 +944,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1049,8 +960,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
@@ -1068,22 +977,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
@@ -1101,18 +1008,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
@@ -1130,23 +1034,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); } @@ -1156,12 +1060,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(); } @@ -1170,16 +1074,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; @@ -1194,4 +1098,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 e9865d79..cd8a9b87 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,38 +55,35 @@ 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) { throw e.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_); @@ -112,27 +92,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.
    * 
@@ -144,8 +119,6 @@ public java.util.List getRegistr return registrations_; } /** - * - * *
    * A list of `Registration`s.
    * 
@@ -153,13 +126,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.
    * 
@@ -171,8 +142,6 @@ public int getRegistrationsCount() { return registrations_.size(); } /** - * - * *
    * A list of `Registration`s.
    * 
@@ -184,8 +153,6 @@ public com.google.cloud.domains.v1alpha2.Registration getRegistrations(int index return registrations_.get(index); } /** - * - * *
    * A list of `Registration`s.
    * 
@@ -201,15 +168,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 @@ -218,30 +182,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 { @@ -250,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < registrations_.size(); i++) { output.writeMessage(1, registrations_.get(i)); } @@ -279,7 +243,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 (!getNextPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -292,16 +257,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -325,127 +291,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() @@ -453,17 +409,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(); @@ -479,9 +435,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 @@ -500,8 +456,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)) { @@ -521,39 +476,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; @@ -561,8 +515,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()) { @@ -581,10 +534,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_); } @@ -613,8 +565,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) { @@ -623,29 +574,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.
      * 
@@ -660,8 +603,6 @@ public java.util.List getRegistr } } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -676,8 +617,6 @@ public int getRegistrationsCount() { } } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -692,8 +631,6 @@ public com.google.cloud.domains.v1alpha2.Registration getRegistrations(int index } } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -715,8 +652,6 @@ public Builder setRegistrations( return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -735,8 +670,6 @@ public Builder setRegistrations( return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -757,8 +690,6 @@ public Builder addRegistrations(com.google.cloud.domains.v1alpha2.Registration v return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -780,8 +711,6 @@ public Builder addRegistrations( return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -800,8 +729,6 @@ public Builder addRegistrations( return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -820,8 +747,6 @@ public Builder addRegistrations( return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -832,7 +757,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); @@ -840,8 +766,6 @@ public Builder addAllRegistrations( return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -859,8 +783,6 @@ public Builder clearRegistrations() { return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -878,8 +800,6 @@ public Builder removeRegistrations(int index) { return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -891,8 +811,6 @@ public com.google.cloud.domains.v1alpha2.Registration.Builder getRegistrationsBu return getRegistrationsFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -902,22 +820,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 { @@ -925,8 +840,6 @@ public com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationsO } } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -934,12 +847,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.
      * 
@@ -948,34 +859,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(), @@ -987,21 +890,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; @@ -1010,22 +911,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 { @@ -1033,71 +933,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); } @@ -1107,12 +1000,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(); } @@ -1121,16 +1014,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; @@ -1145,4 +1038,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 968ce86a..5ea95195 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,67 +54,60 @@ 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) { throw e.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.
      * 
@@ -140,8 +116,6 @@ public enum RenewalMethod implements com.google.protobuf.ProtocolMessageEnum { */ RENEWAL_METHOD_UNSPECIFIED(0), /** - * - * *
      * The domain is automatically renewed each year .
      * To disable automatic renewals, export the domain by calling
@@ -152,8 +126,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`
@@ -169,8 +141,6 @@ public enum RenewalMethod implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The renewal method is undefined.
      * 
@@ -179,8 +149,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, export the domain by calling
@@ -191,8 +159,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`
@@ -205,6 +171,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(
@@ -229,51 +196,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;
@@ -293,85 +258,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; @@ -383,16 +321,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); @@ -404,16 +338,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; @@ -423,13 +354,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; @@ -454,126 +384,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() @@ -581,15 +502,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(); @@ -601,9 +523,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 @@ -622,8 +544,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(); @@ -634,39 +555,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; @@ -674,8 +594,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()); } @@ -701,8 +620,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) { @@ -714,104 +632,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; @@ -819,67 +706,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. */ @@ -887,31 +758,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); } @@ -921,12 +789,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(); } @@ -935,16 +803,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; @@ -959,4 +827,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 4511549f..41f28ba0 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,109 +56,96 @@ 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) { throw e.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 @@ -183,14 +153,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 @@ -198,8 +165,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time the operation was created.
    * 
@@ -214,14 +179,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 @@ -229,14 +191,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 @@ -244,8 +203,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time the operation finished running.
    * 
@@ -260,14 +217,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 @@ -276,29 +230,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 { @@ -309,14 +263,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 @@ -325,29 +276,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 { @@ -358,14 +309,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 @@ -374,29 +322,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 { @@ -407,14 +355,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 @@ -423,29 +368,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 { @@ -454,7 +399,6 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -466,7 +410,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -495,10 +440,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 (!getTargetBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); @@ -520,26 +467,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; } @@ -573,126 +525,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() @@ -700,15 +643,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(); @@ -736,9 +680,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 @@ -757,8 +701,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 { @@ -781,39 +724,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; @@ -821,8 +763,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()); } @@ -864,8 +805,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) { @@ -877,47 +817,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 +865,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 +883,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -969,7 +893,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 +905,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -1001,8 +923,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -1010,13 +930,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 +945,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 +957,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 +972,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 +1000,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1119,15 +1020,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 +1038,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1150,7 +1048,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 +1060,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1182,8 +1078,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1191,13 +1085,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 +1100,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 +1112,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 +1127,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 +1147,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 +1168,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 +1223,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 +1243,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 +1264,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 +1319,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 +1339,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 +1360,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 +1415,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 +1435,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 +1456,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 +1520,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(); } @@ -1686,16 +1534,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; @@ -1710,4 +1558,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 52a18468..3d26618e 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,111 +56,103 @@ 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) { throw e.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_); @@ -189,36 +164,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 @@ -227,32 +194,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 { @@ -263,16 +228,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 @@ -280,34 +240,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() { @@ -317,47 +266,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 @@ -365,15 +303,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. */ @@ -382,31 +317,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. */ @@ -414,28 +344,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
    * required here depend on the values specified in
@@ -443,18 +366,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
    * required here depend on the values specified in
@@ -462,7 +381,6 @@ public java.util.List getContac
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @return The count of contactNotices. */ @java.lang.Override @@ -470,8 +388,6 @@ public int getContactNoticesCount() { return contactNotices_.size(); } /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * required here depend on the values specified in
@@ -479,7 +395,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. */ @@ -488,8 +403,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
    * required here depend on the values specified in
@@ -497,16 +410,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
    * required here depend on the values specified in
@@ -514,7 +425,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. */ @@ -522,14 +432,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
@@ -537,7 +444,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 @@ -545,8 +451,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
@@ -554,7 +458,6 @@ public boolean hasYearlyPrice() {
    * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The yearlyPrice. */ @java.lang.Override @@ -562,8 +465,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
@@ -580,8 +481,6 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
   public static final int VALIDATE_ONLY_FIELD_NUMBER = 6;
   private boolean validateOnly_;
   /**
-   *
-   *
    * 
    * When true, only validation will be performed, without actually registering
    * the domain. Follows:
@@ -589,7 +488,6 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
    * 
* * bool validate_only = 6; - * * @return The validateOnly. */ @java.lang.Override @@ -598,7 +496,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -610,7 +507,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); @@ -651,39 +549,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; @@ -693,26 +592,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; } @@ -743,134 +645,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() @@ -878,15 +771,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(); @@ -914,9 +808,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 @@ -935,8 +829,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) { @@ -968,39 +861,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; @@ -1008,8 +900,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(); @@ -1062,8 +953,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) { @@ -1072,28 +962,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; @@ -1102,24 +987,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 { @@ -1127,70 +1009,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; @@ -1198,58 +1067,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) { @@ -1265,15 +1115,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) { @@ -1287,23 +1133,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; } @@ -1315,15 +1155,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) { @@ -1337,71 +1173,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_); @@ -1409,47 +1229,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. */ @@ -1457,15 +1267,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. @@ -1481,15 +1288,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. */ @@ -1503,15 +1307,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. */ @@ -1525,15 +1326,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() { @@ -1543,30 +1341,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. */ @@ -1574,35 +1367,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. */ @@ -1613,19 +1401,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); @@ -1634,8 +1420,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 +1429,6 @@ private void ensureContactNoticesIsMutable() { } } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * required here depend on the values specified in
@@ -1652,17 +1436,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
      * required here depend on the values specified in
@@ -1670,15 +1450,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
      * required here depend on the values specified in
@@ -1686,7 +1463,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. */ @@ -1694,8 +1470,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
      * required here depend on the values specified in
@@ -1703,7 +1477,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. @@ -1719,8 +1492,6 @@ public Builder setContactNotices( return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * required here depend on the values specified in
@@ -1728,7 +1499,6 @@ public Builder setContactNotices(
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @param value The contactNotices to add. * @return This builder for chaining. */ @@ -1742,8 +1512,6 @@ public Builder addContactNotices(com.google.cloud.domains.v1alpha2.ContactNotice return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * required here depend on the values specified in
@@ -1751,7 +1519,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. */ @@ -1765,8 +1532,6 @@ public Builder addAllContactNotices( return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * required here depend on the values specified in
@@ -1774,7 +1539,6 @@ public Builder addAllContactNotices(
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; - * * @return This builder for chaining. */ public Builder clearContactNotices() { @@ -1784,8 +1548,6 @@ public Builder clearContactNotices() { return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * required here depend on the values specified in
@@ -1793,15 +1555,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
      * required here depend on the values specified in
@@ -1809,7 +1569,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. */ @@ -1817,8 +1576,6 @@ public int getContactNoticesValue(int index) { return contactNotices_.get(index); } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * required here depend on the values specified in
@@ -1826,20 +1583,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
      * required here depend on the values specified in
@@ -1847,7 +1602,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. */ @@ -1858,8 +1612,6 @@ public Builder addContactNoticesValue(int value) { return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * required here depend on the values specified in
@@ -1867,11 +1619,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); @@ -1882,11 +1634,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
@@ -1894,15 +1643,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
@@ -1910,7 +1656,6 @@ public boolean hasYearlyPrice() {
      * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The yearlyPrice. */ public com.google.type.Money getYearlyPrice() { @@ -1921,8 +1666,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
@@ -1945,8 +1688,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
@@ -1955,7 +1696,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();
@@ -1966,8 +1708,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
@@ -1980,7 +1720,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;
         }
@@ -1992,8 +1732,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
@@ -2014,8 +1752,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
@@ -2025,13 +1761,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
@@ -2044,12 +1778,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
@@ -2059,24 +1792,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 will be performed, without actually registering
      * the domain. Follows:
@@ -2084,7 +1814,6 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
      * 
* * bool validate_only = 6; - * * @return The validateOnly. */ @java.lang.Override @@ -2092,8 +1821,6 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * When true, only validation will be performed, without actually registering
      * the domain. Follows:
@@ -2101,19 +1828,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 will be performed, without actually registering
      * the domain. Follows:
@@ -2121,18 +1845,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); } @@ -2142,12 +1865,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(); } @@ -2156,16 +1879,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; @@ -2180,4 +1903,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 a1690f34..b7673132 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
    * required 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
    * required 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
    * required 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
    * required 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
    * required 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 will be 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 7726a2fe..83f7085a 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,97 +57,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; + 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) { throw e.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_); @@ -176,35 +153,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.
      * 
@@ -213,8 +184,6 @@ public enum Availability implements com.google.protobuf.ProtocolMessageEnum { */ AVAILABILITY_UNSPECIFIED(0), /** - * - * *
      * The domain is available for registration.
      * 
@@ -223,8 +192,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.
@@ -234,8 +201,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.
@@ -245,8 +210,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.
@@ -259,8 +222,6 @@ public enum Availability implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The availability is unspecified.
      * 
@@ -269,8 +230,6 @@ public enum Availability implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AVAILABILITY_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The domain is available for registration.
      * 
@@ -279,8 +238,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.
@@ -290,8 +247,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.
@@ -301,8 +256,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.
@@ -312,6 +265,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(
@@ -336,55 +290,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;
@@ -404,14 +354,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 +367,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 +400,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 +407,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
@@ -479,63 +420,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 @@ -543,14 +466,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. */ @@ -559,29 +479,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. */ @@ -589,51 +504,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 @@ -641,14 +544,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. */ @@ -657,29 +557,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. */ @@ -687,20 +582,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 +599,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 +611,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 +623,6 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -749,15 +634,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 (!getDomainNameBytes().isEmpty()) { 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) { @@ -789,40 +672,37 @@ public int getSerializedSize() { if (!getDomainNameBytes().isEmpty()) { 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; @@ -832,21 +712,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; @@ -881,126 +762,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() @@ -1008,15 +880,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(); @@ -1038,9 +911,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 @@ -1059,8 +932,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_; @@ -1087,39 +959,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; @@ -1127,8 +998,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(); @@ -1178,8 +1048,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) { @@ -1188,25 +1057,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; @@ -1215,21 +1081,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 { @@ -1237,61 +1102,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; @@ -1299,8 +1157,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
@@ -1308,16 +1164,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
@@ -1325,19 +1177,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
@@ -1345,21 +1194,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
@@ -1367,23 +1210,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
@@ -1391,18 +1230,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_); @@ -1410,45 +1248,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. */ @@ -1456,14 +1283,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. @@ -1479,14 +1303,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. */ @@ -1500,14 +1321,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. */ @@ -1521,14 +1339,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() { @@ -1538,28 +1353,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. */ @@ -1567,33 +1377,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. */ @@ -1604,18 +1409,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); @@ -1624,8 +1427,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_); @@ -1633,44 +1436,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. */ @@ -1678,14 +1471,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. @@ -1701,14 +1491,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. */ @@ -1722,14 +1509,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. */ @@ -1743,14 +1527,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() { @@ -1760,28 +1541,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. */ @@ -1789,33 +1565,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. */ @@ -1826,18 +1597,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); @@ -1848,31 +1617,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() { @@ -1883,8 +1645,6 @@ public com.google.type.Money getYearlyPrice() { } } /** - * - * *
      * Price to register or renew the domain for one year.
      * 
@@ -1905,15 +1665,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(); @@ -1924,8 +1683,6 @@ public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) { return this; } /** - * - * *
      * Price to register or renew the domain for one year.
      * 
@@ -1936,7 +1693,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; } @@ -1948,8 +1705,6 @@ public Builder mergeYearlyPrice(com.google.type.Money value) { return this; } /** - * - * *
      * Price to register or renew the domain for one year.
      * 
@@ -1968,8 +1723,6 @@ public Builder clearYearlyPrice() { return this; } /** - * - * *
      * Price to register or renew the domain for one year.
      * 
@@ -1977,13 +1730,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.
      * 
@@ -1994,12 +1745,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.
      * 
@@ -2007,22 +1757,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); } @@ -2032,12 +1781,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(); } @@ -2046,16 +1795,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; @@ -2070,4 +1819,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 67% 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 f40bb4e8..91664093 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.
@@ -33,16 +16,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_ = "";
@@ -53,15 +35,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)
@@ -81,200 +64,175 @@ 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) {
       throw e.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_);
@@ -286,46 +244,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.
      * 
@@ -334,8 +287,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The domain is being registered.
      * 
@@ -344,8 +295,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.
@@ -355,8 +304,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     REGISTRATION_FAILED(2),
     /**
-     *
-     *
      * 
      * The domain is registered and operational. The domain renews automatically
      * as long as it remains in this state.
@@ -366,8 +313,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     ACTIVE(6),
     /**
-     *
-     *
      * 
      * The domain is suspended and inoperative. For more details, see the
      * `issues` field.
@@ -377,8 +322,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     SUSPENDED(7),
     /**
-     *
-     *
      * 
      * The domain has been exported from Cloud Domains to
      * [Google Domains](https://domains.google/). You can no longer update it
@@ -394,8 +337,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The state is undefined.
      * 
@@ -404,8 +345,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The domain is being registered.
      * 
@@ -414,8 +353,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.
@@ -425,8 +362,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int REGISTRATION_FAILED_VALUE = 2;
     /**
-     *
-     *
      * 
      * The domain is registered and operational. The domain renews automatically
      * as long as it remains in this state.
@@ -436,8 +371,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.
@@ -447,8 +380,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SUSPENDED_VALUE = 7;
     /**
-     *
-     *
      * 
      * The domain has been exported from Cloud Domains to
      * [Google Domains](https://domains.google/). You can no longer update it
@@ -461,6 +392,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(
@@ -485,55 +417,52 @@ 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 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 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;
@@ -551,18 +480,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.
      * 
@@ -571,8 +497,6 @@ public enum Issue implements com.google.protobuf.ProtocolMessageEnum { */ ISSUE_UNSPECIFIED(0), /** - * - * *
      * Contact the Cloud Support team to resolve a problem with this domain.
      * 
@@ -581,8 +505,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
@@ -601,8 +523,6 @@ public enum Issue implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The issue is undefined.
      * 
@@ -611,8 +531,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.
      * 
@@ -621,8 +539,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
@@ -638,6 +554,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(
@@ -662,49 +579,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;
@@ -724,15 +641,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 @@ -741,30 +655,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 { @@ -775,16 +689,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 @@ -793,31 +702,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 { @@ -828,15 +735,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 @@ -844,15 +747,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 @@ -860,14 +759,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() { @@ -877,15 +773,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 @@ -893,15 +785,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 @@ -909,14 +797,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() { @@ -926,92 +811,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 @@ -1019,16 +873,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. */ @@ -1037,33 +886,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. */ @@ -1071,27 +911,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_; } @@ -1100,30 +940,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 java.lang.NullPointerException(); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } 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`.
    * 
@@ -1131,12 +969,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`.
    * 
@@ -1144,16 +981,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 java.lang.NullPointerException(); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Set of labels associated with the `Registration`.
    * 
@@ -1161,11 +998,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 java.lang.NullPointerException(); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1175,8 +1013,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`
@@ -1185,7 +1021,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 @@ -1193,8 +1028,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`
@@ -1203,18 +1036,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`
@@ -1225,16 +1053,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
@@ -1242,7 +1067,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 @@ -1250,8 +1074,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
@@ -1259,18 +1081,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
@@ -1287,18 +1104,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 @@ -1306,38 +1118,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() { @@ -1347,8 +1148,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`
@@ -1359,10 +1158,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 @@ -1370,8 +1166,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`
@@ -1382,21 +1176,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`
@@ -1407,66 +1194,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 @@ -1474,17 +1241,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. */ @@ -1493,35 +1255,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. */ @@ -1529,11 +1282,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; @@ -1545,7 +1296,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); @@ -1559,8 +1311,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) { @@ -1570,8 +1321,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()); } @@ -1607,62 +1362,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; @@ -1672,42 +1431,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; @@ -1768,104 +1535,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.
@@ -1878,43 +1638,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()
@@ -1922,15 +1682,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();
@@ -1985,9 +1746,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
@@ -2006,8 +1767,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_;
@@ -2062,39 +1822,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;
@@ -2130,7 +1889,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());
       }
@@ -2181,26 +1941,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; @@ -2209,22 +1966,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 { @@ -2232,64 +1988,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; @@ -2297,22 +2046,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; @@ -2321,23 +2066,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 { @@ -2345,67 +2087,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; @@ -2413,58 +2142,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) { @@ -2480,17 +2190,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(); @@ -2500,22 +2207,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; } @@ -2527,15 +2230,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) { @@ -2549,64 +2248,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_; @@ -2614,58 +2297,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) { @@ -2681,17 +2345,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(); @@ -2702,21 +2363,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; } @@ -2728,15 +2385,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) { @@ -2750,64 +2403,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_; @@ -2815,75 +2452,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. */ @@ -2891,33 +2504,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_); @@ -2925,50 +2533,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. */ @@ -2976,16 +2568,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. @@ -3001,16 +2588,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. */ @@ -3024,16 +2606,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. */ @@ -3047,16 +2624,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() { @@ -3066,32 +2638,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. */ @@ -3099,37 +2662,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. */ @@ -3140,20 +2694,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); @@ -3162,21 +2712,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(); @@ -3188,30 +2739,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 java.lang.NullPointerException(); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } 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`.
      * 
@@ -3219,12 +2768,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`.
      * 
@@ -3232,17 +2780,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 java.lang.NullPointerException(); - } - java.util.Map map = internalGetLabels().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Set of labels associated with the `Registration`.
      * 
@@ -3250,11 +2797,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 java.lang.NullPointerException(); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -3262,72 +2810,68 @@ 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 java.lang.NullPointerException(); - } - internalGetMutableLabels().getMutableMap().remove(key); + + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + 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 java.lang.NullPointerException(); - } - if (value == null) { - throw new java.lang.NullPointerException(); - } - internalGetMutableLabels().getMutableMap().put(key, value); + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new java.lang.NullPointerException(); } + if (value == null) { throw new java.lang.NullPointerException(); } + 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`
@@ -3336,15 +2880,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`
@@ -3353,21 +2894,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`
@@ -3377,8 +2913,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();
@@ -3392,8 +2927,6 @@ public Builder setManagementSettings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3415,8 +2948,6 @@ public Builder setManagementSettings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3426,14 +2957,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;
         }
@@ -3445,8 +2973,6 @@ public Builder mergeManagementSettings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3468,8 +2994,6 @@ public Builder clearManagementSettings() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3479,15 +3003,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`
@@ -3497,19 +3018,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`
@@ -3520,17 +3037,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_;
@@ -3538,13 +3052,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
@@ -3552,15 +3061,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
@@ -3568,21 +3074,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
@@ -3605,8 +3106,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
@@ -3627,8 +3126,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
@@ -3641,9 +3138,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;
         }
@@ -3655,8 +3150,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
@@ -3677,8 +3170,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
@@ -3688,13 +3179,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
@@ -3707,14 +3196,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
@@ -3724,17 +3210,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_;
@@ -3742,64 +3225,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) { @@ -3815,17 +3279,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) { @@ -3839,25 +3299,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; } @@ -3869,17 +3323,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) { @@ -3893,71 +3343,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_; @@ -3965,13 +3398,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`
@@ -3982,18 +3410,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`
@@ -4004,24 +3427,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`
@@ -4032,12 +3448,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(); @@ -4051,8 +3464,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`
@@ -4063,9 +3474,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) { @@ -4079,8 +3488,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`
@@ -4091,18 +3498,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; } @@ -4114,8 +3516,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`
@@ -4126,9 +3526,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) { @@ -4142,8 +3540,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`
@@ -4154,19 +3550,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`
@@ -4177,23 +3568,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`
@@ -4204,29 +3589,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_); @@ -4234,54 +3614,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. */ @@ -4289,17 +3652,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. @@ -4315,17 +3673,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. */ @@ -4339,17 +3692,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. */ @@ -4363,17 +3711,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() { @@ -4383,34 +3726,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. */ @@ -4418,39 +3752,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. */ @@ -4461,21 +3786,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); @@ -4483,9 +3804,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); } @@ -4495,12 +3816,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(); } @@ -4509,16 +3830,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; @@ -4533,4 +3854,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 f7184368..10c74963 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,52 +180,52 @@ 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`.
    * 
* * map<string, string> labels = 9; */ - java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue); + + java.lang.String getLabelsOrDefault( + java.lang.String key, + 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`
@@ -322,13 +234,10 @@ public interface RegistrationOrBuilder
    * 
* * .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`
@@ -337,13 +246,10 @@ public interface RegistrationOrBuilder
    * 
* * .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`
@@ -356,8 +262,6 @@ public interface RegistrationOrBuilder
   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
@@ -365,13 +269,10 @@ public interface RegistrationOrBuilder
    * 
* * .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
@@ -379,13 +280,10 @@ public interface RegistrationOrBuilder
    * 
* * .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
@@ -397,55 +295,39 @@ public interface RegistrationOrBuilder
   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`
@@ -456,16 +338,11 @@ public interface RegistrationOrBuilder
    * 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`
@@ -476,16 +353,11 @@ public interface RegistrationOrBuilder
    * 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`
@@ -496,85 +368,59 @@ public interface RegistrationOrBuilder
    * 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 f9634995..c482e7f5 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,61 +53,53 @@ 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) { throw e.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 @@ -133,32 +108,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getRegistrationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getRegistrationBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -231,127 +204,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() @@ -359,15 +322,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(); @@ -377,14 +341,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(); } @@ -399,8 +362,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; @@ -410,50 +372,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(); @@ -477,9 +435,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) { @@ -491,23 +447,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; @@ -516,24 +468,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 { @@ -541,77 +490,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); } @@ -621,32 +557,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; @@ -658,8 +592,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 aca2f9d2..0f16f026 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,61 +53,53 @@ 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) { throw e.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 @@ -134,32 +108,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 { @@ -168,7 +140,6 @@ public com.google.protobuf.ByteString getRegistrationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getRegistrationBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -204,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -232,145 +204,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(); @@ -380,16 +341,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 @@ -403,8 +362,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; @@ -414,51 +372,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(); @@ -482,9 +435,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) { @@ -496,23 +447,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 +468,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 +490,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 +557,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; @@ -663,8 +592,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 f6630e79..c84f9cc2 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,65 +54,58 @@ 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) { throw e.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 @@ -139,29 +114,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 { @@ -172,16 +147,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 @@ -190,31 +160,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 { @@ -223,7 +191,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -235,7 +202,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getDomainNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domainName_); } @@ -265,16 +233,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; } @@ -296,145 +265,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(); @@ -446,16 +404,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 @@ -469,8 +425,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(); @@ -481,51 +436,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(); @@ -553,9 +503,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) { @@ -567,20 +515,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; @@ -589,21 +535,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 { @@ -611,61 +556,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; @@ -673,22 +611,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; @@ -697,23 +631,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 { @@ -721,74 +652,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); } @@ -798,32 +716,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; @@ -835,8 +751,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 bdd7612c..feb3b34a 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,68 +52,59 @@ 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) { throw e.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 @@ -138,25 +112,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.
    * 
@@ -164,13 +131,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; @@ -182,7 +147,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (registerParameters_ != null) { output.writeMessage(1, getRegisterParameters()); } @@ -196,7 +162,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 +173,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; @@ -239,145 +206,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(); @@ -391,16 +347,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 @@ -414,8 +368,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 { @@ -429,51 +382,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()); } @@ -496,9 +444,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) { @@ -510,55 +456,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(); @@ -572,8 +504,6 @@ public Builder setRegisterParameters( return this; } /** - * - * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
@@ -592,22 +522,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; } @@ -619,8 +544,6 @@ public Builder mergeRegisterParameters( return this; } /** - * - * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
@@ -639,42 +562,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.
      * 
@@ -682,24 +596,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); } @@ -709,32 +620,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; @@ -746,8 +655,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/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 16f20985..d4f0b728 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,65 +54,58 @@ 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) { throw e.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 @@ -138,29 +114,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 { @@ -171,16 +147,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 @@ -189,31 +160,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 { @@ -222,7 +191,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -234,7 +202,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getQueryBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, query_); } @@ -264,16 +233,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; } @@ -295,127 +265,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() @@ -423,15 +383,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(); @@ -443,9 +404,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 @@ -464,8 +425,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(); @@ -476,39 +436,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; @@ -516,8 +475,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(); @@ -545,8 +503,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) { @@ -558,20 +515,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 +535,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 +556,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 +611,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 +631,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 +652,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 +716,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(); } @@ -803,16 +730,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; @@ -827,4 +754,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 69% 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 e925fea8..7bbbdd57 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,32 +54,29 @@ 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) { throw e.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_); @@ -105,100 +85,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; @@ -210,7 +170,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -224,8 +185,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; @@ -235,15 +196,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; } @@ -265,127 +226,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() @@ -393,17 +344,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(); @@ -417,9 +368,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 @@ -438,8 +389,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)) { @@ -458,39 +408,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; @@ -498,8 +447,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()) { @@ -518,10 +466,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_); } @@ -546,8 +493,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) { @@ -556,39 +502,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 { @@ -596,14 +531,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) { @@ -613,14 +545,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) { @@ -630,14 +559,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) { @@ -654,14 +580,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) { @@ -675,17 +598,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(); @@ -699,14 +618,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) { @@ -723,14 +639,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) { @@ -744,14 +657,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) { @@ -765,20 +675,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); @@ -786,14 +694,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) { @@ -806,14 +711,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) { @@ -826,49 +728,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 { @@ -876,62 +768,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(), @@ -940,9 +815,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); } @@ -952,12 +827,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(); } @@ -966,16 +841,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; @@ -990,4 +865,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/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/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 1b4d54d4..94a1724c 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,82 +52,72 @@ 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) { throw e.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 @@ -151,25 +125,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.
    * 
@@ -184,17 +151,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` would
    * be `"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 @@ -202,17 +165,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` would
    * be `"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 @@ -220,16 +179,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` would
    * be `"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() { @@ -237,7 +193,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,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 (registration_ != null) { output.writeMessage(1, getRegistration()); } @@ -266,10 +222,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; @@ -279,21 +237,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; @@ -320,127 +279,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() @@ -448,15 +397,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(); @@ -476,9 +426,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 @@ -497,8 +447,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 { @@ -517,39 +466,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; @@ -557,8 +505,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()); } @@ -584,8 +531,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) { @@ -597,47 +543,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.
      * 
@@ -658,8 +591,6 @@ public Builder setRegistration(com.google.cloud.domains.v1alpha2.Registration va return this; } /** - * - * *
      * Fields of the `Registration` to update.
      * 
@@ -678,8 +609,6 @@ public Builder setRegistration( return this; } /** - * - * *
      * Fields of the `Registration` to update.
      * 
@@ -690,9 +619,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; } @@ -704,8 +631,6 @@ public Builder mergeRegistration(com.google.cloud.domains.v1alpha2.Registration return this; } /** - * - * *
      * Fields of the `Registration` to update.
      * 
@@ -724,8 +649,6 @@ public Builder clearRegistration() { return this; } /** - * - * *
      * Fields of the `Registration` to update.
      * 
@@ -733,13 +656,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.
      * 
@@ -750,14 +671,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.
      * 
@@ -765,17 +683,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_; @@ -783,61 +698,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` would
      * be `"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` would
      * be `"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` would
      * be `"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) { @@ -853,18 +752,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` would
      * be `"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(); @@ -875,22 +772,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` would
      * be `"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; } @@ -902,16 +796,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` would
      * be `"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) { @@ -925,74 +816,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` would
      * be `"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` would
      * be `"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` would
      * be `"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); } @@ -1002,12 +880,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(); } @@ -1016,16 +894,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; @@ -1040,4 +918,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 cb55c48c..ee491b74 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` would
    * be `"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` would
    * be `"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` would
    * be `"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/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 95% 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 d91b2516..15cc895d 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 @@ -16,7 +16,6 @@ package com.google.cloud.domains.v1beta1; -import com.google.api.core.ApiFunction; import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; import com.google.api.core.BetaApi; @@ -63,13 +62,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. *
* @@ -829,9 +828,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: @@ -866,9 +865,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: @@ -898,9 +897,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: @@ -930,9 +929,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: @@ -1450,13 +1449,13 @@ public final OperationFuture configureContactSe *

If the export is successful: * *

    - *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud + *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud * Domains - *
  • Because individual users can own domains in Google Domains, the calling user becomes the + *
  • Because individual users can own domains in Google Domains, the calling user becomes the * domain's sole owner. Permissions for the domain are subsequently managed in Google * Domains. - *
  • Without further action, the domain does not renew automatically. The new owner can set up - * billing in Google Domains to renew the domain if needed. + *
  • Without further action, the domain does not renew automatically. The new owner can set + * up billing in Google Domains to renew the domain if needed. *
* *

Sample code: @@ -1489,13 +1488,13 @@ public final OperationFuture exportRegistration *

If the export is successful: * *

    - *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud + *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud * Domains - *
  • Because individual users can own domains in Google Domains, the calling user becomes the + *
  • Because individual users can own domains in Google Domains, the calling user becomes the * domain's sole owner. Permissions for the domain are subsequently managed in Google * Domains. - *
  • Without further action, the domain does not renew automatically. The new owner can set up - * billing in Google Domains to renew the domain if needed. + *
  • Without further action, the domain does not renew automatically. The new owner can set + * up billing in Google Domains to renew the domain if needed. *
* *

Sample code: @@ -1526,13 +1525,13 @@ public final OperationFuture exportRegistration *

If the export is successful: * *

    - *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud + *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud * Domains - *
  • Because individual users can own domains in Google Domains, the calling user becomes the + *
  • Because individual users can own domains in Google Domains, the calling user becomes the * domain's sole owner. Permissions for the domain are subsequently managed in Google * Domains. - *
  • Without further action, the domain does not renew automatically. The new owner can set up - * billing in Google Domains to renew the domain if needed. + *
  • Without further action, the domain does not renew automatically. The new owner can set + * up billing in Google Domains to renew the domain if needed. *
* *

Sample code: @@ -1563,13 +1562,13 @@ public final OperationFuture exportRegistration *

If the export is successful: * *

    - *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud + *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud * Domains - *
  • Because individual users can own domains in Google Domains, the calling user becomes the + *
  • Because individual users can own domains in Google Domains, the calling user becomes the * domain's sole owner. Permissions for the domain are subsequently managed in Google * Domains. - *
  • Without further action, the domain does not renew automatically. The new owner can set up - * billing in Google Domains to renew the domain if needed. + *
  • Without further action, the domain does not renew automatically. The new owner can set + * up billing in Google Domains to renew the domain if needed. *
* *

Sample code: @@ -1600,13 +1599,13 @@ public final OperationFuture exportRegistration *

If the export is successful: * *

    - *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud + *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud * Domains - *
  • Because individual users can own domains in Google Domains, the calling user becomes the + *
  • Because individual users can own domains in Google Domains, the calling user becomes the * domain's sole owner. Permissions for the domain are subsequently managed in Google * Domains. - *
  • Without further action, the domain does not renew automatically. The new owner can set up - * billing in Google Domains to renew the domain if needed. + *
  • Without further action, the domain does not renew automatically. The new owner can set + * up billing in Google Domains to renew the domain if needed. *
* *

Sample code: @@ -1634,8 +1633,8 @@ public final UnaryCallable exportRegistrat *

This method only works on resources in one of the following states: * *

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

Sample code: @@ -1667,8 +1666,8 @@ public final OperationFuture deleteRegistrationAsync( *

This method only works on resources in one of the following states: * *

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

Sample code: @@ -1697,8 +1696,8 @@ public final OperationFuture deleteRegistrationAsync(S *

This method only works on resources in one of the following states: * *

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

Sample code: @@ -1728,8 +1727,8 @@ public final OperationFuture deleteRegistrationAsync( *

This method only works on resources in one of the following states: * *

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

Sample code: @@ -1759,8 +1758,8 @@ public final OperationFuture deleteRegistrationAsync( *

This method only works on resources in one of the following states: * *

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

Sample code: @@ -2040,10 +2039,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( @@ -2053,12 +2049,7 @@ public static ApiFuture createAsync( ListRegistrationsPage.createEmptyPage().createPageAsync(context, futureResponse); return ApiFutures.transform( futurePage, - new ApiFunction() { - @Override - public ListRegistrationsPagedResponse apply(ListRegistrationsPage input) { - return new ListRegistrationsPagedResponse(input); - } - }, + input -> new ListRegistrationsPagedResponse(input), MoreExecutors.directExecutor()); } @@ -2069,9 +2060,7 @@ private ListRegistrationsPagedResponse(ListRegistrationsPage page) { public static class ListRegistrationsPage extends AbstractPage< - ListRegistrationsRequest, - ListRegistrationsResponse, - Registration, + ListRegistrationsRequest, ListRegistrationsResponse, Registration, ListRegistrationsPage> { private ListRegistrationsPage( @@ -2101,10 +2090,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 076fd209..d4803efb 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 @@ -28,6 +28,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; @@ -44,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 @@ -270,14 +271,13 @@ public DomainsStubSettings.Builder getStubSettingsBuilder() { return ((DomainsStubSettings.Builder) getStubSettings()); } - // NEXT_MAJOR_VER: remove 'throws Exception'. /** * Applies the given settings updater function to all of the unary API methods in this service. * *

Note: This method does not support applying settings to streaming methods. */ public Builder applyToAllUnaryMethods( - ApiFunction, Void> settingsUpdater) throws Exception { + ApiFunction, Void> settingsUpdater) { super.applyToAllUnaryMethods( getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); return this; 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 ca9bc05b..793fe2a8 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 @@ -81,9 +81,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 @@ -196,8 +196,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( @@ -846,14 +845,13 @@ private static Builder initDefaults(Builder builder) { return builder; } - // NEXT_MAJOR_VER: remove 'throws Exception'. /** * Applies the given settings updater function to all of the unary API methods in this service. * *

Note: This method does not support applying settings to streaming methods. */ public Builder applyToAllUnaryMethods( - ApiFunction, Void> settingsUpdater) throws Exception { + ApiFunction, Void> settingsUpdater) { super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); return this; } 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 83% 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 2d808845..7ef3e2b8 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 @@ -25,7 +25,6 @@ import com.google.api.gax.grpc.GrpcStubCallableFactory; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; -import com.google.api.gax.rpc.RequestParamsExtractor; import com.google.api.gax.rpc.UnaryCallable; import com.google.cloud.domains.v1beta1.AuthorizationCode; import com.google.cloud.domains.v1beta1.ConfigureContactSettingsRequest; @@ -281,13 +280,10 @@ protected GrpcDomainsStub( GrpcCallSettings.newBuilder() .setMethodDescriptor(searchDomainsMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(SearchDomainsRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("location", String.valueOf(request.getLocation())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("location", String.valueOf(request.getLocation())); + return params.build(); }) .build(); GrpcCallSettings @@ -296,27 +292,20 @@ public Map extract(SearchDomainsRequest request) { .newBuilder() .setMethodDescriptor(retrieveRegisterParametersMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract( - RetrieveRegisterParametersRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("location", String.valueOf(request.getLocation())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("location", String.valueOf(request.getLocation())); + return params.build(); }) .build(); GrpcCallSettings registerDomainTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(registerDomainMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(RegisterDomainRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); }) .build(); GrpcCallSettings @@ -324,40 +313,31 @@ public Map extract(RegisterDomainRequest request) { GrpcCallSettings.newBuilder() .setMethodDescriptor(listRegistrationsMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(ListRegistrationsRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("parent", String.valueOf(request.getParent())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("parent", String.valueOf(request.getParent())); + return params.build(); }) .build(); GrpcCallSettings getRegistrationTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(getRegistrationMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(GetRegistrationRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); }) .build(); GrpcCallSettings updateRegistrationTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(updateRegistrationMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(UpdateRegistrationRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put( - "registration.name", String.valueOf(request.getRegistration().getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put( + "registration.name", String.valueOf(request.getRegistration().getName())); + return params.build(); }) .build(); GrpcCallSettings @@ -365,27 +345,20 @@ public Map extract(UpdateRegistrationRequest request) { GrpcCallSettings.newBuilder() .setMethodDescriptor(configureManagementSettingsMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract( - ConfigureManagementSettingsRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("registration", String.valueOf(request.getRegistration())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("registration", String.valueOf(request.getRegistration())); + return params.build(); }) .build(); GrpcCallSettings configureDnsSettingsTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(configureDnsSettingsMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(ConfigureDnsSettingsRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("registration", String.valueOf(request.getRegistration())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("registration", String.valueOf(request.getRegistration())); + return params.build(); }) .build(); GrpcCallSettings @@ -393,39 +366,30 @@ public Map extract(ConfigureDnsSettingsRequest request) { GrpcCallSettings.newBuilder() .setMethodDescriptor(configureContactSettingsMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(ConfigureContactSettingsRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("registration", String.valueOf(request.getRegistration())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("registration", String.valueOf(request.getRegistration())); + return params.build(); }) .build(); GrpcCallSettings exportRegistrationTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(exportRegistrationMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(ExportRegistrationRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); }) .build(); GrpcCallSettings deleteRegistrationTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(deleteRegistrationMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(DeleteRegistrationRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("name", String.valueOf(request.getName())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("name", String.valueOf(request.getName())); + return params.build(); }) .build(); GrpcCallSettings @@ -433,13 +397,10 @@ public Map extract(DeleteRegistrationRequest request) { GrpcCallSettings.newBuilder() .setMethodDescriptor(retrieveAuthorizationCodeMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(RetrieveAuthorizationCodeRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("registration", String.valueOf(request.getRegistration())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("registration", String.valueOf(request.getRegistration())); + return params.build(); }) .build(); GrpcCallSettings @@ -447,13 +408,10 @@ public Map extract(RetrieveAuthorizationCodeRequest request) { GrpcCallSettings.newBuilder() .setMethodDescriptor(resetAuthorizationCodeMethodDescriptor) .setParamsExtractor( - new RequestParamsExtractor() { - @Override - public Map extract(ResetAuthorizationCodeRequest request) { - ImmutableMap.Builder params = ImmutableMap.builder(); - params.put("registration", String.valueOf(request.getRegistration())); - return params.build(); - } + request -> { + ImmutableMap.Builder params = ImmutableMap.builder(); + params.put("registration", String.valueOf(request.getRegistration())); + return params.build(); }) .build(); @@ -693,7 +651,13 @@ public UnaryCallable deleteRegistrationCal @Override public final void close() { - shutdown(); + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } } @Override 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..e685c3b8 --- /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,1486 @@ +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") +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 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); + } + + /** + *
+     * 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` that you no longer want to use with
+     * Cloud Domains. You can continue to use the domain in
+     * [Google Domains](https://domains.google/) until it expires.
+     * If the export is successful:
+     * * The resource's `state` becomes `EXPORTED`, meaning that it is no longer
+     * managed by Cloud Domains
+     * * Because individual users can own domains in Google Domains, the calling
+     * user becomes the domain's sole owner. Permissions for the domain are
+     * subsequently managed in Google Domains.
+     * * Without further action, the domain does not renew automatically.
+     * The new owner can set up billing in Google Domains to renew the domain
+     * if needed.
+     * 
+ */ + 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 only works on resources in one of the following states:
+     * * `state` is `EXPORTED` with `expire_time` in the past
+     * * `state` is `REGISTRATION_FAILED`
+     * 
+ */ + 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( + 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); + } + + /** + *
+     * 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` that you no longer want to use with
+     * Cloud Domains. You can continue to use the domain in
+     * [Google Domains](https://domains.google/) until it expires.
+     * If the export is successful:
+     * * The resource's `state` becomes `EXPORTED`, meaning that it is no longer
+     * managed by Cloud Domains
+     * * Because individual users can own domains in Google Domains, the calling
+     * user becomes the domain's sole owner. Permissions for the domain are
+     * subsequently managed in Google Domains.
+     * * Without further action, the domain does not renew automatically.
+     * The new owner can set up billing in Google Domains to renew the domain
+     * if needed.
+     * 
+ */ + 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 only works on resources in one of the following states:
+     * * `state` is `EXPORTED` with `expire_time` in the past
+     * * `state` is `REGISTRATION_FAILED`
+     * 
+ */ + 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); + } + + /** + *
+     * 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` that you no longer want to use with
+     * Cloud Domains. You can continue to use the domain in
+     * [Google Domains](https://domains.google/) until it expires.
+     * If the export is successful:
+     * * The resource's `state` becomes `EXPORTED`, meaning that it is no longer
+     * managed by Cloud Domains
+     * * Because individual users can own domains in Google Domains, the calling
+     * user becomes the domain's sole owner. Permissions for the domain are
+     * subsequently managed in Google Domains.
+     * * Without further action, the domain does not renew automatically.
+     * The new owner can set up billing in Google Domains to renew the domain
+     * if needed.
+     * 
+ */ + 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 only works on resources in one of the following states:
+     * * `state` is `EXPORTED` with `expire_time` in the past
+     * * `state` is `REGISTRATION_FAILED`
+     * 
+ */ + 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); + } + + /** + *
+     * 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` that you no longer want to use with
+     * Cloud Domains. You can continue to use the domain in
+     * [Google Domains](https://domains.google/) until it expires.
+     * If the export is successful:
+     * * The resource's `state` becomes `EXPORTED`, meaning that it is no longer
+     * managed by Cloud Domains
+     * * Because individual users can own domains in Google Domains, the calling
+     * user becomes the domain's sole owner. Permissions for the domain are
+     * subsequently managed in Google Domains.
+     * * Without further action, the domain does not renew automatically.
+     * The new owner can set up billing in Google Domains to renew the domain
+     * if needed.
+     * 
+ */ + 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 only works on resources in one of the following states:
+     * * `state` is `EXPORTED` with `expire_time` in the past
+     * * `state` is `REGISTRATION_FAILED`
+     * 
+ */ + 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_LIST_REGISTRATIONS = 3; + private static final int METHODID_GET_REGISTRATION = 4; + private static final int METHODID_UPDATE_REGISTRATION = 5; + private static final int METHODID_CONFIGURE_MANAGEMENT_SETTINGS = 6; + private static final int METHODID_CONFIGURE_DNS_SETTINGS = 7; + private static final int METHODID_CONFIGURE_CONTACT_SETTINGS = 8; + private static final int METHODID_EXPORT_REGISTRATION = 9; + private static final int METHODID_DELETE_REGISTRATION = 10; + private static final int METHODID_RETRIEVE_AUTHORIZATION_CODE = 11; + private static final int METHODID_RESET_AUTHORIZATION_CODE = 12; + + 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_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(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 30d11bd4..c5fe7200 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,59 +53,53 @@ 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) { throw e.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 @@ -131,30 +108,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 { @@ -163,7 +140,6 @@ public com.google.protobuf.ByteString getCodeBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -175,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getCodeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, code_); } @@ -199,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -227,126 +204,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() @@ -354,15 +322,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(); @@ -372,9 +341,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 @@ -393,8 +362,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; @@ -404,39 +372,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; @@ -444,8 +411,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(); @@ -469,8 +435,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) { @@ -482,21 +447,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 +468,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 +490,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 +557,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(); } @@ -616,16 +571,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; @@ -640,4 +595,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 823fb50d..991784f5 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,87 +55,80 @@ 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) { throw e.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_); @@ -162,36 +137,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 @@ -200,32 +167,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 { @@ -236,14 +201,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 @@ -251,25 +213,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.
    * 
@@ -284,17 +239,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` would be `"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 @@ -302,17 +253,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` would be `"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 @@ -320,16 +267,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` would be `"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() { @@ -339,47 +283,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
    * required 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
    * required 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 @@ -387,15 +320,12 @@ public int getContactNoticesCount() { return contactNotices_.size(); } /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * required 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. */ @@ -404,31 +334,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
    * required 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
    * required 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. */ @@ -436,20 +361,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 @@ -458,7 +379,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -470,7 +390,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { getSerializedSize(); if (!getRegistrationBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); @@ -504,26 +425,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; @@ -533,25 +456,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; } @@ -578,134 +504,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() @@ -713,15 +630,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(); @@ -747,14 +665,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(); } @@ -769,8 +686,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) { @@ -797,50 +713,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(); @@ -883,9 +795,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) { @@ -894,28 +804,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; @@ -924,24 +829,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 { @@ -949,70 +851,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; @@ -1020,47 +909,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.
      * 
@@ -1081,8 +957,6 @@ public Builder setContactSettings(com.google.cloud.domains.v1beta1.ContactSettin return this; } /** - * - * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1101,8 +975,6 @@ public Builder setContactSettings( return this; } /** - * - * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1113,9 +985,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; } @@ -1127,8 +997,6 @@ public Builder mergeContactSettings(com.google.cloud.domains.v1beta1.ContactSett return this; } /** - * - * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1147,8 +1015,6 @@ public Builder clearContactSettings() { return this; } /** - * - * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1156,13 +1022,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.
      * 
@@ -1173,14 +1037,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.
      * 
@@ -1188,17 +1049,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_; @@ -1206,61 +1064,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` would be `"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` would be `"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` would be `"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) { @@ -1276,18 +1118,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` would be `"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(); @@ -1298,22 +1138,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` would be `"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; } @@ -1325,16 +1162,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` would be `"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) { @@ -1348,74 +1182,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` would be `"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` would be `"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` would be `"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_); @@ -1423,47 +1244,37 @@ private void ensureContactNoticesIsMutable() { } } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * required 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
      * required 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
      * required 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. */ @@ -1471,15 +1282,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
      * required 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. @@ -1495,15 +1303,12 @@ public Builder setContactNotices( return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * required 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. */ @@ -1517,15 +1322,12 @@ public Builder addContactNotices(com.google.cloud.domains.v1beta1.ContactNotice return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * required 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. */ @@ -1539,15 +1341,12 @@ public Builder addAllContactNotices( return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * required 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() { @@ -1557,30 +1356,25 @@ public Builder clearContactNotices() { return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * required 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
      * required 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. */ @@ -1588,35 +1382,30 @@ public int getContactNoticesValue(int index) { return contactNotices_.get(index); } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * required 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
      * required 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. */ @@ -1627,19 +1416,17 @@ public Builder addContactNoticesValue(int value) { return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * required 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); @@ -1648,16 +1435,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 @@ -1665,43 +1449,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); } @@ -1711,32 +1489,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; @@ -1748,8 +1524,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 87414307..9545635f 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` would be `"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` would be `"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` would be `"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
    * required 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
    * required 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
    * required 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
    * required 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
    * required 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 c7d56844..0626d89b 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,97 +53,84 @@ 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) { throw e.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 @@ -169,32 +139,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 { @@ -205,14 +173,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 @@ -220,25 +185,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.
    * 
@@ -253,8 +211,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
@@ -266,9 +222,7 @@ public com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder getDnsSettingsOrBui
    * `update_mask` would be `"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 @@ -276,8 +230,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
@@ -289,9 +241,7 @@ public boolean hasUpdateMask() {
    * `update_mask` would be `"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 @@ -299,8 +249,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
@@ -312,8 +260,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * `update_mask` would be `"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() { @@ -323,14 +270,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 @@ -339,7 +283,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -351,7 +294,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getRegistrationBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -377,13 +321,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; @@ -393,24 +340,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; } @@ -433,134 +383,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() @@ -568,15 +509,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(); @@ -600,14 +542,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(); } @@ -622,8 +563,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_; @@ -644,39 +584,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; @@ -684,9 +623,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(); @@ -719,8 +656,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) { @@ -732,23 +668,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 +689,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 +711,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 +769,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.
      * 
@@ -914,8 +817,6 @@ public Builder setDnsSettings(com.google.cloud.domains.v1beta1.DnsSettings value return this; } /** - * - * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -934,8 +835,6 @@ public Builder setDnsSettings( return this; } /** - * - * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -946,9 +845,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; } @@ -960,8 +857,6 @@ public Builder mergeDnsSettings(com.google.cloud.domains.v1beta1.DnsSettings val return this; } /** - * - * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -980,8 +875,6 @@ public Builder clearDnsSettings() { return this; } /** - * - * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -989,13 +882,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.
      * 
@@ -1006,14 +897,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.
      * 
@@ -1021,17 +909,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_; @@ -1039,13 +924,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
@@ -1057,17 +937,13 @@ public com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder getDnsSettingsOrBui
      * `update_mask` would be `"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
@@ -1079,23 +955,17 @@ public boolean hasUpdateMask() {
      * `update_mask` would be `"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
@@ -1107,8 +977,7 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * `update_mask` would be `"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) { @@ -1124,8 +993,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
@@ -1137,10 +1004,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * `update_mask` would be `"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(); @@ -1151,8 +1018,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
@@ -1164,14 +1029,13 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal
      * `update_mask` would be `"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; } @@ -1183,8 +1047,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
@@ -1196,8 +1058,7 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * `update_mask` would be `"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) { @@ -1211,8 +1072,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
@@ -1224,17 +1083,14 @@ public Builder clearUpdateMask() {
      * `update_mask` would be `"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
@@ -1246,21 +1102,17 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * `update_mask` would be `"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
@@ -1272,36 +1124,29 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * `update_mask` would be `"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 @@ -1309,43 +1154,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); } @@ -1355,13 +1194,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(); } @@ -1370,16 +1208,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; @@ -1394,4 +1232,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 34d9f38f..14e99099 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` would be `"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` would be `"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` would be `"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 93e4bade..59722228 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,93 +53,79 @@ 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) { throw e.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 @@ -166,32 +134,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 { @@ -202,14 +168,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 @@ -217,25 +180,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.
    * 
@@ -243,25 +199,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`
    * would be `"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 +220,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`
    * would be `"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 +234,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`
    * would be `"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 +248,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -316,7 +259,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getRegistrationBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -339,10 +283,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 +298,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; @@ -396,145 +344,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(); @@ -556,16 +493,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 @@ -579,8 +514,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_; @@ -600,51 +534,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(); @@ -674,9 +603,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) { @@ -688,23 +615,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; @@ -713,24 +636,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 { @@ -738,70 +658,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; @@ -809,55 +716,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(); @@ -871,8 +764,6 @@ public Builder setManagementSettings( return this; } /** - * - * *
      * Fields of the `ManagementSettings` to update.
      * 
@@ -891,22 +782,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; } @@ -918,8 +804,6 @@ public Builder mergeManagementSettings( return this; } /** - * - * *
      * Fields of the `ManagementSettings` to update.
      * 
@@ -938,42 +822,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.
      * 
@@ -981,17 +856,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_; @@ -999,61 +871,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`
      * would be `"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`
      * would be `"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`
      * would be `"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) { @@ -1069,18 +925,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`
      * would be `"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(); @@ -1091,22 +945,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`
      * would be `"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; } @@ -1118,16 +969,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`
      * would be `"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) { @@ -1141,74 +989,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`
      * would be `"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`
      * would be `"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`
      * would be `"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); } @@ -1218,32 +1053,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; @@ -1255,8 +1088,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 041b41f6..16c05c8d 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`
    * would be `"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`
    * would be `"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`
    * would be `"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 d7b808a7..f7d2970b 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,242 +56,194 @@ 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) {
       throw e.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_ = ""; @@ -317,15 +252,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) @@ -344,89 +280,77 @@ 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) { throw e.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 @@ -434,34 +358,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() { @@ -471,14 +384,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 @@ -487,29 +397,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 { @@ -520,15 +430,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 @@ -537,30 +444,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 { @@ -571,15 +478,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 @@ -588,30 +492,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 { @@ -620,7 +524,6 @@ public com.google.protobuf.ByteString getFaxNumberBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -632,7 +535,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (postalAddress_ != null) { output.writeMessage(1, getPostalAddress()); } @@ -655,7 +559,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 (!getEmailBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, email_); @@ -674,21 +579,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; } @@ -716,94 +624,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 @@ -813,32 +714,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() @@ -846,15 +742,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(); @@ -874,9 +771,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 @@ -895,8 +792,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 { @@ -913,41 +809,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; @@ -955,8 +848,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()); } @@ -991,8 +883,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) { @@ -1004,58 +895,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) { @@ -1071,17 +943,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(); @@ -1092,23 +961,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; } @@ -1120,15 +983,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) { @@ -1142,64 +1001,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_; @@ -1207,20 +1050,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; @@ -1229,21 +1070,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 { @@ -1251,61 +1091,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; @@ -1313,21 +1146,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; @@ -1336,22 +1167,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 { @@ -1359,64 +1189,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; @@ -1424,21 +1247,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; @@ -1447,22 +1268,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 { @@ -1470,69 +1290,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) { @@ -1545,12 +1357,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(); } @@ -1559,16 +1371,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; @@ -1583,53 +1395,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,
@@ -1639,10 +1437,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 @@ -1650,8 +1445,6 @@ public boolean hasRegistrantContact() { return registrantContact_ != null; } /** - * - * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -1661,21 +1454,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,
@@ -1685,29 +1471,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 @@ -1715,54 +1493,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 @@ -1770,43 +1531,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; @@ -1818,10 +1566,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) { @@ -1842,19 +1589,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; @@ -1864,26 +1613,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; @@ -1915,104 +1666,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
@@ -2022,23 +1766,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()
@@ -2046,15 +1788,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();
@@ -2082,9 +1825,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
@@ -2103,8 +1846,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_;
@@ -2129,39 +1871,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;
@@ -2169,8 +1910,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());
       }
@@ -2214,73 +1954,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. */ @@ -2288,26 +2006,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; @@ -2315,13 +2028,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,
@@ -2331,18 +2039,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,
@@ -2352,24 +2055,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,
@@ -2379,12 +2075,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(); @@ -2398,8 +2091,6 @@ public Builder setRegistrantContact( return this; } /** - * - * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2409,9 +2100,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) { @@ -2425,8 +2114,6 @@ public Builder setRegistrantContact( return this; } /** - * - * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2436,19 +2123,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; } @@ -2460,8 +2141,6 @@ public Builder mergeRegistrantContact( return this; } /** - * - * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2471,9 +2150,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) { @@ -2487,8 +2164,6 @@ public Builder clearRegistrantContact() { return this; } /** - * - * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2498,19 +2173,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,
@@ -2520,23 +2190,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,
@@ -2546,22 +2210,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_; @@ -2569,58 +2228,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) { @@ -2636,15 +2276,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) { @@ -2658,24 +2294,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; } @@ -2687,15 +2316,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) { @@ -2709,66 +2334,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_; @@ -2776,61 +2383,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(); @@ -2844,15 +2431,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) { @@ -2866,24 +2449,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; } @@ -2895,15 +2471,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) { @@ -2917,73 +2489,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); } @@ -2993,12 +2547,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(); } @@ -3007,16 +2561,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; @@ -3031,4 +2585,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 76581fe1..64ac96fe 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 6e7c181a..e20f4556 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,61 +53,53 @@ 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) { throw e.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 @@ -133,32 +108,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -231,127 +204,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() @@ -359,15 +322,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(); @@ -377,9 +341,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 @@ -398,8 +362,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; @@ -409,39 +372,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; @@ -449,8 +411,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(); @@ -474,8 +435,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) { @@ -487,23 +447,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; @@ -512,24 +468,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 { @@ -537,77 +490,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); } @@ -617,12 +557,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(); } @@ -631,16 +571,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; @@ -655,4 +595,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 74% 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 81ed5763..1e0ef571 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,74 +55,57 @@ 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) {
       throw e.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_);
@@ -148,35 +114,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.
      * 
@@ -185,8 +145,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.
@@ -196,8 +154,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
@@ -212,8 +168,6 @@ public enum DsState implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * DS state is unspecified.
      * 
@@ -222,8 +176,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.
@@ -233,8 +185,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
@@ -246,6 +196,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(
@@ -270,49 +221,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;
@@ -329,14 +280,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
@@ -344,13 +292,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
@@ -358,13 +304,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
@@ -372,14 +315,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
@@ -387,15 +327,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
@@ -404,10 +342,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
@@ -418,8 +355,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
@@ -430,8 +365,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
@@ -440,11 +373,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
@@ -453,27 +384,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(); @@ -481,15 +410,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) @@ -509,43 +439,38 @@ 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) { throw e.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 +482,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
@@ -585,15 +505,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 +519,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 +532,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 +539,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 +546,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
@@ -656,13 +566,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
@@ -672,13 +579,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
@@ -692,8 +597,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
@@ -707,8 +610,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
@@ -724,7 +625,6 @@ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder getDsRecor
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -736,7 +636,8 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    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));
       }
@@ -761,7 +662,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;
@@ -771,16 +673,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;
     }
@@ -806,94 +709,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
@@ -903,32 +799,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() @@ -936,17 +827,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(); @@ -962,9 +853,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 @@ -983,8 +874,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(); @@ -1008,41 +898,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; @@ -1050,8 +937,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_; @@ -1080,10 +966,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_); } @@ -1108,8 +993,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) { @@ -1118,21 +1002,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
@@ -1140,15 +1019,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
@@ -1156,15 +1033,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
@@ -1172,7 +1046,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. */ @@ -1180,8 +1053,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
@@ -1189,16 +1060,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
@@ -1206,23 +1075,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
@@ -1230,22 +1097,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
@@ -1253,19 +1118,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
@@ -1273,7 +1137,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() { @@ -1283,8 +1146,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
@@ -1292,15 +1153,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(); @@ -1308,26 +1169,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
@@ -1336,8 +1189,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 {
@@ -1345,8 +1197,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
@@ -1363,8 +1213,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
@@ -1381,8 +1229,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
@@ -1406,8 +1252,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
@@ -1417,8 +1261,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());
@@ -1429,8 +1272,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
@@ -1453,8 +1294,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
@@ -1478,8 +1317,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
@@ -1500,8 +1337,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
@@ -1511,8 +1346,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());
@@ -1523,8 +1357,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
@@ -1534,11 +1366,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);
@@ -1546,8 +1378,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
@@ -1567,8 +1397,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
@@ -1588,8 +1416,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
@@ -1603,8 +1429,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
@@ -1616,14 +1440,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
@@ -1632,9 +1453,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 {
@@ -1642,8 +1462,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
@@ -1653,12 +1471,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
@@ -1669,13 +1485,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
@@ -1684,28 +1497,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) {
@@ -1718,12 +1527,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();
     }
@@ -1732,16 +1541,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;
@@ -1756,16 +1565,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
@@ -1774,13 +1581,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
@@ -1789,13 +1594,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
@@ -1804,14 +1606,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
@@ -1820,118 +1619,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
@@ -1941,16 +1710,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;
@@ -1959,15 +1727,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)
@@ -1987,50 +1756,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;
-                }
-                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) {
         throw e.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();
@@ -2042,27 +1805,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
@@ -2071,15 +1829,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
@@ -2088,15 +1844,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
@@ -2105,7 +1858,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. */ @@ -2113,8 +1865,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
@@ -2123,142 +1873,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( @@ -2267,7 +1981,6 @@ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder getDsRecor } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2279,13 +1992,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++) { @@ -2308,13 +2020,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; @@ -2324,17 +2036,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; } @@ -2362,94 +2075,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 @@ -2459,8 +2165,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
@@ -2470,24 +2174,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()
@@ -2495,17 +2196,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();
@@ -2523,14 +2224,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();
       }
 
@@ -2545,8 +2245,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();
@@ -2571,52 +2270,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_;
@@ -2648,10 +2341,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_);
             }
@@ -2676,9 +2368,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) {
@@ -2687,21 +2377,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
@@ -2710,15 +2395,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
@@ -2727,15 +2410,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
@@ -2744,7 +2424,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. */ @@ -2752,8 +2431,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
@@ -2762,16 +2439,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
@@ -2780,23 +2455,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
@@ -2805,22 +2478,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
@@ -2829,19 +2500,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
@@ -2850,7 +2520,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() { @@ -2860,8 +2529,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
@@ -2870,15 +2537,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(); @@ -2887,79 +2554,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. */ @@ -2967,65 +2610,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 { @@ -3033,17 +2660,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) { @@ -3053,17 +2676,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) { @@ -3073,17 +2692,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) { @@ -3100,21 +2715,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()); @@ -3125,17 +2735,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) { @@ -3151,17 +2757,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) { @@ -3178,17 +2780,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) { @@ -3202,21 +2800,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()); @@ -3227,24 +2820,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); @@ -3252,17 +2841,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) { @@ -3275,17 +2860,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) { @@ -3298,59 +2879,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 { @@ -3358,76 +2925,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) { @@ -3440,32 +2990,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; @@ -3477,108 +3025,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
@@ -3587,16 +3112,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;
@@ -3605,15 +3129,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)
@@ -3632,69 +3157,62 @@ 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) {
         throw e.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.
@@ -3702,10 +3220,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.
        * 
@@ -3714,8 +3231,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ ALGORITHM_UNSPECIFIED(0), /** - * - * *
        * DSA/SHA1. Not recommended for new deployments.
        * 
@@ -3724,8 +3239,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ DSA(3), /** - * - * *
        * ECC. Not recommended for new deployments.
        * 
@@ -3734,8 +3247,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ ECC(4), /** - * - * *
        * RSA/SHA-1. Not recommended for new deployments.
        * 
@@ -3744,8 +3255,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ RSASHA1(5), /** - * - * *
        * DSA-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3754,8 +3263,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ DSANSEC3SHA1(6), /** - * - * *
        * RSA/SHA1-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3764,8 +3271,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ RSASHA1NSEC3SHA1(7), /** - * - * *
        * RSA/SHA-256.
        * 
@@ -3774,8 +3279,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ RSASHA256(8), /** - * - * *
        * RSA/SHA-512.
        * 
@@ -3784,8 +3287,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ RSASHA512(10), /** - * - * *
        * GOST R 34.10-2001.
        * 
@@ -3794,8 +3295,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ ECCGOST(12), /** - * - * *
        * ECDSA Curve P-256 with SHA-256.
        * 
@@ -3804,8 +3303,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ ECDSAP256SHA256(13), /** - * - * *
        * ECDSA Curve P-384 with SHA-384.
        * 
@@ -3814,8 +3311,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ ECDSAP384SHA384(14), /** - * - * *
        * Ed25519.
        * 
@@ -3824,8 +3319,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ ED25519(15), /** - * - * *
        * Ed448.
        * 
@@ -3837,8 +3330,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * The algorithm is unspecified.
        * 
@@ -3847,8 +3338,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ALGORITHM_UNSPECIFIED_VALUE = 0; /** - * - * *
        * DSA/SHA1. Not recommended for new deployments.
        * 
@@ -3857,8 +3346,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DSA_VALUE = 3; /** - * - * *
        * ECC. Not recommended for new deployments.
        * 
@@ -3867,8 +3354,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ECC_VALUE = 4; /** - * - * *
        * RSA/SHA-1. Not recommended for new deployments.
        * 
@@ -3877,8 +3362,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RSASHA1_VALUE = 5; /** - * - * *
        * DSA-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3887,8 +3370,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.
        * 
@@ -3897,8 +3378,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RSASHA1NSEC3SHA1_VALUE = 7; /** - * - * *
        * RSA/SHA-256.
        * 
@@ -3907,8 +3386,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RSASHA256_VALUE = 8; /** - * - * *
        * RSA/SHA-512.
        * 
@@ -3917,8 +3394,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RSASHA512_VALUE = 10; /** - * - * *
        * GOST R 34.10-2001.
        * 
@@ -3927,8 +3402,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ECCGOST_VALUE = 12; /** - * - * *
        * ECDSA Curve P-256 with SHA-256.
        * 
@@ -3937,8 +3410,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ECDSAP256SHA256_VALUE = 13; /** - * - * *
        * ECDSA Curve P-384 with SHA-384.
        * 
@@ -3947,8 +3418,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ECDSAP384SHA384_VALUE = 14; /** - * - * *
        * Ed25519.
        * 
@@ -3957,8 +3426,6 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ED25519_VALUE = 15; /** - * - * *
        * Ed448.
        * 
@@ -3967,6 +3434,7 @@ public enum Algorithm implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ED448_VALUE = 16; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -3991,71 +3459,59 @@ public static Algorithm valueOf(int value) { */ public static Algorithm forNumber(int value) { switch (value) { - case 0: - return ALGORITHM_UNSPECIFIED; - 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; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + case 0: return ALGORITHM_UNSPECIFIED; + 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; + 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; @@ -4073,8 +3529,6 @@ private Algorithm(int value) { } /** - * - * *
      * List of hash functions that may have been used to generate a digest of a
      * DNSKEY.
@@ -4082,10 +3536,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.
        * 
@@ -4094,8 +3547,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ DIGEST_TYPE_UNSPECIFIED(0), /** - * - * *
        * SHA-1. Not recommended for new deployments.
        * 
@@ -4104,8 +3555,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ SHA1(1), /** - * - * *
        * SHA-256.
        * 
@@ -4114,8 +3563,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ SHA256(2), /** - * - * *
        * GOST R 34.11-94.
        * 
@@ -4124,8 +3571,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ GOST3411(3), /** - * - * *
        * SHA-384.
        * 
@@ -4137,8 +3582,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
        * The DigestType is unspecified.
        * 
@@ -4147,8 +3590,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.
        * 
@@ -4157,8 +3598,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SHA1_VALUE = 1; /** - * - * *
        * SHA-256.
        * 
@@ -4167,8 +3606,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SHA256_VALUE = 2; /** - * - * *
        * GOST R 34.11-94.
        * 
@@ -4177,8 +3614,6 @@ public enum DigestType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int GOST3411_VALUE = 3; /** - * - * *
        * SHA-384.
        * 
@@ -4187,6 +3622,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( @@ -4211,55 +3647,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; @@ -4279,14 +3711,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 @@ -4297,90 +3726,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 @@ -4389,29 +3793,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 { @@ -4420,7 +3824,6 @@ public com.google.protobuf.ByteString getDigestBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4432,19 +3835,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 (!getDigestBytes().isEmpty()) { @@ -4460,18 +3859,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 (!getDigestBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, digest_); @@ -4484,18 +3881,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; } @@ -4521,94 +3919,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 @@ -4618,8 +4009,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
@@ -4628,24 +4017,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()
@@ -4653,15 +4039,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();
@@ -4677,9 +4064,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
@@ -4698,8 +4085,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_;
@@ -4712,41 +4098,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;
@@ -4754,8 +4137,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());
         }
@@ -4788,8 +4170,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) {
@@ -4799,16 +4180,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 @@ -4816,36 +4194,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; @@ -4853,93 +4225,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; @@ -4947,93 +4299,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; @@ -5041,20 +4373,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; @@ -5063,21 +4393,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 { @@ -5085,66 +4414,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) { @@ -5157,12 +4478,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(); } @@ -5171,16 +4492,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; @@ -5195,41 +4516,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
@@ -5237,13 +4551,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
@@ -5251,13 +4563,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
@@ -5265,14 +4574,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
@@ -5280,15 +4586,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
@@ -5296,13 +4600,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
@@ -5310,13 +4612,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
@@ -5324,14 +4623,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
@@ -5339,15 +4635,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
@@ -5359,16 +4653,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;
@@ -5377,15 +4670,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)
@@ -5405,46 +4699,44 @@ 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) {
         throw e.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();
@@ -5456,33 +4748,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 @@ -5491,29 +4777,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 { @@ -5524,8 +4810,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
@@ -5533,15 +4817,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
@@ -5549,15 +4831,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
@@ -5565,7 +4844,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. */ @@ -5573,8 +4851,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
@@ -5582,19 +4858,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
@@ -5602,15 +4876,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
@@ -5618,15 +4890,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
@@ -5634,7 +4903,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. */ @@ -5642,8 +4910,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
@@ -5651,16 +4917,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; @@ -5672,7 +4937,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getHostNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, hostName_); } @@ -5718,17 +4984,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; } @@ -5756,94 +5024,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 @@ -5853,8 +5114,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
@@ -5866,24 +5125,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()
@@ -5891,15 +5147,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();
@@ -5913,9 +5170,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
@@ -5934,8 +5191,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)) {
@@ -5956,41 +5212,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;
@@ -5998,8 +5251,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();
@@ -6043,8 +5295,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) {
@@ -6053,25 +5304,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; @@ -6080,21 +5328,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 { @@ -6102,78 +5349,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
@@ -6181,15 +5417,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
@@ -6197,15 +5431,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
@@ -6213,7 +5444,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. */ @@ -6221,8 +5451,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
@@ -6230,16 +5458,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
@@ -6247,23 +5473,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
@@ -6271,22 +5495,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
@@ -6294,19 +5516,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
@@ -6314,7 +5535,6 @@ public Builder addAllIpv4Addresses(java.lang.Iterable values)
        * 
* * repeated string ipv4_addresses = 2; - * * @return This builder for chaining. */ public Builder clearIpv4Addresses() { @@ -6324,8 +5544,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
@@ -6333,33 +5551,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
@@ -6367,15 +5581,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
@@ -6383,15 +5595,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
@@ -6399,7 +5608,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. */ @@ -6407,8 +5615,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
@@ -6416,16 +5622,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
@@ -6433,23 +5637,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
@@ -6457,22 +5659,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
@@ -6480,19 +5680,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
@@ -6500,7 +5699,6 @@ public Builder addAllIpv6Addresses(java.lang.Iterable values)
        * 
* * repeated string ipv6_addresses = 3; - * * @return This builder for chaining. */ public Builder clearIpv6Addresses() { @@ -6510,8 +5708,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
@@ -6519,21 +5715,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) { @@ -6546,12 +5741,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(); } @@ -6560,16 +5755,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; @@ -6584,20 +5779,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; } @@ -6613,36 +5806,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 @@ -6650,26 +5837,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.
    * 
@@ -6679,22 +5861,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 @@ -6702,27 +5881,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/).
@@ -6731,10 +5905,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();
   }
@@ -6742,8 +5915,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.
    * 
@@ -6751,13 +5922,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.
    * 
@@ -6765,13 +5933,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.
    * 
@@ -6783,8 +5949,6 @@ public int getGlueRecordsCount() { return glueRecords_.size(); } /** - * - * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -6796,8 +5960,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.
    * 
@@ -6811,7 +5973,6 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GlueRecordOrBuilder getGlueR } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6823,13 +5984,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)); @@ -6844,17 +6005,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; @@ -6864,22 +6024,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: @@ -6916,104 +6078,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.
@@ -7021,23 +6176,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()
@@ -7045,17 +6198,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();
@@ -7071,9 +6224,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
@@ -7092,8 +6245,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) {
@@ -7127,39 +6279,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;
@@ -7186,30 +6337,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();
@@ -7239,12 +6386,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() {
@@ -7257,19 +6404,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 @@ -7277,14 +6418,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 @@ -7302,8 +6440,6 @@ public com.google.cloud.domains.v1beta1.DnsSettings.CustomDns getCustomDns() { } } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -7324,8 +6460,6 @@ public Builder setCustomDns(com.google.cloud.domains.v1beta1.DnsSettings.CustomD return this; } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -7344,8 +6478,6 @@ public Builder setCustomDns( return this; } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -7354,14 +6486,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; } @@ -7376,8 +6504,6 @@ public Builder mergeCustomDns(com.google.cloud.domains.v1beta1.DnsSettings.Custo return this; } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -7401,8 +6527,6 @@ public Builder clearCustomDns() { return this; } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -7413,8 +6537,6 @@ public com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.Builder getCustomD return getCustomDnsFieldBuilder().getBuilder(); } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -7433,8 +6555,6 @@ public com.google.cloud.domains.v1beta1.DnsSettings.CustomDnsOrBuilder getCustom } } /** - * - * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -7442,47 +6562,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 @@ -7490,16 +6596,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 @@ -7517,18 +6619,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(); @@ -7542,15 +6640,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) { @@ -7564,28 +6659,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; } @@ -7600,15 +6686,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) { @@ -7627,34 +6710,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 { @@ -7665,71 +6740,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 { @@ -7737,8 +6793,6 @@ private void ensureGlueRecordsIsMutable() { } } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7753,8 +6807,6 @@ public int getGlueRecordsCount() { } } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7769,8 +6821,6 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord getGlueRecords(in } } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7792,8 +6842,6 @@ public Builder setGlueRecords( return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7801,8 +6849,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()); @@ -7813,8 +6860,6 @@ public Builder setGlueRecords( return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7835,8 +6880,6 @@ public Builder addGlueRecords(com.google.cloud.domains.v1beta1.DnsSettings.GlueR return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7858,8 +6901,6 @@ public Builder addGlueRecords( return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7878,8 +6919,6 @@ public Builder addGlueRecords( return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7887,8 +6926,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()); @@ -7899,8 +6937,6 @@ public Builder addGlueRecords( return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7908,11 +6944,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); @@ -7920,8 +6956,6 @@ public Builder addAllGlueRecords( return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7939,8 +6973,6 @@ public Builder clearGlueRecords() { return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7958,8 +6990,6 @@ public Builder removeGlueRecords(int index) { return this; } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7971,8 +7001,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.
      * 
@@ -7982,23 +7010,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 { @@ -8006,8 +7030,6 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GlueRecordOrBuilder getGlueR } } /** - * - * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -8015,12 +7037,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.
      * 
@@ -8029,43 +7049,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); } @@ -8075,12 +7089,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(); } @@ -8089,16 +7103,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; @@ -8113,4 +7127,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..c2d6464c
--- /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,647 @@
+// 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_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_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\"\347\010\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\"z\n\005State\022\025\n\021STATE_UNSPECIFIE" +
+      "D\020\000\022\030\n\024REGISTRATION_PENDING\020\001\022\027\n\023REGISTR" +
+      "ATION_FAILED\020\002\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_UNSPEC" +
+      "IFIED\020\000\022\023\n\017CONTACT_SUPPORT\020\001\022\024\n\020UNVERIFI" +
+      "ED_EMAIL\020\002:n\352Ak\n#domains.googleapis.com/" +
+      "Registration\022Dprojects/{project}/locatio" +
+      "ns/{location}/registrations/{registratio" +
+      "n}\"\233\002\n\022ManagementSettings\022[\n\016renewal_met" +
+      "hod\030\003 \001(\0162>.google.cloud.domains.v1beta1" +
+      ".ManagementSettings.RenewalMethodB\003\340A\003\022L" +
+      "\n\023transfer_lock_state\030\004 \001(\0162/.google.clo" +
+      "ud.domains.v1beta1.TransferLockState\"Z\n\r" +
+      "RenewalMethod\022\036\n\032RENEWAL_METHOD_UNSPECIF" +
+      "IED\020\000\022\025\n\021AUTOMATIC_RENEWAL\020\001\022\022\n\016MANUAL_R" +
+      "ENEWAL\020\002\"\201\n\n\013DnsSettings\022I\n\ncustom_dns\030\001" +
+      " \001(\01323.google.cloud.domains.v1beta1.DnsS" +
+      "ettings.CustomDnsH\000\022X\n\022google_domains_dn" +
+      "s\030\002 \001(\0132:.google.cloud.domains.v1beta1.D" +
+      "nsSettings.GoogleDomainsDnsH\000\022J\n\014glue_re" +
+      "cords\030\004 \003(\01324.google.cloud.domains.v1bet" +
+      "a1.DnsSettings.GlueRecord\032n\n\tCustomDns\022\031" +
+      "\n\014name_servers\030\001 \003(\tB\003\340A\002\022F\n\nds_records\030" +
+      "\002 \003(\01322.google.cloud.domains.v1beta1.Dns" +
+      "Settings.DsRecord\032\304\001\n\020GoogleDomainsDns\022\031" +
+      "\n\014name_servers\030\001 \003(\tB\003\340A\003\022H\n\010ds_state\030\002 " +
+      "\001(\01621.google.cloud.domains.v1beta1.DnsSe" +
+      "ttings.DsStateB\003\340A\002\022K\n\nds_records\030\003 \003(\0132" +
+      "2.google.cloud.domains.v1beta1.DnsSettin" +
+      "gs.DsRecordB\003\340A\003\032\210\004\n\010DsRecord\022\017\n\007key_tag" +
+      "\030\001 \001(\005\022O\n\talgorithm\030\002 \001(\0162<.google.cloud" +
+      ".domains.v1beta1.DnsSettings.DsRecord.Al" +
+      "gorithm\022R\n\013digest_type\030\003 \001(\0162=.google.cl" +
+      "oud.domains.v1beta1.DnsSettings.DsRecord" +
+      ".DigestType\022\016\n\006digest\030\004 \001(\t\"\332\001\n\tAlgorith" +
+      "m\022\031\n\025ALGORITHM_UNSPECIFIED\020\000\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\tRS" +
+      "ASHA512\020\n\022\013\n\007ECCGOST\020\014\022\023\n\017ECDSAP256SHA25" +
+      "6\020\r\022\023\n\017ECDSAP384SHA384\020\016\022\013\n\007ED25519\020\017\022\t\n" +
+      "\005ED448\020\020\"Y\n\nDigestType\022\033\n\027DIGEST_TYPE_UN" +
+      "SPECIFIED\020\000\022\010\n\004SHA1\020\001\022\n\n\006SHA256\020\002\022\014\n\010GOS" +
+      "T3411\020\003\022\n\n\006SHA384\020\004\032T\n\nGlueRecord\022\026\n\thos" +
+      "t_name\030\001 \001(\tB\003\340A\002\022\026\n\016ipv4_addresses\030\002 \003(" +
+      "\t\022\026\n\016ipv6_addresses\030\003 \003(\t\"Y\n\007DsState\022\030\n\024" +
+      "DS_STATE_UNSPECIFIED\020\000\022\032\n\026DS_RECORDS_UNP" +
+      "UBLISHED\020\001\022\030\n\024DS_RECORDS_PUBLISHED\020\002B\016\n\014" +
+      "dns_provider\"\337\003\n\017ContactSettings\022B\n\007priv" +
+      "acy\030\001 \001(\0162,.google.cloud.domains.v1beta1" +
+      ".ContactPrivacyB\003\340A\002\022V\n\022registrant_conta" +
+      "ct\030\002 \001(\01325.google.cloud.domains.v1beta1." +
+      "ContactSettings.ContactB\003\340A\002\022Q\n\radmin_co" +
+      "ntact\030\003 \001(\01325.google.cloud.domains.v1bet" +
+      "a1.ContactSettings.ContactB\003\340A\002\022U\n\021techn" +
+      "ical_contact\030\004 \001(\01325.google.cloud.domain" +
+      "s.v1beta1.ContactSettings.ContactB\003\340A\002\032\205" +
+      "\001\n\007Contact\0227\n\016postal_address\030\001 \001(\0132\032.goo" +
+      "gle.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\nfa" +
+      "x_number\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!locations.googleapis.com/Location\"" +
+      "f\n\025SearchDomainsResponse\022M\n\023register_par" +
+      "ameters\030\001 \003(\01320.google.cloud.domains.v1b" +
+      "eta1.RegisterParameters\"z\n!RetrieveRegis" +
+      "terParametersRequest\022\030\n\013domain_name\030\001 \001(" +
+      "\tB\003\340A\002\022;\n\010location\030\002 \001(\tB)\340A\002\372A#\n!locati" +
+      "ons.googleapis.com/Location\"s\n\"RetrieveR" +
+      "egisterParametersResponse\022M\n\023register_pa" +
+      "rameters\030\001 \001(\01320.google.cloud.domains.v1" +
+      "beta1.RegisterParameters\"\351\002\n\025RegisterDom" +
+      "ainRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!loca" +
+      "tions.googleapis.com/Location\022E\n\014registr" +
+      "ation\030\002 \001(\0132*.google.cloud.domains.v1bet" +
+      "a1.RegistrationB\003\340A\002\022B\n\016domain_notices\030\003" +
+      " \003(\0162*.google.cloud.domains.v1beta1.Doma" +
+      "inNotice\022D\n\017contact_notices\030\004 \003(\0162+.goog" +
+      "le.cloud.domains.v1beta1.ContactNotice\022-" +
+      "\n\014yearly_price\030\005 \001(\0132\022.google.type.Money" +
+      "B\003\340A\002\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\"w\n\031ListRegistrationsResponse" +
+      "\022A\n\rregistrations\030\001 \003(\0132*.google.cloud.d" +
+      "omains.v1beta1.Registration\022\027\n\017next_page" +
+      "_token\030\002 \001(\t\"S\n\026GetRegistrationRequest\0229" +
+      "\n\004name\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapis" +
+      ".com/Registration\"\223\001\n\031UpdateRegistration" +
+      "Request\022@\n\014registration\030\001 \001(\0132*.google.c" +
+      "loud.domains.v1beta1.Registration\0224\n\013upd" +
+      "ate_mask\030\002 \001(\0132\032.google.protobuf.FieldMa" +
+      "skB\003\340A\002\"\354\001\n\"ConfigureManagementSettingsR" +
+      "equest\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#do" +
+      "mains.googleapis.com/Registration\022M\n\023man" +
+      "agement_settings\030\002 \001(\01320.google.cloud.do" +
+      "mains.v1beta1.ManagementSettings\0224\n\013upda" +
+      "te_mask\030\003 \001(\0132\032.google.protobuf.FieldMas" +
+      "kB\003\340A\002\"\356\001\n\033ConfigureDnsSettingsRequest\022A" +
+      "\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#domains.go" +
+      "ogleapis.com/Registration\022?\n\014dns_setting" +
+      "s\030\002 \001(\0132).google.cloud.domains.v1beta1.D" +
+      "nsSettings\0224\n\013update_mask\030\003 \001(\0132\032.google" +
+      ".protobuf.FieldMaskB\003\340A\002\022\025\n\rvalidate_onl" +
+      "y\030\004 \001(\010\"\300\002\n\037ConfigureContactSettingsRequ" +
+      "est\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#domai" +
+      "ns.googleapis.com/Registration\022G\n\020contac" +
+      "t_settings\030\002 \001(\0132-.google.cloud.domains." +
+      "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.cloud.do" +
+      "mains.v1beta1.ContactNotice\022\025\n\rvalidate_" +
+      "only\030\005 \001(\010\"V\n\031ExportRegistrationRequest\022" +
+      "9\n\004name\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapi" +
+      "s.com/Registration\"V\n\031DeleteRegistration" +
+      "Request\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#domains.g" +
+      "oogleapis.com/Registration\"e\n RetrieveAu" +
+      "thorizationCodeRequest\022A\n\014registration\030\001" +
+      " \001(\tB+\340A\002\372A%\n#domains.googleapis.com/Reg" +
+      "istration\"b\n\035ResetAuthorizationCodeReque" +
+      "st\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#domain" +
+      "s.googleapis.com/Registration\"\241\003\n\022Regist" +
+      "erParameters\022\023\n\013domain_name\030\001 \001(\t\022S\n\014ava" +
+      "ilability\030\002 \001(\0162=.google.cloud.domains.v" +
+      "1beta1.RegisterParameters.Availability\022G" +
+      "\n\021supported_privacy\030\003 \003(\0162,.google.cloud" +
+      ".domains.v1beta1.ContactPrivacy\022B\n\016domai" +
+      "n_notices\030\004 \003(\0162*.google.cloud.domains.v" +
+      "1beta1.DomainNotice\022(\n\014yearly_price\030\005 \001(" +
+      "\0132\022.google.type.Money\"j\n\014Availability\022\034\n" +
+      "\030AVAILABILITY_UNSPECIFIED\020\000\022\r\n\tAVAILABLE" +
+      "\020\001\022\017\n\013UNAVAILABLE\020\002\022\017\n\013UNSUPPORTED\020\003\022\013\n\007" +
+      "UNKNOWN\020\004\"!\n\021AuthorizationCode\022\014\n\004code\030\001" +
+      " \001(\t\"\274\001\n\021OperationMetadata\022/\n\013create_tim" +
+      "e\030\001 \001(\0132\032.google.protobuf.Timestamp\022,\n\010e" +
+      "nd_time\030\002 \001(\0132\032.google.protobuf.Timestam" +
+      "p\022\016\n\006target\030\003 \001(\t\022\014\n\004verb\030\004 \001(\t\022\025\n\rstatu" +
+      "s_detail\030\005 \001(\t\022\023\n\013api_version\030\006 \001(\t*\177\n\016C" +
+      "ontactPrivacy\022\037\n\033CONTACT_PRIVACY_UNSPECI" +
+      "FIED\020\000\022\027\n\023PUBLIC_CONTACT_DATA\020\001\022\030\n\024PRIVA" +
+      "TE_CONTACT_DATA\020\002\022\031\n\025REDACTED_CONTACT_DA" +
+      "TA\020\003*A\n\014DomainNotice\022\035\n\031DOMAIN_NOTICE_UN" +
+      "SPECIFIED\020\000\022\022\n\016HSTS_PRELOADED\020\001*X\n\rConta" +
+      "ctNotice\022\036\n\032CONTACT_NOTICE_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\010UNLOCKED\020\001\022\n\n\006LOC" +
+      "KED\020\0022\246\032\n\007Domains\022\331\001\n\rSearchDomains\0222.go" +
+      "ogle.cloud.domains.v1beta1.SearchDomains" +
+      "Request\0323.google.cloud.domains.v1beta1.S" +
+      "earchDomainsResponse\"_\202\323\344\223\002H\022F/v1beta1/{" +
+      "location=projects/*/locations/*}/registr" +
+      "ations:searchDomains\332A\016location,query\022\223\002" +
+      "\n\032RetrieveRegisterParameters\022?.google.cl" +
+      "oud.domains.v1beta1.RetrieveRegisterPara" +
+      "metersRequest\032@.google.cloud.domains.v1b" +
+      "eta1.RetrieveRegisterParametersResponse\"" +
+      "r\202\323\344\223\002U\022S/v1beta1/{location=projects/*/l" +
+      "ocations/*}/registrations:retrieveRegist" +
+      "erParameters\332A\024location,domain_name\022\370\001\n\016" +
+      "RegisterDomain\0223.google.cloud.domains.v1" +
+      "beta1.RegisterDomainRequest\032\035.google.lon" +
+      "grunning.Operation\"\221\001\202\323\344\223\002D\"?/v1beta1/{p" +
+      "arent=projects/*/locations/*}/registrati" +
+      "ons:register:\001*\332A parent,registration,ye" +
+      "arly_price\312A!\n\014Registration\022\021OperationMe" +
+      "tadata\022\315\001\n\021ListRegistrations\0226.google.cl" +
+      "oud.domains.v1beta1.ListRegistrationsReq" +
+      "uest\0327.google.cloud.domains.v1beta1.List" +
+      "RegistrationsResponse\"G\202\323\344\223\0028\0226/v1beta1/" +
+      "{parent=projects/*/locations/*}/registra" +
+      "tions\332A\006parent\022\272\001\n\017GetRegistration\0224.goo" +
+      "gle.cloud.domains.v1beta1.GetRegistratio" +
+      "nRequest\032*.google.cloud.domains.v1beta1." +
+      "Registration\"E\202\323\344\223\0028\0226/v1beta1/{name=pro" +
+      "jects/*/locations/*/registrations/*}\332A\004n" +
+      "ame\022\207\002\n\022UpdateRegistration\0227.google.clou" +
+      "d.domains.v1beta1.UpdateRegistrationRequ" +
+      "est\032\035.google.longrunning.Operation\"\230\001\202\323\344" +
+      "\223\002S2C/v1beta1/{registration.name=project" +
+      "s/*/locations/*/registrations/*}:\014regist" +
+      "ration\332A\030registration,update_mask\312A!\n\014Re" +
+      "gistration\022\021OperationMetadata\022\271\002\n\033Config" +
+      "ureManagementSettings\022@.google.cloud.dom" +
+      "ains.v1beta1.ConfigureManagementSettings" +
+      "Request\032\035.google.longrunning.Operation\"\270" +
+      "\001\202\323\344\223\002_\"Z/v1beta1/{registration=projects" +
+      "/*/locations/*/registrations/*}:configur" +
+      "eManagementSettings:\001*\332A,registration,ma" +
+      "nagement_settings,update_mask\312A!\n\014Regist" +
+      "ration\022\021OperationMetadata\022\235\002\n\024ConfigureD" +
+      "nsSettings\0229.google.cloud.domains.v1beta" +
+      "1.ConfigureDnsSettingsRequest\032\035.google.l" +
+      "ongrunning.Operation\"\252\001\202\323\344\223\002X\"S/v1beta1/" +
+      "{registration=projects/*/locations/*/reg" +
+      "istrations/*}:configureDnsSettings:\001*\332A%" +
+      "registration,dns_settings,update_mask\312A!" +
+      "\n\014Registration\022\021OperationMetadata\022\255\002\n\030Co" +
+      "nfigureContactSettings\022=.google.cloud.do" +
+      "mains.v1beta1.ConfigureContactSettingsRe" +
+      "quest\032\035.google.longrunning.Operation\"\262\001\202" +
+      "\323\344\223\002\\\"W/v1beta1/{registration=projects/*" +
+      "/locations/*/registrations/*}:configureC" +
+      "ontactSettings:\001*\332A)registration,contact" +
+      "_settings,update_mask\312A!\n\014Registration\022\021" +
+      "OperationMetadata\022\341\001\n\022ExportRegistration" +
+      "\0227.google.cloud.domains.v1beta1.ExportRe" +
+      "gistrationRequest\032\035.google.longrunning.O" +
+      "peration\"s\202\323\344\223\002B\"=/v1beta1/{name=project" +
+      "s/*/locations/*/registrations/*}:export:" +
+      "\001*\332A\004name\312A!\n\014Registration\022\021OperationMet" +
+      "adata\022\340\001\n\022DeleteRegistration\0227.google.cl" +
+      "oud.domains.v1beta1.DeleteRegistrationRe" +
+      "quest\032\035.google.longrunning.Operation\"r\202\323" +
+      "\344\223\0028*6/v1beta1/{name=projects/*/location" +
+      "s/*/registrations/*}\332A\004name\312A*\n\025google.p" +
+      "rotobuf.Empty\022\021OperationMetadata\022\375\001\n\031Ret" +
+      "rieveAuthorizationCode\022>.google.cloud.do" +
+      "mains.v1beta1.RetrieveAuthorizationCodeR" +
+      "equest\032/.google.cloud.domains.v1beta1.Au" +
+      "thorizationCode\"o\202\323\344\223\002Z\022X/v1beta1/{regis" +
+      "tration=projects/*/locations/*/registrat" +
+      "ions/*}:retrieveAuthorizationCode\332A\014regi" +
+      "stration\022\367\001\n\026ResetAuthorizationCode\022;.go" +
+      "ogle.cloud.domains.v1beta1.ResetAuthoriz" +
+      "ationCodeRequest\032/.google.cloud.domains." +
+      "v1beta1.AuthorizationCode\"o\202\323\344\223\002Z\"U/v1be" +
+      "ta1/{registration=projects/*/locations/*" +
+      "/registrations/*}:resetAuthorizationCode" +
+      ":\001*\332A\014registration\032J\312A\026domains.googleapi" +
+      "s.com\322A.https://www.googleapis.com/auth/" +
+      "cloud-platformBw\n com.google.cloud.domai" +
+      "ns.v1beta1B\014DomainsProtoP\001ZCgoogle.golan" +
+      "g.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_ListRegistrationsRequest_descriptor =
+      getDescriptor().getMessageTypes().get(9);
+    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(10);
+    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(11);
+    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(12);
+    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(13);
+    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(14);
+    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(15);
+    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(16);
+    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(17);
+    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(18);
+    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(19);
+    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(20);
+    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_AuthorizationCode_descriptor =
+      getDescriptor().getMessageTypes().get(21);
+    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(22);
+    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 7c7d7e7b..25545967 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,61 +53,53 @@ 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) { throw e.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 @@ -133,32 +108,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -231,127 +204,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() @@ -359,15 +322,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(); @@ -377,9 +341,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 @@ -398,8 +362,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; @@ -409,39 +372,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; @@ -449,8 +411,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(); @@ -474,8 +435,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) { @@ -487,23 +447,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; @@ -512,24 +468,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 { @@ -537,77 +490,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); } @@ -617,12 +557,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(); } @@ -631,16 +571,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; @@ -655,4 +595,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 64% 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 6dcfd5cb..4b4cc5f8 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,61 +53,53 @@ 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) { throw e.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 @@ -133,32 +108,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -231,127 +204,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() @@ -359,15 +322,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(); @@ -377,9 +341,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 @@ -398,8 +362,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; @@ -409,39 +372,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; @@ -449,8 +411,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(); @@ -474,8 +435,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) { @@ -487,23 +447,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; @@ -512,24 +468,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 { @@ -537,77 +490,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); } @@ -617,12 +557,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(); } @@ -631,16 +571,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; @@ -655,4 +595,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 a6abd3d7..3fe37371 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,80 +55,70 @@ 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) { throw e.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 @@ -154,32 +127,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 { @@ -190,14 +161,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 @@ -208,15 +176,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 @@ -225,30 +190,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 { @@ -259,8 +224,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
@@ -278,7 +241,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -287,15 +249,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
@@ -313,15 +274,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 { @@ -330,7 +292,6 @@ public com.google.protobuf.ByteString getFilterBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -342,7 +303,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -368,7 +330,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 (!getPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -384,18 +347,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; } @@ -421,127 +387,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() @@ -549,15 +505,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(); @@ -573,9 +530,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 @@ -594,8 +551,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_; @@ -608,39 +564,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; @@ -648,8 +603,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(); @@ -684,8 +638,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) { @@ -697,23 +650,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; @@ -722,24 +671,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 { @@ -747,85 +693,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 @@ -833,36 +763,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; @@ -870,21 +794,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; @@ -893,22 +815,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 { @@ -916,64 +837,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; @@ -981,8 +895,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
@@ -1000,13 +912,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; @@ -1015,8 +927,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
@@ -1034,14 +944,15 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4; - * * @return The bytes for filter. */ - public com.google.protobuf.ByteString getFilterBytes() { + public com.google.protobuf.ByteString + getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); filter_ = b; return b; } else { @@ -1049,8 +960,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
@@ -1068,22 +977,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
@@ -1101,18 +1008,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
@@ -1130,23 +1034,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); } @@ -1156,12 +1060,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(); } @@ -1170,16 +1074,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; @@ -1194,4 +1098,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 3e1be536..1fd502a5 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,38 +55,35 @@ 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) { throw e.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_); @@ -112,27 +92,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.
    * 
@@ -144,8 +119,6 @@ public java.util.List getRegistra return registrations_; } /** - * - * *
    * A list of `Registration`s.
    * 
@@ -153,13 +126,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.
    * 
@@ -171,8 +142,6 @@ public int getRegistrationsCount() { return registrations_.size(); } /** - * - * *
    * A list of `Registration`s.
    * 
@@ -184,8 +153,6 @@ public com.google.cloud.domains.v1beta1.Registration getRegistrations(int index) return registrations_.get(index); } /** - * - * *
    * A list of `Registration`s.
    * 
@@ -201,15 +168,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 @@ -218,30 +182,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 { @@ -250,7 +214,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < registrations_.size(); i++) { output.writeMessage(1, registrations_.get(i)); } @@ -279,7 +243,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 (!getNextPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -292,16 +257,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -325,127 +291,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() @@ -453,17 +409,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(); @@ -479,9 +435,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 @@ -500,8 +456,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)) { @@ -521,39 +476,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; @@ -561,8 +515,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()) { @@ -581,10 +534,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_); } @@ -613,8 +565,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) { @@ -623,29 +574,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.
      * 
@@ -660,8 +603,6 @@ public java.util.List getRegistra } } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -676,8 +617,6 @@ public int getRegistrationsCount() { } } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -692,8 +631,6 @@ public com.google.cloud.domains.v1beta1.Registration getRegistrations(int index) } } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -715,8 +652,6 @@ public Builder setRegistrations( return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -735,8 +670,6 @@ public Builder setRegistrations( return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -757,8 +690,6 @@ public Builder addRegistrations(com.google.cloud.domains.v1beta1.Registration va return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -780,8 +711,6 @@ public Builder addRegistrations( return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -800,8 +729,6 @@ public Builder addRegistrations( return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -820,8 +747,6 @@ public Builder addRegistrations( return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -832,7 +757,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); @@ -840,8 +766,6 @@ public Builder addAllRegistrations( return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -859,8 +783,6 @@ public Builder clearRegistrations() { return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -878,8 +800,6 @@ public Builder removeRegistrations(int index) { return this; } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -891,8 +811,6 @@ public com.google.cloud.domains.v1beta1.Registration.Builder getRegistrationsBui return getRegistrationsFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -902,22 +820,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 { @@ -925,8 +840,6 @@ public com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationsOr } } /** - * - * *
      * A list of `Registration`s.
      * 
@@ -934,12 +847,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.
      * 
@@ -948,34 +859,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(), @@ -987,21 +890,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; @@ -1010,22 +911,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 { @@ -1033,71 +933,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); } @@ -1107,12 +1000,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(); } @@ -1121,16 +1014,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; @@ -1145,4 +1038,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 134f54a1..45cfc2df 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,67 +54,60 @@ 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) { throw e.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.
      * 
@@ -140,8 +116,6 @@ public enum RenewalMethod implements com.google.protobuf.ProtocolMessageEnum { */ RENEWAL_METHOD_UNSPECIFIED(0), /** - * - * *
      * The domain is automatically renewed each year .
      * To disable automatic renewals, export the domain by calling
@@ -152,8 +126,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`
@@ -169,8 +141,6 @@ public enum RenewalMethod implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The renewal method is undefined.
      * 
@@ -179,8 +149,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, export the domain by calling
@@ -191,8 +159,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`
@@ -205,6 +171,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(
@@ -229,51 +196,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;
@@ -293,85 +258,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; @@ -383,16 +321,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); @@ -404,16 +338,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; @@ -423,13 +354,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; @@ -454,126 +384,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() @@ -581,15 +502,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(); @@ -601,9 +523,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 @@ -622,8 +544,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(); @@ -634,39 +555,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; @@ -674,8 +594,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()); } @@ -701,8 +620,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) { @@ -714,103 +632,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; @@ -818,67 +706,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. */ @@ -886,31 +758,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); } @@ -920,12 +789,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(); } @@ -934,16 +803,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; @@ -958,4 +827,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 043c8003..3ba51317 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,109 +56,96 @@ 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) { throw e.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 @@ -183,14 +153,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 @@ -198,8 +165,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time the operation was created.
    * 
@@ -214,14 +179,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 @@ -229,14 +191,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 @@ -244,8 +203,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time the operation finished running.
    * 
@@ -260,14 +217,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 @@ -276,29 +230,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 { @@ -309,14 +263,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 @@ -325,29 +276,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 { @@ -358,14 +309,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 @@ -374,29 +322,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 { @@ -407,14 +355,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 @@ -423,29 +368,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 { @@ -454,7 +399,6 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -466,7 +410,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -495,10 +440,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 (!getTargetBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); @@ -520,26 +467,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; } @@ -573,126 +525,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() @@ -700,15 +643,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(); @@ -736,9 +680,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 @@ -757,8 +701,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 { @@ -781,39 +724,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; @@ -821,8 +763,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()); } @@ -864,8 +805,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) { @@ -877,47 +817,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 +865,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 +883,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -969,7 +893,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 +905,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -1001,8 +923,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -1010,13 +930,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 +945,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 +957,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 +972,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 +1000,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1119,15 +1020,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 +1038,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1150,7 +1048,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 +1060,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1182,8 +1078,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1191,13 +1085,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 +1100,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 +1112,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 +1127,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 +1147,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 +1168,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 +1223,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 +1243,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 +1264,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 +1319,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 +1339,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 +1360,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 +1415,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 +1435,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 +1456,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 +1520,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(); } @@ -1686,16 +1534,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; @@ -1710,4 +1558,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 77c295e6..97e565c9 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,111 +56,103 @@ 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) { throw e.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_); @@ -189,36 +164,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 @@ -227,32 +194,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 { @@ -263,16 +228,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 @@ -280,34 +240,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() { @@ -317,47 +266,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 @@ -365,15 +303,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. */ @@ -382,31 +317,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. */ @@ -414,28 +344,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
    * required here depend on the values specified in
@@ -443,18 +366,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
    * required here depend on the values specified in
@@ -462,7 +381,6 @@ public java.util.List getContact
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @return The count of contactNotices. */ @java.lang.Override @@ -470,8 +388,6 @@ public int getContactNoticesCount() { return contactNotices_.size(); } /** - * - * *
    * The list of contact notices that the caller acknowledges. The notices
    * required here depend on the values specified in
@@ -479,7 +395,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. */ @@ -488,8 +403,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
    * required here depend on the values specified in
@@ -497,16 +410,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
    * required here depend on the values specified in
@@ -514,7 +425,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. */ @@ -522,14 +432,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
@@ -537,7 +444,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 @@ -545,8 +451,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
@@ -554,7 +458,6 @@ public boolean hasYearlyPrice() {
    * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The yearlyPrice. */ @java.lang.Override @@ -562,8 +465,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
@@ -580,8 +481,6 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
   public static final int VALIDATE_ONLY_FIELD_NUMBER = 6;
   private boolean validateOnly_;
   /**
-   *
-   *
    * 
    * When true, only validation will be performed, without actually registering
    * the domain. Follows:
@@ -589,7 +488,6 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
    * 
* * bool validate_only = 6; - * * @return The validateOnly. */ @java.lang.Override @@ -598,7 +496,6 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -610,7 +507,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); @@ -651,39 +549,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; @@ -693,26 +592,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; } @@ -743,134 +645,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() @@ -878,15 +771,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(); @@ -914,9 +808,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 @@ -935,8 +829,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) { @@ -968,39 +861,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; @@ -1008,8 +900,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(); @@ -1062,8 +953,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) { @@ -1072,28 +962,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; @@ -1102,24 +987,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 { @@ -1127,70 +1009,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; @@ -1198,58 +1067,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) { @@ -1265,15 +1115,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) { @@ -1287,23 +1133,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; } @@ -1315,15 +1155,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) { @@ -1337,71 +1173,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_); @@ -1409,47 +1229,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. */ @@ -1457,15 +1267,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. @@ -1481,15 +1288,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. */ @@ -1503,15 +1307,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. */ @@ -1525,15 +1326,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() { @@ -1543,30 +1341,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. */ @@ -1574,35 +1367,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. */ @@ -1613,19 +1401,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); @@ -1634,8 +1420,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 +1429,6 @@ private void ensureContactNoticesIsMutable() { } } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * required here depend on the values specified in
@@ -1652,17 +1436,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
      * required here depend on the values specified in
@@ -1670,15 +1450,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
      * required here depend on the values specified in
@@ -1686,7 +1463,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. */ @@ -1694,8 +1470,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
      * required here depend on the values specified in
@@ -1703,7 +1477,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. @@ -1719,8 +1492,6 @@ public Builder setContactNotices( return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * required here depend on the values specified in
@@ -1728,7 +1499,6 @@ public Builder setContactNotices(
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @param value The contactNotices to add. * @return This builder for chaining. */ @@ -1742,8 +1512,6 @@ public Builder addContactNotices(com.google.cloud.domains.v1beta1.ContactNotice return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * required here depend on the values specified in
@@ -1751,7 +1519,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. */ @@ -1765,8 +1532,6 @@ public Builder addAllContactNotices( return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * required here depend on the values specified in
@@ -1774,7 +1539,6 @@ public Builder addAllContactNotices(
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; - * * @return This builder for chaining. */ public Builder clearContactNotices() { @@ -1784,8 +1548,6 @@ public Builder clearContactNotices() { return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * required here depend on the values specified in
@@ -1793,15 +1555,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
      * required here depend on the values specified in
@@ -1809,7 +1569,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. */ @@ -1817,8 +1576,6 @@ public int getContactNoticesValue(int index) { return contactNotices_.get(index); } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * required here depend on the values specified in
@@ -1826,20 +1583,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
      * required here depend on the values specified in
@@ -1847,7 +1602,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. */ @@ -1858,8 +1612,6 @@ public Builder addContactNoticesValue(int value) { return this; } /** - * - * *
      * The list of contact notices that the caller acknowledges. The notices
      * required here depend on the values specified in
@@ -1867,11 +1619,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); @@ -1882,11 +1634,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
@@ -1894,15 +1643,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
@@ -1910,7 +1656,6 @@ public boolean hasYearlyPrice() {
      * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; - * * @return The yearlyPrice. */ public com.google.type.Money getYearlyPrice() { @@ -1921,8 +1666,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
@@ -1945,8 +1688,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
@@ -1955,7 +1696,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();
@@ -1966,8 +1708,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
@@ -1980,7 +1720,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;
         }
@@ -1992,8 +1732,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
@@ -2014,8 +1752,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
@@ -2025,13 +1761,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
@@ -2044,12 +1778,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
@@ -2059,24 +1792,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 will be performed, without actually registering
      * the domain. Follows:
@@ -2084,7 +1814,6 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
      * 
* * bool validate_only = 6; - * * @return The validateOnly. */ @java.lang.Override @@ -2092,8 +1821,6 @@ public boolean getValidateOnly() { return validateOnly_; } /** - * - * *
      * When true, only validation will be performed, without actually registering
      * the domain. Follows:
@@ -2101,19 +1828,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 will be performed, without actually registering
      * the domain. Follows:
@@ -2121,18 +1845,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); } @@ -2142,12 +1865,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(); } @@ -2156,16 +1879,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; @@ -2180,4 +1903,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 3e235fbb..9a859477 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
    * required 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
    * required 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
    * required 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
    * required 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
    * required 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 will be 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 6f5aec65..77b12eeb 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,97 +57,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; + 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) { throw e.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_); @@ -176,35 +153,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.
      * 
@@ -213,8 +184,6 @@ public enum Availability implements com.google.protobuf.ProtocolMessageEnum { */ AVAILABILITY_UNSPECIFIED(0), /** - * - * *
      * The domain is available for registration.
      * 
@@ -223,8 +192,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.
@@ -234,8 +201,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.
@@ -245,8 +210,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.
@@ -259,8 +222,6 @@ public enum Availability implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The availability is unspecified.
      * 
@@ -269,8 +230,6 @@ public enum Availability implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AVAILABILITY_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The domain is available for registration.
      * 
@@ -279,8 +238,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.
@@ -290,8 +247,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.
@@ -301,8 +256,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.
@@ -312,6 +265,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(
@@ -336,55 +290,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;
@@ -404,14 +354,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 +367,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 +400,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 +407,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
@@ -479,61 +420,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 @@ -541,14 +466,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. */ @@ -557,29 +479,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. */ @@ -587,51 +504,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 @@ -639,14 +544,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. */ @@ -655,29 +557,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. */ @@ -685,20 +582,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 +599,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 +611,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 +623,6 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -747,14 +634,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 (!getDomainNameBytes().isEmpty()) { 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) { @@ -786,39 +672,37 @@ public int getSerializedSize() { if (!getDomainNameBytes().isEmpty()) { 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; @@ -828,21 +712,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; @@ -877,126 +762,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() @@ -1004,15 +880,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 +911,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 @@ -1055,8 +932,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_; @@ -1083,39 +959,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; @@ -1123,8 +998,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(); @@ -1174,8 +1048,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) { @@ -1184,25 +1057,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; @@ -1211,21 +1081,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 { @@ -1233,61 +1102,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; @@ -1295,8 +1157,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
@@ -1304,16 +1164,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
@@ -1321,19 +1177,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
@@ -1341,21 +1194,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
@@ -1363,23 +1210,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
@@ -1387,18 +1230,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_); @@ -1406,45 +1248,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. */ @@ -1452,14 +1283,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. @@ -1475,14 +1303,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. */ @@ -1496,14 +1321,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. */ @@ -1517,14 +1339,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() { @@ -1534,28 +1353,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. */ @@ -1563,33 +1377,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. */ @@ -1600,18 +1409,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); @@ -1620,8 +1427,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_); @@ -1629,44 +1436,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. */ @@ -1674,14 +1471,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. @@ -1697,14 +1491,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. */ @@ -1718,14 +1509,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. */ @@ -1739,14 +1527,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() { @@ -1756,28 +1541,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. */ @@ -1785,33 +1565,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. */ @@ -1822,18 +1597,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); @@ -1844,31 +1617,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() { @@ -1879,8 +1645,6 @@ public com.google.type.Money getYearlyPrice() { } } /** - * - * *
      * Price to register or renew the domain for one year.
      * 
@@ -1901,15 +1665,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(); @@ -1920,8 +1683,6 @@ public Builder setYearlyPrice(com.google.type.Money.Builder builderForValue) { return this; } /** - * - * *
      * Price to register or renew the domain for one year.
      * 
@@ -1932,7 +1693,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; } @@ -1944,8 +1705,6 @@ public Builder mergeYearlyPrice(com.google.type.Money value) { return this; } /** - * - * *
      * Price to register or renew the domain for one year.
      * 
@@ -1964,8 +1723,6 @@ public Builder clearYearlyPrice() { return this; } /** - * - * *
      * Price to register or renew the domain for one year.
      * 
@@ -1973,13 +1730,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.
      * 
@@ -1990,12 +1745,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.
      * 
@@ -2003,22 +1757,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); } @@ -2028,12 +1781,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(); } @@ -2042,16 +1795,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; @@ -2066,4 +1819,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 67% 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 3c0f0c4a..903f3ca1 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.
@@ -33,16 +16,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_ = "";
@@ -53,15 +35,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)
@@ -81,198 +64,175 @@ 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) {
       throw e.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_);
@@ -284,46 +244,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.
      * 
@@ -332,8 +287,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The domain is being registered.
      * 
@@ -342,8 +295,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.
@@ -353,8 +304,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     REGISTRATION_FAILED(2),
     /**
-     *
-     *
      * 
      * The domain is registered and operational. The domain renews automatically
      * as long as it remains in this state.
@@ -364,8 +313,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     ACTIVE(6),
     /**
-     *
-     *
      * 
      * The domain is suspended and inoperative. For more details, see the
      * `issues` field.
@@ -375,8 +322,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     SUSPENDED(7),
     /**
-     *
-     *
      * 
      * The domain has been exported from Cloud Domains to
      * [Google Domains](https://domains.google/). You can no longer update it
@@ -392,8 +337,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The state is undefined.
      * 
@@ -402,8 +345,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The domain is being registered.
      * 
@@ -412,8 +353,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.
@@ -423,8 +362,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int REGISTRATION_FAILED_VALUE = 2;
     /**
-     *
-     *
      * 
      * The domain is registered and operational. The domain renews automatically
      * as long as it remains in this state.
@@ -434,8 +371,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.
@@ -445,8 +380,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int SUSPENDED_VALUE = 7;
     /**
-     *
-     *
      * 
      * The domain has been exported from Cloud Domains to
      * [Google Domains](https://domains.google/). You can no longer update it
@@ -459,6 +392,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(
@@ -483,55 +417,52 @@ 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 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 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;
@@ -549,18 +480,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.
      * 
@@ -569,8 +497,6 @@ public enum Issue implements com.google.protobuf.ProtocolMessageEnum { */ ISSUE_UNSPECIFIED(0), /** - * - * *
      * Contact the Cloud Support team to resolve a problem with this domain.
      * 
@@ -579,8 +505,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
@@ -599,8 +523,6 @@ public enum Issue implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The issue is undefined.
      * 
@@ -609,8 +531,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.
      * 
@@ -619,8 +539,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
@@ -636,6 +554,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(
@@ -660,49 +579,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;
@@ -722,15 +641,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 @@ -739,30 +655,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 { @@ -773,16 +689,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 @@ -791,31 +702,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 { @@ -826,15 +735,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 @@ -842,15 +747,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 @@ -858,14 +759,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() { @@ -875,15 +773,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 @@ -891,15 +785,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 @@ -907,14 +797,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() { @@ -924,92 +811,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 @@ -1017,16 +873,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. */ @@ -1035,33 +886,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. */ @@ -1069,27 +911,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_; } @@ -1098,30 +940,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 java.lang.NullPointerException(); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } 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`.
    * 
@@ -1129,12 +969,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`.
    * 
@@ -1142,16 +981,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 java.lang.NullPointerException(); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrDefault( + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Set of labels associated with the `Registration`.
    * 
@@ -1159,11 +998,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 java.lang.NullPointerException(); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1173,8 +1013,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`
@@ -1183,7 +1021,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 @@ -1191,8 +1028,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`
@@ -1201,18 +1036,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`
@@ -1223,16 +1053,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
@@ -1240,7 +1067,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 @@ -1248,8 +1074,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
@@ -1257,18 +1081,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
@@ -1285,18 +1104,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 @@ -1304,38 +1118,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() { @@ -1345,8 +1148,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`
@@ -1357,10 +1158,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 @@ -1368,8 +1166,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`
@@ -1380,21 +1176,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`
@@ -1405,64 +1194,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 @@ -1470,17 +1241,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. */ @@ -1489,35 +1255,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. */ @@ -1525,11 +1282,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; @@ -1541,7 +1296,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); @@ -1555,8 +1311,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) { @@ -1566,8 +1321,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()); } @@ -1603,62 +1362,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; @@ -1668,42 +1431,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; @@ -1764,104 +1535,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.
@@ -1874,43 +1638,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()
@@ -1918,15 +1682,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();
@@ -1981,9 +1746,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
@@ -2002,8 +1767,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_;
@@ -2058,39 +1822,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;
@@ -2126,7 +1889,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());
       }
@@ -2177,26 +1941,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; @@ -2205,22 +1966,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 { @@ -2228,64 +1988,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; @@ -2293,22 +2046,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; @@ -2317,23 +2066,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 { @@ -2341,67 +2087,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; @@ -2409,58 +2142,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) { @@ -2476,17 +2190,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(); @@ -2496,22 +2207,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; } @@ -2523,15 +2230,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) { @@ -2545,64 +2248,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_; @@ -2610,58 +2297,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) { @@ -2677,17 +2345,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(); @@ -2698,21 +2363,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; } @@ -2724,15 +2385,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) { @@ -2746,64 +2403,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_; @@ -2811,75 +2452,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. */ @@ -2887,33 +2504,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_); @@ -2921,50 +2533,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. */ @@ -2972,21 +2568,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(); } @@ -2996,16 +2588,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. */ @@ -3019,16 +2606,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. */ @@ -3042,16 +2624,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() { @@ -3061,32 +2638,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. */ @@ -3094,37 +2662,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. */ @@ -3135,20 +2694,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); @@ -3157,21 +2712,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(); @@ -3183,30 +2739,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 java.lang.NullPointerException(); - } + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } 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`.
      * 
@@ -3214,12 +2768,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`.
      * 
@@ -3227,17 +2780,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 java.lang.NullPointerException(); - } - java.util.Map map = internalGetLabels().getMap(); + java.lang.String key, + java.lang.String defaultValue) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Set of labels associated with the `Registration`.
      * 
@@ -3245,11 +2797,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 java.lang.NullPointerException(); - } - java.util.Map map = internalGetLabels().getMap(); + + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -3257,72 +2810,68 @@ 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 java.lang.NullPointerException(); - } - internalGetMutableLabels().getMutableMap().remove(key); + + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new java.lang.NullPointerException(); } + 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 java.lang.NullPointerException(); - } - if (value == null) { - throw new java.lang.NullPointerException(); - } - internalGetMutableLabels().getMutableMap().put(key, value); + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new java.lang.NullPointerException(); } + if (value == null) { throw new java.lang.NullPointerException(); } + 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`
@@ -3331,15 +2880,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`
@@ -3348,21 +2894,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`
@@ -3372,8 +2913,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();
@@ -3387,8 +2927,6 @@ public Builder setManagementSettings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3410,8 +2948,6 @@ public Builder setManagementSettings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3421,14 +2957,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;
         }
@@ -3440,8 +2973,6 @@ public Builder mergeManagementSettings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3463,8 +2994,6 @@ public Builder clearManagementSettings() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3474,15 +3003,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`
@@ -3492,19 +3018,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`
@@ -3515,17 +3037,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_;
@@ -3533,13 +3052,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
@@ -3547,15 +3061,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
@@ -3563,21 +3074,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
@@ -3600,8 +3106,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
@@ -3622,8 +3126,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
@@ -3636,9 +3138,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;
         }
@@ -3650,8 +3150,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
@@ -3672,8 +3170,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
@@ -3683,13 +3179,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
@@ -3702,14 +3196,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
@@ -3719,17 +3210,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_;
@@ -3737,64 +3225,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) { @@ -3810,17 +3279,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) { @@ -3834,25 +3299,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; } @@ -3864,17 +3323,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) { @@ -3888,70 +3343,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_; @@ -3959,13 +3398,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`
@@ -3976,18 +3410,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`
@@ -3998,24 +3427,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`
@@ -4026,12 +3448,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(); @@ -4045,8 +3464,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`
@@ -4057,9 +3474,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) { @@ -4073,8 +3488,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`
@@ -4085,18 +3498,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; } @@ -4108,8 +3516,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`
@@ -4120,9 +3526,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) { @@ -4136,8 +3540,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`
@@ -4148,19 +3550,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`
@@ -4171,23 +3568,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`
@@ -4198,29 +3589,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_); @@ -4228,54 +3614,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. */ @@ -4283,17 +3652,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. @@ -4309,17 +3673,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. */ @@ -4333,17 +3692,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. */ @@ -4357,17 +3711,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() { @@ -4377,34 +3726,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. */ @@ -4412,39 +3752,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. */ @@ -4455,21 +3786,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); @@ -4477,9 +3804,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); } @@ -4489,12 +3816,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(); } @@ -4503,16 +3830,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; @@ -4527,4 +3854,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 e821d899..234991a7 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,52 +180,52 @@ 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`.
    * 
* * map<string, string> labels = 9; */ - java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue); + + java.lang.String getLabelsOrDefault( + java.lang.String key, + 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`
@@ -322,13 +234,10 @@ public interface RegistrationOrBuilder
    * 
* * .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`
@@ -337,13 +246,10 @@ public interface RegistrationOrBuilder
    * 
* * .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`
@@ -356,8 +262,6 @@ public interface RegistrationOrBuilder
   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
@@ -365,13 +269,10 @@ public interface RegistrationOrBuilder
    * 
* * .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
@@ -379,13 +280,10 @@ public interface RegistrationOrBuilder
    * 
* * .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
@@ -397,55 +295,39 @@ public interface RegistrationOrBuilder
   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`
@@ -456,16 +338,11 @@ public interface RegistrationOrBuilder
    * 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`
@@ -476,16 +353,11 @@ public interface RegistrationOrBuilder
    * 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`
@@ -496,85 +368,59 @@ public interface RegistrationOrBuilder
    * 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 63% 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 0d29b4af..5748cfe9 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,61 +53,53 @@ 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) { throw e.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 @@ -133,32 +108,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 { @@ -167,7 +140,6 @@ public com.google.protobuf.ByteString getRegistrationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -179,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getRegistrationBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -203,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -231,127 +204,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() @@ -359,15 +322,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(); @@ -377,14 +341,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(); } @@ -399,8 +362,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; @@ -410,39 +372,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; @@ -450,9 +411,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(); @@ -476,9 +435,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) { @@ -490,23 +447,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; @@ -515,24 +468,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 { @@ -540,77 +490,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); } @@ -620,32 +557,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; @@ -657,8 +592,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 05b2fbf4..3208526d 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,61 +53,53 @@ 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) { throw e.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 @@ -134,32 +108,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 { @@ -168,7 +140,6 @@ public com.google.protobuf.ByteString getRegistrationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,7 +151,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getRegistrationBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -204,15 +176,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -232,145 +204,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(); @@ -380,14 +341,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(); } @@ -402,8 +362,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; @@ -413,50 +372,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(); @@ -480,9 +435,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) { @@ -494,23 +447,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; @@ -519,24 +468,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 { @@ -544,77 +490,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); } @@ -624,32 +557,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; @@ -661,8 +592,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 287636d1..7c1a8426 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,65 +54,58 @@ 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) { throw e.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 @@ -139,29 +114,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 { @@ -172,16 +147,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 @@ -190,31 +160,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 { @@ -223,7 +191,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -235,7 +202,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getDomainNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domainName_); } @@ -265,16 +233,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; } @@ -296,145 +265,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(); @@ -446,16 +404,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 @@ -469,8 +425,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(); @@ -481,51 +436,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(); @@ -553,9 +503,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) { @@ -567,20 +515,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; @@ -589,21 +535,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 { @@ -611,61 +556,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; @@ -673,22 +611,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; @@ -697,23 +631,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 { @@ -721,74 +652,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); } @@ -798,32 +716,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; @@ -835,8 +751,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 63% 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 552fcf60..f790b653 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,68 +52,59 @@ 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) { throw e.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 @@ -138,25 +112,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.
    * 
@@ -164,13 +131,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; @@ -182,7 +147,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (registerParameters_ != null) { output.writeMessage(1, getRegisterParameters()); } @@ -196,7 +162,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 +173,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; @@ -239,145 +206,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(); @@ -391,16 +347,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 @@ -414,8 +368,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 { @@ -429,51 +382,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()); } @@ -496,9 +444,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) { @@ -510,55 +456,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(); @@ -572,8 +504,6 @@ public Builder setRegisterParameters( return this; } /** - * - * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
@@ -592,22 +522,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; } @@ -619,8 +544,6 @@ public Builder mergeRegisterParameters( return this; } /** - * - * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
@@ -639,42 +562,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.
      * 
@@ -682,24 +596,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); } @@ -709,32 +620,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; @@ -746,8 +655,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/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 d4c684e2..4dc7f50e 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,65 +54,58 @@ 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) { throw e.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 @@ -138,29 +114,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 { @@ -171,16 +147,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 @@ -189,31 +160,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 { @@ -222,7 +191,6 @@ public com.google.protobuf.ByteString getLocationBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -234,7 +202,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!getQueryBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, query_); } @@ -264,16 +233,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; } @@ -295,127 +265,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() @@ -423,15 +383,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(); @@ -443,9 +404,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 @@ -464,8 +425,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(); @@ -476,39 +436,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; @@ -516,8 +475,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(); @@ -545,8 +503,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) { @@ -558,20 +515,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 +535,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 +556,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 +611,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 +631,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 +652,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 +716,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(); } @@ -803,16 +730,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; @@ -827,4 +754,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 8f8cd682..0a4f799d 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,32 +54,29 @@ 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) { throw e.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_); @@ -105,27 +85,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.
    * 
@@ -133,13 +108,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.
    * 
@@ -147,13 +119,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.
    * 
@@ -165,8 +135,6 @@ public int getRegisterParametersCount() { return registerParameters_.size(); } /** - * - * *
    * Results of the domain name search.
    * 
@@ -178,8 +146,6 @@ public com.google.cloud.domains.v1beta1.RegisterParameters getRegisterParameters return registerParameters_.get(index); } /** - * - * *
    * Results of the domain name search.
    * 
@@ -187,13 +153,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; @@ -205,7 +170,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -219,8 +185,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; @@ -230,15 +196,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; } @@ -260,127 +226,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() @@ -388,17 +344,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 +368,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 @@ -433,8 +389,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)) { @@ -453,39 +408,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; @@ -493,8 +447,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()) { @@ -513,10 +466,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_); } @@ -541,8 +493,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) { @@ -551,39 +502,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 { @@ -591,14 +531,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) { @@ -608,14 +545,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) { @@ -625,14 +559,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) { @@ -649,14 +580,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) { @@ -670,17 +598,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(); @@ -694,14 +618,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) { @@ -718,14 +639,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) { @@ -739,14 +657,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) { @@ -760,20 +675,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); @@ -781,14 +694,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) { @@ -801,14 +711,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) { @@ -821,49 +728,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 { @@ -871,62 +768,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(), @@ -935,9 +815,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); } @@ -947,12 +827,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(); } @@ -961,16 +841,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; @@ -985,4 +865,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/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/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 a24da247..831fde48 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,82 +52,72 @@ 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) { throw e.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 @@ -151,25 +125,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.
    * 
@@ -184,17 +151,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` would
    * be `"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 @@ -202,17 +165,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` would
    * be `"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 @@ -220,16 +179,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` would
    * be `"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() { @@ -237,7 +193,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,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 (registration_ != null) { output.writeMessage(1, getRegistration()); } @@ -266,10 +222,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; @@ -279,21 +237,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; @@ -320,127 +279,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() @@ -448,15 +397,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(); @@ -476,9 +426,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 @@ -497,8 +447,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 { @@ -517,39 +466,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; @@ -557,8 +505,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()); } @@ -584,8 +531,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) { @@ -597,47 +543,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.
      * 
@@ -658,8 +591,6 @@ public Builder setRegistration(com.google.cloud.domains.v1beta1.Registration val return this; } /** - * - * *
      * Fields of the `Registration` to update.
      * 
@@ -678,8 +609,6 @@ public Builder setRegistration( return this; } /** - * - * *
      * Fields of the `Registration` to update.
      * 
@@ -690,9 +619,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; } @@ -704,8 +631,6 @@ public Builder mergeRegistration(com.google.cloud.domains.v1beta1.Registration v return this; } /** - * - * *
      * Fields of the `Registration` to update.
      * 
@@ -724,8 +649,6 @@ public Builder clearRegistration() { return this; } /** - * - * *
      * Fields of the `Registration` to update.
      * 
@@ -733,13 +656,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.
      * 
@@ -750,14 +671,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.
      * 
@@ -765,17 +683,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_; @@ -783,61 +698,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` would
      * be `"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` would
      * be `"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` would
      * be `"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) { @@ -853,18 +752,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` would
      * be `"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(); @@ -875,22 +772,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` would
      * be `"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; } @@ -902,16 +796,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` would
      * be `"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) { @@ -925,74 +816,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` would
      * be `"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` would
      * be `"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` would
      * be `"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); } @@ -1002,12 +880,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(); } @@ -1016,16 +894,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; @@ -1040,4 +918,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 0044b211..d054d2b7 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` would
    * be `"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` would
    * be `"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` would
    * be `"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/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 ea4f9421..00000000 --- a/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsProto.java +++ /dev/null @@ -1,720 +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_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_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\"\357\010\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\"z\n\005State\022\025\n\021STATE_" - + "UNSPECIFIED\020\000\022\030\n\024REGISTRATION_PENDING\020\001\022" - + "\027\n\023REGISTRATION_FAILED\020\002\022\n\n\006ACTIVE\020\006\022\r\n\t" - + "SUSPENDED\020\007\022\014\n\010EXPORTED\020\010\"I\n\005Issue\022\025\n\021IS" - + "SUE_UNSPECIFIED\020\000\022\023\n\017CONTACT_SUPPORT\020\001\022\024" - + "\n\020UNVERIFIED_EMAIL\020\002:n\352Ak\n#domains.googl" - + "eapis.com/Registration\022Dprojects/{projec" - + "t}/locations/{location}/registrations/{r" - + "egistration}\"\235\002\n\022ManagementSettings\022\\\n\016r" - + "enewal_method\030\003 \001(\0162?.google.cloud.domai" - + "ns.v1alpha2.ManagementSettings.RenewalMe" - + "thodB\003\340A\003\022M\n\023transfer_lock_state\030\004 \001(\01620" - + ".google.cloud.domains.v1alpha2.TransferL" - + "ockState\"Z\n\rRenewalMethod\022\036\n\032RENEWAL_MET" - + "HOD_UNSPECIFIED\020\000\022\025\n\021AUTOMATIC_RENEWAL\020\001" - + "\022\022\n\016MANUAL_RENEWAL\020\002\"\211\n\n\013DnsSettings\022J\n\n" - + "custom_dns\030\001 \001(\01324.google.cloud.domains." - + "v1alpha2.DnsSettings.CustomDnsH\000\022Y\n\022goog" - + "le_domains_dns\030\002 \001(\0132;.google.cloud.doma" - + "ins.v1alpha2.DnsSettings.GoogleDomainsDn" - + "sH\000\022K\n\014glue_records\030\004 \003(\01325.google.cloud" - + ".domains.v1alpha2.DnsSettings.GlueRecord" - + "\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.doma" - + "ins.v1alpha2.DnsSettings.DsRecord\032\306\001\n\020Go" - + "ogleDomainsDns\022\031\n\014name_servers\030\001 \003(\tB\003\340A" - + "\003\022I\n\010ds_state\030\002 \001(\01622.google.cloud.domai" - + "ns.v1alpha2.DnsSettings.DsStateB\003\340A\002\022L\n\n" - + "ds_records\030\003 \003(\01323.google.cloud.domains." - + "v1alpha2.DnsSettings.DsRecordB\003\340A\003\032\212\004\n\010D" - + "sRecord\022\017\n\007key_tag\030\001 \001(\005\022P\n\talgorithm\030\002 " - + "\001(\0162=.google.cloud.domains.v1alpha2.DnsS" - + "ettings.DsRecord.Algorithm\022S\n\013digest_typ" - + "e\030\003 \001(\0162>.google.cloud.domains.v1alpha2." - + "DnsSettings.DsRecord.DigestType\022\016\n\006diges" - + "t\030\004 \001(\t\"\332\001\n\tAlgorithm\022\031\n\025ALGORITHM_UNSPE" - + "CIFIED\020\000\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\017ECDSAP256SHA256\020\r\022\023\n\017ECDSAP384SHA3" - + "84\020\016\022\013\n\007ED25519\020\017\022\t\n\005ED448\020\020\"Y\n\nDigestTy" - + "pe\022\033\n\027DIGEST_TYPE_UNSPECIFIED\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\032" - + "T\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\016ipv6_addresses\030" - + "\003 \003(\t\"Y\n\007DsState\022\030\n\024DS_STATE_UNSPECIFIED" - + "\020\000\022\032\n\026DS_RECORDS_UNPUBLISHED\020\001\022\030\n\024DS_REC" - + "ORDS_PUBLISHED\020\002B\016\n\014dns_provider\"\343\003\n\017Con" - + "tactSettings\022C\n\007privacy\030\001 \001(\0162-.google.c" - + "loud.domains.v1alpha2.ContactPrivacyB\003\340A" - + "\002\022W\n\022registrant_contact\030\002 \001(\01326.google.c" - + "loud.domains.v1alpha2.ContactSettings.Co" - + "ntactB\003\340A\002\022R\n\radmin_contact\030\003 \001(\01326.goog" - + "le.cloud.domains.v1alpha2.ContactSetting" - + "s.ContactB\003\340A\002\022V\n\021technical_contact\030\004 \001(" - + "\01326.google.cloud.domains.v1alpha2.Contac" - + "tSettings.ContactB\003\340A\002\032\205\001\n\007Contact\0227\n\016po" - + "stal_address\030\001 \001(\0132\032.google.type.PostalA" - + "ddressB\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\024SearchDomainsRequest\022\022\n\005query\030\001 \001(\tB\003\340" - + "A\002\022;\n\010location\030\002 \001(\tB)\340A\002\372A#\n!locations." - + "googleapis.com/Location\"g\n\025SearchDomains" - + "Response\022N\n\023register_parameters\030\001 \003(\01321." - + "google.cloud.domains.v1alpha2.RegisterPa" - + "rameters\"z\n!RetrieveRegisterParametersRe" - + "quest\022\030\n\013domain_name\030\001 \001(\tB\003\340A\002\022;\n\010locat" - + "ion\030\002 \001(\tB)\340A\002\372A#\n!locations.googleapis." - + "com/Location\"t\n\"RetrieveRegisterParamete" - + "rsResponse\022N\n\023register_parameters\030\001 \001(\0132" - + "1.google.cloud.domains.v1alpha2.Register" - + "Parameters\"\354\002\n\025RegisterDomainRequest\0229\n\006" - + "parent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleap" - + "is.com/Location\022F\n\014registration\030\002 \001(\0132+." - + "google.cloud.domains.v1alpha2.Registrati" - + "onB\003\340A\002\022C\n\016domain_notices\030\003 \003(\0162+.google" - + ".cloud.domains.v1alpha2.DomainNotice\022E\n\017" - + "contact_notices\030\004 \003(\0162,.google.cloud.dom" - + "ains.v1alpha2.ContactNotice\022-\n\014yearly_pr" - + "ice\030\005 \001(\0132\022.google.type.MoneyB\003\340A\002\022\025\n\rva" - + "lidate_only\030\006 \001(\010\"\214\001\n\030ListRegistrationsR" - + "equest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!location" - + "s.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" - + "\"x\n\031ListRegistrationsResponse\022B\n\rregistr" - + "ations\030\001 \003(\0132+.google.cloud.domains.v1al" - + "pha2.Registration\022\027\n\017next_page_token\030\002 \001" - + "(\t\"S\n\026GetRegistrationRequest\0229\n\004name\030\001 \001" - + "(\tB+\340A\002\372A%\n#domains.googleapis.com/Regis" - + "tration\"\224\001\n\031UpdateRegistrationRequest\022A\n" - + "\014registration\030\001 \001(\0132+.google.cloud.domai" - + "ns.v1alpha2.Registration\0224\n\013update_mask\030" - + "\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\355" - + "\001\n\"ConfigureManagementSettingsRequest\022A\n" - + "\014registration\030\001 \001(\tB+\340A\002\372A%\n#domains.goo" - + "gleapis.com/Registration\022N\n\023management_s" - + "ettings\030\002 \001(\01321.google.cloud.domains.v1a" - + "lpha2.ManagementSettings\0224\n\013update_mask\030" - + "\003 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\357" - + "\001\n\033ConfigureDnsSettingsRequest\022A\n\014regist" - + "ration\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapis" - + ".com/Registration\022@\n\014dns_settings\030\002 \001(\0132" - + "*.google.cloud.domains.v1alpha2.DnsSetti" - + "ngs\0224\n\013update_mask\030\003 \001(\0132\032.google.protob" - + "uf.FieldMaskB\003\340A\002\022\025\n\rvalidate_only\030\004 \001(\010" - + "\"\302\002\n\037ConfigureContactSettingsRequest\022A\n\014" - + "registration\030\001 \001(\tB+\340A\002\372A%\n#domains.goog" - + "leapis.com/Registration\022H\n\020contact_setti" - + "ngs\030\002 \001(\0132..google.cloud.domains.v1alpha" - + "2.ContactSettings\0224\n\013update_mask\030\003 \001(\0132\032" - + ".google.protobuf.FieldMaskB\003\340A\002\022E\n\017conta" - + "ct_notices\030\004 \003(\0162,.google.cloud.domains." - + "v1alpha2.ContactNotice\022\025\n\rvalidate_only\030" - + "\005 \001(\010\"V\n\031ExportRegistrationRequest\0229\n\004na" - + "me\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapis.com" - + "/Registration\"V\n\031DeleteRegistrationReque" - + "st\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#domains.google" - + "apis.com/Registration\"e\n RetrieveAuthori" - + "zationCodeRequest\022A\n\014registration\030\001 \001(\tB" - + "+\340A\002\372A%\n#domains.googleapis.com/Registra" - + "tion\"b\n\035ResetAuthorizationCodeRequest\022A\n" - + "\014registration\030\001 \001(\tB+\340A\002\372A%\n#domains.goo" - + "gleapis.com/Registration\"\244\003\n\022RegisterPar" - + "ameters\022\023\n\013domain_name\030\001 \001(\t\022T\n\014availabi" - + "lity\030\002 \001(\0162>.google.cloud.domains.v1alph" - + "a2.RegisterParameters.Availability\022H\n\021su" - + "pported_privacy\030\003 \003(\0162-.google.cloud.dom" - + "ains.v1alpha2.ContactPrivacy\022C\n\016domain_n" - + "otices\030\004 \003(\0162+.google.cloud.domains.v1al" - + "pha2.DomainNotice\022(\n\014yearly_price\030\005 \001(\0132" - + "\022.google.type.Money\"j\n\014Availability\022\034\n\030A" - + "VAILABILITY_UNSPECIFIED\020\000\022\r\n\tAVAILABLE\020\001" - + "\022\017\n\013UNAVAILABLE\020\002\022\017\n\013UNSUPPORTED\020\003\022\013\n\007UN" - + "KNOWN\020\004\"!\n\021AuthorizationCode\022\014\n\004code\030\001 \001" - + "(\t\"\274\001\n\021OperationMetadata\022/\n\013create_time\030" - + "\001 \001(\0132\032.google.protobuf.Timestamp\022,\n\010end" - + "_time\030\002 \001(\0132\032.google.protobuf.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_version\030\006 \001(\t*\177\n\016Con" - + "tactPrivacy\022\037\n\033CONTACT_PRIVACY_UNSPECIFI" - + "ED\020\000\022\027\n\023PUBLIC_CONTACT_DATA\020\001\022\030\n\024PRIVATE" - + "_CONTACT_DATA\020\002\022\031\n\025REDACTED_CONTACT_DATA" - + "\020\003*A\n\014DomainNotice\022\035\n\031DOMAIN_NOTICE_UNSP" - + "ECIFIED\020\000\022\022\n\016HSTS_PRELOADED\020\001*X\n\rContact" - + "Notice\022\036\n\032CONTACT_NOTICE_UNSPECIFIED\020\000\022\'" - + "\n#PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT\020\001*" - + "R\n\021TransferLockState\022#\n\037TRANSFER_LOCK_ST" - + "ATE_UNSPECIFIED\020\000\022\014\n\010UNLOCKED\020\001\022\n\n\006LOCKE" - + "D\020\0022\306\032\n\007Domains\022\334\001\n\rSearchDomains\0223.goog" - + "le.cloud.domains.v1alpha2.SearchDomainsR" - + "equest\0324.google.cloud.domains.v1alpha2.S" - + "earchDomainsResponse\"`\202\323\344\223\002I\022G/v1alpha2/" - + "{location=projects/*/locations/*}/regist" - + "rations:searchDomains\332A\016location,query\022\226" - + "\002\n\032RetrieveRegisterParameters\022@.google.c" - + "loud.domains.v1alpha2.RetrieveRegisterPa" - + "rametersRequest\032A.google.cloud.domains.v" - + "1alpha2.RetrieveRegisterParametersRespon" - + "se\"s\202\323\344\223\002V\022T/v1alpha2/{location=projects" - + "/*/locations/*}/registrations:retrieveRe" - + "gisterParameters\332A\024location,domain_name\022" - + "\372\001\n\016RegisterDomain\0224.google.cloud.domain" - + "s.v1alpha2.RegisterDomainRequest\032\035.googl" - + "e.longrunning.Operation\"\222\001\202\323\344\223\002E\"@/v1alp" - + "ha2/{parent=projects/*/locations/*}/regi" - + "strations:register:\001*\332A parent,registrat" - + "ion,yearly_price\312A!\n\014Registration\022\021Opera" - + "tionMetadata\022\320\001\n\021ListRegistrations\0227.goo" - + "gle.cloud.domains.v1alpha2.ListRegistrat" - + "ionsRequest\0328.google.cloud.domains.v1alp" - + "ha2.ListRegistrationsResponse\"H\202\323\344\223\0029\0227/" - + "v1alpha2/{parent=projects/*/locations/*}" - + "/registrations\332A\006parent\022\275\001\n\017GetRegistrat" - + "ion\0225.google.cloud.domains.v1alpha2.GetR" - + "egistrationRequest\032+.google.cloud.domain" - + "s.v1alpha2.Registration\"F\202\323\344\223\0029\0227/v1alph" - + "a2/{name=projects/*/locations/*/registra" - + "tions/*}\332A\004name\022\211\002\n\022UpdateRegistration\0228" - + ".google.cloud.domains.v1alpha2.UpdateReg" - + "istrationRequest\032\035.google.longrunning.Op" - + "eration\"\231\001\202\323\344\223\002T2D/v1alpha2/{registratio" - + "n.name=projects/*/locations/*/registrati" - + "ons/*}:\014registration\332A\030registration,upda" - + "te_mask\312A!\n\014Registration\022\021OperationMetad" - + "ata\022\273\002\n\033ConfigureManagementSettings\022A.go" - + "ogle.cloud.domains.v1alpha2.ConfigureMan" - + "agementSettingsRequest\032\035.google.longrunn" - + "ing.Operation\"\271\001\202\323\344\223\002`\"[/v1alpha2/{regis" - + "tration=projects/*/locations/*/registrat" - + "ions/*}:configureManagementSettings:\001*\332A" - + ",registration,management_settings,update" - + "_mask\312A!\n\014Registration\022\021OperationMetadat" - + "a\022\237\002\n\024ConfigureDnsSettings\022:.google.clou" - + "d.domains.v1alpha2.ConfigureDnsSettingsR" - + "equest\032\035.google.longrunning.Operation\"\253\001" - + "\202\323\344\223\002Y\"T/v1alpha2/{registration=projects" - + "/*/locations/*/registrations/*}:configur" - + "eDnsSettings:\001*\332A%registration,dns_setti" - + "ngs,update_mask\312A!\n\014Registration\022\021Operat" - + "ionMetadata\022\257\002\n\030ConfigureContactSettings" - + "\022>.google.cloud.domains.v1alpha2.Configu" - + "reContactSettingsRequest\032\035.google.longru" - + "nning.Operation\"\263\001\202\323\344\223\002]\"X/v1alpha2/{reg" - + "istration=projects/*/locations/*/registr" - + "ations/*}:configureContactSettings:\001*\332A)" - + "registration,contact_settings,update_mas" - + "k\312A!\n\014Registration\022\021OperationMetadata\022\343\001" - + "\n\022ExportRegistration\0228.google.cloud.doma" - + "ins.v1alpha2.ExportRegistrationRequest\032\035" - + ".google.longrunning.Operation\"t\202\323\344\223\002C\">/" - + "v1alpha2/{name=projects/*/locations/*/re" - + "gistrations/*}:export:\001*\332A\004name\312A!\n\014Regi" - + "stration\022\021OperationMetadata\022\342\001\n\022DeleteRe" - + "gistration\0228.google.cloud.domains.v1alph" - + "a2.DeleteRegistrationRequest\032\035.google.lo" - + "ngrunning.Operation\"s\202\323\344\223\0029*7/v1alpha2/{" - + "name=projects/*/locations/*/registration" - + "s/*}\332A\004name\312A*\n\025google.protobuf.Empty\022\021O" - + "perationMetadata\022\200\002\n\031RetrieveAuthorizati" - + "onCode\022?.google.cloud.domains.v1alpha2.R" - + "etrieveAuthorizationCodeRequest\0320.google" - + ".cloud.domains.v1alpha2.AuthorizationCod" - + "e\"p\202\323\344\223\002[\022Y/v1alpha2/{registration=proje" - + "cts/*/locations/*/registrations/*}:retri" - + "eveAuthorizationCode\332A\014registration\022\372\001\n\026" - + "ResetAuthorizationCode\022<.google.cloud.do" - + "mains.v1alpha2.ResetAuthorizationCodeReq" - + "uest\0320.google.cloud.domains.v1alpha2.Aut" - + "horizationCode\"p\202\323\344\223\002[\"V/v1alpha2/{regis" - + "tration=projects/*/locations/*/registrat" - + "ions/*}:resetAuthorizationCode:\001*\332A\014regi" - + "stration\032J\312A\026domains.googleapis.com\322A.ht" - + "tps://www.googleapis.com/auth/cloud-plat" - + "formBy\n!com.google.cloud.domains.v1alpha" - + "2B\014DomainsProtoP\001ZDgoogle.golang.org/gen" - + "proto/googleapis/cloud/domains/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_ListRegistrationsRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - 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(10); - 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(11); - 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(12); - 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(13); - 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(14); - 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(15); - 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(16); - 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(17); - 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(18); - 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(19); - 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(20); - 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_AuthorizationCode_descriptor = - getDescriptor().getMessageTypes().get(21); - 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(22); - 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 aa4bcd2e..00000000 --- a/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsProto.java +++ /dev/null @@ -1,710 +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_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_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\"\347\010\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\"z\n\005State\022\025\n\021STATE_UNSPECIFIE" - + "D\020\000\022\030\n\024REGISTRATION_PENDING\020\001\022\027\n\023REGISTR" - + "ATION_FAILED\020\002\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_UNSPEC" - + "IFIED\020\000\022\023\n\017CONTACT_SUPPORT\020\001\022\024\n\020UNVERIFI" - + "ED_EMAIL\020\002:n\352Ak\n#domains.googleapis.com/" - + "Registration\022Dprojects/{project}/locatio" - + "ns/{location}/registrations/{registratio" - + "n}\"\233\002\n\022ManagementSettings\022[\n\016renewal_met" - + "hod\030\003 \001(\0162>.google.cloud.domains.v1beta1" - + ".ManagementSettings.RenewalMethodB\003\340A\003\022L" - + "\n\023transfer_lock_state\030\004 \001(\0162/.google.clo" - + "ud.domains.v1beta1.TransferLockState\"Z\n\r" - + "RenewalMethod\022\036\n\032RENEWAL_METHOD_UNSPECIF" - + "IED\020\000\022\025\n\021AUTOMATIC_RENEWAL\020\001\022\022\n\016MANUAL_R" - + "ENEWAL\020\002\"\201\n\n\013DnsSettings\022I\n\ncustom_dns\030\001" - + " \001(\01323.google.cloud.domains.v1beta1.DnsS" - + "ettings.CustomDnsH\000\022X\n\022google_domains_dn" - + "s\030\002 \001(\0132:.google.cloud.domains.v1beta1.D" - + "nsSettings.GoogleDomainsDnsH\000\022J\n\014glue_re" - + "cords\030\004 \003(\01324.google.cloud.domains.v1bet" - + "a1.DnsSettings.GlueRecord\032n\n\tCustomDns\022\031" - + "\n\014name_servers\030\001 \003(\tB\003\340A\002\022F\n\nds_records\030" - + "\002 \003(\01322.google.cloud.domains.v1beta1.Dns" - + "Settings.DsRecord\032\304\001\n\020GoogleDomainsDns\022\031" - + "\n\014name_servers\030\001 \003(\tB\003\340A\003\022H\n\010ds_state\030\002 " - + "\001(\01621.google.cloud.domains.v1beta1.DnsSe" - + "ttings.DsStateB\003\340A\002\022K\n\nds_records\030\003 \003(\0132" - + "2.google.cloud.domains.v1beta1.DnsSettin" - + "gs.DsRecordB\003\340A\003\032\210\004\n\010DsRecord\022\017\n\007key_tag" - + "\030\001 \001(\005\022O\n\talgorithm\030\002 \001(\0162<.google.cloud" - + ".domains.v1beta1.DnsSettings.DsRecord.Al" - + "gorithm\022R\n\013digest_type\030\003 \001(\0162=.google.cl" - + "oud.domains.v1beta1.DnsSettings.DsRecord" - + ".DigestType\022\016\n\006digest\030\004 \001(\t\"\332\001\n\tAlgorith" - + "m\022\031\n\025ALGORITHM_UNSPECIFIED\020\000\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\tRS" - + "ASHA512\020\n\022\013\n\007ECCGOST\020\014\022\023\n\017ECDSAP256SHA25" - + "6\020\r\022\023\n\017ECDSAP384SHA384\020\016\022\013\n\007ED25519\020\017\022\t\n" - + "\005ED448\020\020\"Y\n\nDigestType\022\033\n\027DIGEST_TYPE_UN" - + "SPECIFIED\020\000\022\010\n\004SHA1\020\001\022\n\n\006SHA256\020\002\022\014\n\010GOS" - + "T3411\020\003\022\n\n\006SHA384\020\004\032T\n\nGlueRecord\022\026\n\thos" - + "t_name\030\001 \001(\tB\003\340A\002\022\026\n\016ipv4_addresses\030\002 \003(" - + "\t\022\026\n\016ipv6_addresses\030\003 \003(\t\"Y\n\007DsState\022\030\n\024" - + "DS_STATE_UNSPECIFIED\020\000\022\032\n\026DS_RECORDS_UNP" - + "UBLISHED\020\001\022\030\n\024DS_RECORDS_PUBLISHED\020\002B\016\n\014" - + "dns_provider\"\337\003\n\017ContactSettings\022B\n\007priv" - + "acy\030\001 \001(\0162,.google.cloud.domains.v1beta1" - + ".ContactPrivacyB\003\340A\002\022V\n\022registrant_conta" - + "ct\030\002 \001(\01325.google.cloud.domains.v1beta1." - + "ContactSettings.ContactB\003\340A\002\022Q\n\radmin_co" - + "ntact\030\003 \001(\01325.google.cloud.domains.v1bet" - + "a1.ContactSettings.ContactB\003\340A\002\022U\n\021techn" - + "ical_contact\030\004 \001(\01325.google.cloud.domain" - + "s.v1beta1.ContactSettings.ContactB\003\340A\002\032\205" - + "\001\n\007Contact\0227\n\016postal_address\030\001 \001(\0132\032.goo" - + "gle.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\nfa" - + "x_number\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!locations.googleapis.com/Location\"" - + "f\n\025SearchDomainsResponse\022M\n\023register_par" - + "ameters\030\001 \003(\01320.google.cloud.domains.v1b" - + "eta1.RegisterParameters\"z\n!RetrieveRegis" - + "terParametersRequest\022\030\n\013domain_name\030\001 \001(" - + "\tB\003\340A\002\022;\n\010location\030\002 \001(\tB)\340A\002\372A#\n!locati" - + "ons.googleapis.com/Location\"s\n\"RetrieveR" - + "egisterParametersResponse\022M\n\023register_pa" - + "rameters\030\001 \001(\01320.google.cloud.domains.v1" - + "beta1.RegisterParameters\"\351\002\n\025RegisterDom" - + "ainRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!loca" - + "tions.googleapis.com/Location\022E\n\014registr" - + "ation\030\002 \001(\0132*.google.cloud.domains.v1bet" - + "a1.RegistrationB\003\340A\002\022B\n\016domain_notices\030\003" - + " \003(\0162*.google.cloud.domains.v1beta1.Doma" - + "inNotice\022D\n\017contact_notices\030\004 \003(\0162+.goog" - + "le.cloud.domains.v1beta1.ContactNotice\022-" - + "\n\014yearly_price\030\005 \001(\0132\022.google.type.Money" - + "B\003\340A\002\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\"w\n\031ListRegistrationsResponse" - + "\022A\n\rregistrations\030\001 \003(\0132*.google.cloud.d" - + "omains.v1beta1.Registration\022\027\n\017next_page" - + "_token\030\002 \001(\t\"S\n\026GetRegistrationRequest\0229" - + "\n\004name\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapis" - + ".com/Registration\"\223\001\n\031UpdateRegistration" - + "Request\022@\n\014registration\030\001 \001(\0132*.google.c" - + "loud.domains.v1beta1.Registration\0224\n\013upd" - + "ate_mask\030\002 \001(\0132\032.google.protobuf.FieldMa" - + "skB\003\340A\002\"\354\001\n\"ConfigureManagementSettingsR" - + "equest\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#do" - + "mains.googleapis.com/Registration\022M\n\023man" - + "agement_settings\030\002 \001(\01320.google.cloud.do" - + "mains.v1beta1.ManagementSettings\0224\n\013upda" - + "te_mask\030\003 \001(\0132\032.google.protobuf.FieldMas" - + "kB\003\340A\002\"\356\001\n\033ConfigureDnsSettingsRequest\022A" - + "\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#domains.go" - + "ogleapis.com/Registration\022?\n\014dns_setting" - + "s\030\002 \001(\0132).google.cloud.domains.v1beta1.D" - + "nsSettings\0224\n\013update_mask\030\003 \001(\0132\032.google" - + ".protobuf.FieldMaskB\003\340A\002\022\025\n\rvalidate_onl" - + "y\030\004 \001(\010\"\300\002\n\037ConfigureContactSettingsRequ" - + "est\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#domai" - + "ns.googleapis.com/Registration\022G\n\020contac" - + "t_settings\030\002 \001(\0132-.google.cloud.domains." - + "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.cloud.do" - + "mains.v1beta1.ContactNotice\022\025\n\rvalidate_" - + "only\030\005 \001(\010\"V\n\031ExportRegistrationRequest\022" - + "9\n\004name\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapi" - + "s.com/Registration\"V\n\031DeleteRegistration" - + "Request\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#domains.g" - + "oogleapis.com/Registration\"e\n RetrieveAu" - + "thorizationCodeRequest\022A\n\014registration\030\001" - + " \001(\tB+\340A\002\372A%\n#domains.googleapis.com/Reg" - + "istration\"b\n\035ResetAuthorizationCodeReque" - + "st\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#domain" - + "s.googleapis.com/Registration\"\241\003\n\022Regist" - + "erParameters\022\023\n\013domain_name\030\001 \001(\t\022S\n\014ava" - + "ilability\030\002 \001(\0162=.google.cloud.domains.v" - + "1beta1.RegisterParameters.Availability\022G" - + "\n\021supported_privacy\030\003 \003(\0162,.google.cloud" - + ".domains.v1beta1.ContactPrivacy\022B\n\016domai" - + "n_notices\030\004 \003(\0162*.google.cloud.domains.v" - + "1beta1.DomainNotice\022(\n\014yearly_price\030\005 \001(" - + "\0132\022.google.type.Money\"j\n\014Availability\022\034\n" - + "\030AVAILABILITY_UNSPECIFIED\020\000\022\r\n\tAVAILABLE" - + "\020\001\022\017\n\013UNAVAILABLE\020\002\022\017\n\013UNSUPPORTED\020\003\022\013\n\007" - + "UNKNOWN\020\004\"!\n\021AuthorizationCode\022\014\n\004code\030\001" - + " \001(\t\"\274\001\n\021OperationMetadata\022/\n\013create_tim" - + "e\030\001 \001(\0132\032.google.protobuf.Timestamp\022,\n\010e" - + "nd_time\030\002 \001(\0132\032.google.protobuf.Timestam" - + "p\022\016\n\006target\030\003 \001(\t\022\014\n\004verb\030\004 \001(\t\022\025\n\rstatu" - + "s_detail\030\005 \001(\t\022\023\n\013api_version\030\006 \001(\t*\177\n\016C" - + "ontactPrivacy\022\037\n\033CONTACT_PRIVACY_UNSPECI" - + "FIED\020\000\022\027\n\023PUBLIC_CONTACT_DATA\020\001\022\030\n\024PRIVA" - + "TE_CONTACT_DATA\020\002\022\031\n\025REDACTED_CONTACT_DA" - + "TA\020\003*A\n\014DomainNotice\022\035\n\031DOMAIN_NOTICE_UN" - + "SPECIFIED\020\000\022\022\n\016HSTS_PRELOADED\020\001*X\n\rConta" - + "ctNotice\022\036\n\032CONTACT_NOTICE_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\010UNLOCKED\020\001\022\n\n\006LOC" - + "KED\020\0022\246\032\n\007Domains\022\331\001\n\rSearchDomains\0222.go" - + "ogle.cloud.domains.v1beta1.SearchDomains" - + "Request\0323.google.cloud.domains.v1beta1.S" - + "earchDomainsResponse\"_\202\323\344\223\002H\022F/v1beta1/{" - + "location=projects/*/locations/*}/registr" - + "ations:searchDomains\332A\016location,query\022\223\002" - + "\n\032RetrieveRegisterParameters\022?.google.cl" - + "oud.domains.v1beta1.RetrieveRegisterPara" - + "metersRequest\032@.google.cloud.domains.v1b" - + "eta1.RetrieveRegisterParametersResponse\"" - + "r\202\323\344\223\002U\022S/v1beta1/{location=projects/*/l" - + "ocations/*}/registrations:retrieveRegist" - + "erParameters\332A\024location,domain_name\022\370\001\n\016" - + "RegisterDomain\0223.google.cloud.domains.v1" - + "beta1.RegisterDomainRequest\032\035.google.lon" - + "grunning.Operation\"\221\001\202\323\344\223\002D\"?/v1beta1/{p" - + "arent=projects/*/locations/*}/registrati" - + "ons:register:\001*\332A parent,registration,ye" - + "arly_price\312A!\n\014Registration\022\021OperationMe" - + "tadata\022\315\001\n\021ListRegistrations\0226.google.cl" - + "oud.domains.v1beta1.ListRegistrationsReq" - + "uest\0327.google.cloud.domains.v1beta1.List" - + "RegistrationsResponse\"G\202\323\344\223\0028\0226/v1beta1/" - + "{parent=projects/*/locations/*}/registra" - + "tions\332A\006parent\022\272\001\n\017GetRegistration\0224.goo" - + "gle.cloud.domains.v1beta1.GetRegistratio" - + "nRequest\032*.google.cloud.domains.v1beta1." - + "Registration\"E\202\323\344\223\0028\0226/v1beta1/{name=pro" - + "jects/*/locations/*/registrations/*}\332A\004n" - + "ame\022\207\002\n\022UpdateRegistration\0227.google.clou" - + "d.domains.v1beta1.UpdateRegistrationRequ" - + "est\032\035.google.longrunning.Operation\"\230\001\202\323\344" - + "\223\002S2C/v1beta1/{registration.name=project" - + "s/*/locations/*/registrations/*}:\014regist" - + "ration\332A\030registration,update_mask\312A!\n\014Re" - + "gistration\022\021OperationMetadata\022\271\002\n\033Config" - + "ureManagementSettings\022@.google.cloud.dom" - + "ains.v1beta1.ConfigureManagementSettings" - + "Request\032\035.google.longrunning.Operation\"\270" - + "\001\202\323\344\223\002_\"Z/v1beta1/{registration=projects" - + "/*/locations/*/registrations/*}:configur" - + "eManagementSettings:\001*\332A,registration,ma" - + "nagement_settings,update_mask\312A!\n\014Regist" - + "ration\022\021OperationMetadata\022\235\002\n\024ConfigureD" - + "nsSettings\0229.google.cloud.domains.v1beta" - + "1.ConfigureDnsSettingsRequest\032\035.google.l" - + "ongrunning.Operation\"\252\001\202\323\344\223\002X\"S/v1beta1/" - + "{registration=projects/*/locations/*/reg" - + "istrations/*}:configureDnsSettings:\001*\332A%" - + "registration,dns_settings,update_mask\312A!" - + "\n\014Registration\022\021OperationMetadata\022\255\002\n\030Co" - + "nfigureContactSettings\022=.google.cloud.do" - + "mains.v1beta1.ConfigureContactSettingsRe" - + "quest\032\035.google.longrunning.Operation\"\262\001\202" - + "\323\344\223\002\\\"W/v1beta1/{registration=projects/*" - + "/locations/*/registrations/*}:configureC" - + "ontactSettings:\001*\332A)registration,contact" - + "_settings,update_mask\312A!\n\014Registration\022\021" - + "OperationMetadata\022\341\001\n\022ExportRegistration" - + "\0227.google.cloud.domains.v1beta1.ExportRe" - + "gistrationRequest\032\035.google.longrunning.O" - + "peration\"s\202\323\344\223\002B\"=/v1beta1/{name=project" - + "s/*/locations/*/registrations/*}:export:" - + "\001*\332A\004name\312A!\n\014Registration\022\021OperationMet" - + "adata\022\340\001\n\022DeleteRegistration\0227.google.cl" - + "oud.domains.v1beta1.DeleteRegistrationRe" - + "quest\032\035.google.longrunning.Operation\"r\202\323" - + "\344\223\0028*6/v1beta1/{name=projects/*/location" - + "s/*/registrations/*}\332A\004name\312A*\n\025google.p" - + "rotobuf.Empty\022\021OperationMetadata\022\375\001\n\031Ret" - + "rieveAuthorizationCode\022>.google.cloud.do" - + "mains.v1beta1.RetrieveAuthorizationCodeR" - + "equest\032/.google.cloud.domains.v1beta1.Au" - + "thorizationCode\"o\202\323\344\223\002Z\022X/v1beta1/{regis" - + "tration=projects/*/locations/*/registrat" - + "ions/*}:retrieveAuthorizationCode\332A\014regi" - + "stration\022\367\001\n\026ResetAuthorizationCode\022;.go" - + "ogle.cloud.domains.v1beta1.ResetAuthoriz" - + "ationCodeRequest\032/.google.cloud.domains." - + "v1beta1.AuthorizationCode\"o\202\323\344\223\002Z\"U/v1be" - + "ta1/{registration=projects/*/locations/*" - + "/registrations/*}:resetAuthorizationCode" - + ":\001*\332A\014registration\032J\312A\026domains.googleapi" - + "s.com\322A.https://www.googleapis.com/auth/" - + "cloud-platformBw\n com.google.cloud.domai" - + "ns.v1beta1B\014DomainsProtoP\001ZCgoogle.golan" - + "g.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_ListRegistrationsRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - 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(10); - 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(11); - 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(12); - 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(13); - 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(14); - 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(15); - 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(16); - 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(17); - 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(18); - 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(19); - 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(20); - 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_AuthorizationCode_descriptor = - getDescriptor().getMessageTypes().get(21); - 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(22); - 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 ac89efc192b11805186a88df164fc052ccec14ea Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 3 Aug 2021 22:43:25 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/master/packages/owl-bot/README.md --- .../cloud/domains/v1alpha2/DomainsClient.java | 104 +- .../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 - .../cloud/domains/v1beta1/DomainsClient.java | 104 +- .../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 - .../domains/v1alpha2/DomainsClientTest.java | 0 .../cloud/domains/v1alpha2/MockDomains.java | 0 .../domains/v1alpha2/MockDomainsImpl.java | 0 .../domains/v1beta1/DomainsClientTest.java | 0 .../cloud/domains/v1beta1/MockDomains.java | 0 .../domains/v1beta1/MockDomainsImpl.java | 0 .../cloud/domains/v1alpha2/DomainsGrpc.java | 1939 ++++++++++ .../cloud/domains/v1beta1/DomainsGrpc.java | 1938 ++++++++++ .../cloud/domains/v1alpha2/DomainsGrpc.java | 1486 -------- .../DeleteRegistrationRequestOrBuilder.java | 31 - .../cloud/domains/v1alpha2/DomainsProto.java | 649 ---- .../ExportRegistrationRequestOrBuilder.java | 31 - .../GetRegistrationRequestOrBuilder.java | 31 - ...esetAuthorizationCodeRequestOrBuilder.java | 31 - ...ieveAuthorizationCodeRequestOrBuilder.java | 31 - .../cloud/domains/v1beta1/DomainsGrpc.java | 1486 -------- .../DeleteRegistrationRequestOrBuilder.java | 31 - .../cloud/domains/v1beta1/DomainsProto.java | 647 ---- .../ExportRegistrationRequestOrBuilder.java | 31 - .../GetRegistrationRequestOrBuilder.java | 31 - ...esetAuthorizationCodeRequestOrBuilder.java | 31 - ...ieveAuthorizationCodeRequestOrBuilder.java | 31 - .../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 | 3364 +++++++++++------ .../v1alpha2/DnsSettingsOrBuilder.java | 61 +- .../cloud/domains/v1alpha2/DomainNotice.java | 75 +- .../cloud/domains/v1alpha2/DomainsProto.java | 720 ++++ .../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 | 2129 +++++++---- .../domains/v1alpha2/RegistrationName.java | 0 .../v1alpha2/RegistrationOrBuilder.java | 256 +- .../ResetAuthorizationCodeRequest.java | 363 +- ...esetAuthorizationCodeRequestOrBuilder.java | 56 + .../RetrieveAuthorizationCodeRequest.java | 378 +- ...ieveAuthorizationCodeRequestOrBuilder.java | 56 + .../RetrieveRegisterParametersRequest.java | 457 ++- ...eveRegisterParametersRequestOrBuilder.java | 44 +- .../RetrieveRegisterParametersResponse.java | 390 +- ...veRegisterParametersResponseOrBuilder.java | 26 +- .../v1alpha2/SearchDomainsRequest.java | 421 ++- .../SearchDomainsRequestOrBuilder.java | 44 +- .../v1alpha2/SearchDomainsResponse.java | 465 ++- .../SearchDomainsResponseOrBuilder.java | 48 +- .../domains/v1alpha2/TransferLockState.java | 80 +- .../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 | 3330 ++++++++++------ .../domains/v1beta1/DnsSettingsOrBuilder.java | 52 +- .../cloud/domains/v1beta1/DomainNotice.java | 75 +- .../cloud/domains/v1beta1/DomainsProto.java | 710 ++++ .../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 | 2121 +++++++---- .../domains/v1beta1/RegistrationName.java | 0 .../v1beta1/RegistrationOrBuilder.java | 256 +- .../ResetAuthorizationCodeRequest.java | 360 +- ...esetAuthorizationCodeRequestOrBuilder.java | 56 + .../RetrieveAuthorizationCodeRequest.java | 374 +- ...ieveAuthorizationCodeRequestOrBuilder.java | 56 + .../RetrieveRegisterParametersRequest.java | 457 ++- ...eveRegisterParametersRequestOrBuilder.java | 44 +- .../RetrieveRegisterParametersResponse.java | 390 +- ...veRegisterParametersResponseOrBuilder.java | 26 +- .../domains/v1beta1/SearchDomainsRequest.java | 421 ++- .../SearchDomainsRequestOrBuilder.java | 44 +- .../v1beta1/SearchDomainsResponse.java | 442 ++- .../SearchDomainsResponseOrBuilder.java | 33 +- .../domains/v1beta1/TransferLockState.java | 80 +- .../v1beta1/UpdateRegistrationRequest.java | 468 ++- .../UpdateRegistrationRequestOrBuilder.java | 43 +- .../cloud/domains/v1beta1/domains.proto | 0 146 files changed, 30088 insertions(+), 17829 deletions(-) rename {owl-bot-staging/v1alpha2/google-cloud-domains => google-cloud-domains}/src/main/java/com/google/cloud/domains/v1alpha2/DomainsClient.java (95%) 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/v1beta1/google-cloud-domains => google-cloud-domains}/src/main/java/com/google/cloud/domains/v1beta1/DomainsClient.java (95%) 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/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/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%) 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/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/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 (65%) 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 (74%) 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 (67%) 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/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 (69%) 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/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/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 (74%) 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 (64%) 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 (67%) 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 (63%) 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 (63%) 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/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/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/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%) 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 95% 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 f8a855b5..aa88601b 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 @@ -62,13 +62,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. *
* @@ -828,9 +828,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: @@ -865,9 +865,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: @@ -897,9 +897,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: @@ -929,9 +929,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: @@ -1449,13 +1449,13 @@ public final OperationFuture configureContactSe *

If the export is successful: * *

    - *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud + *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud * Domains - *
  • Because individual users can own domains in Google Domains, the calling user becomes the + *
  • Because individual users can own domains in Google Domains, the calling user becomes the * domain's sole owner. Permissions for the domain are subsequently managed in Google * Domains. - *
  • Without further action, the domain does not renew automatically. The new owner can set - * up billing in Google Domains to renew the domain if needed. + *
  • Without further action, the domain does not renew automatically. The new owner can set up + * billing in Google Domains to renew the domain if needed. *
* *

Sample code: @@ -1488,13 +1488,13 @@ public final OperationFuture exportRegistration *

If the export is successful: * *

    - *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud + *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud * Domains - *
  • Because individual users can own domains in Google Domains, the calling user becomes the + *
  • Because individual users can own domains in Google Domains, the calling user becomes the * domain's sole owner. Permissions for the domain are subsequently managed in Google * Domains. - *
  • Without further action, the domain does not renew automatically. The new owner can set - * up billing in Google Domains to renew the domain if needed. + *
  • Without further action, the domain does not renew automatically. The new owner can set up + * billing in Google Domains to renew the domain if needed. *
* *

Sample code: @@ -1525,13 +1525,13 @@ public final OperationFuture exportRegistration *

If the export is successful: * *

    - *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud + *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud * Domains - *
  • Because individual users can own domains in Google Domains, the calling user becomes the + *
  • Because individual users can own domains in Google Domains, the calling user becomes the * domain's sole owner. Permissions for the domain are subsequently managed in Google * Domains. - *
  • Without further action, the domain does not renew automatically. The new owner can set - * up billing in Google Domains to renew the domain if needed. + *
  • Without further action, the domain does not renew automatically. The new owner can set up + * billing in Google Domains to renew the domain if needed. *
* *

Sample code: @@ -1562,13 +1562,13 @@ public final OperationFuture exportRegistration *

If the export is successful: * *

    - *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud + *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud * Domains - *
  • Because individual users can own domains in Google Domains, the calling user becomes the + *
  • Because individual users can own domains in Google Domains, the calling user becomes the * domain's sole owner. Permissions for the domain are subsequently managed in Google * Domains. - *
  • Without further action, the domain does not renew automatically. The new owner can set - * up billing in Google Domains to renew the domain if needed. + *
  • Without further action, the domain does not renew automatically. The new owner can set up + * billing in Google Domains to renew the domain if needed. *
* *

Sample code: @@ -1599,13 +1599,13 @@ public final OperationFuture exportRegistration *

If the export is successful: * *

    - *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud + *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud * Domains - *
  • Because individual users can own domains in Google Domains, the calling user becomes the + *
  • Because individual users can own domains in Google Domains, the calling user becomes the * domain's sole owner. Permissions for the domain are subsequently managed in Google * Domains. - *
  • Without further action, the domain does not renew automatically. The new owner can set - * up billing in Google Domains to renew the domain if needed. + *
  • Without further action, the domain does not renew automatically. The new owner can set up + * billing in Google Domains to renew the domain if needed. *
* *

Sample code: @@ -1633,8 +1633,8 @@ public final UnaryCallable exportRegistrat *

This method only works on resources in one of the following states: * *

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

Sample code: @@ -1666,8 +1666,8 @@ public final OperationFuture deleteRegistrationAsync( *

This method only works on resources in one of the following states: * *

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

Sample code: @@ -1696,8 +1696,8 @@ public final OperationFuture deleteRegistrationAsync(S *

This method only works on resources in one of the following states: * *

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

Sample code: @@ -1727,8 +1727,8 @@ public final OperationFuture deleteRegistrationAsync( *

This method only works on resources in one of the following states: * *

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

Sample code: @@ -1758,8 +1758,8 @@ public final OperationFuture deleteRegistrationAsync( *

This method only works on resources in one of the following states: * *

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

Sample code: @@ -2039,7 +2039,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( @@ -2060,7 +2063,9 @@ private ListRegistrationsPagedResponse(ListRegistrationsPage page) { public static class ListRegistrationsPage extends AbstractPage< - ListRegistrationsRequest, ListRegistrationsResponse, Registration, + ListRegistrationsRequest, + ListRegistrationsResponse, + Registration, ListRegistrationsPage> { private ListRegistrationsPage( @@ -2090,7 +2095,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 59667d66..6af9e402 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 @@ -28,7 +28,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; @@ -45,9 +44,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 94820174..ffd9d74d 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 @@ -81,9 +81,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 @@ -196,7 +196,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 57c392e2..23bff2a2 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 @@ -52,7 +52,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/DomainsClient.java b/google-cloud-domains/src/main/java/com/google/cloud/domains/v1beta1/DomainsClient.java similarity index 95% 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 15cc895d..c84af520 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 @@ -62,13 +62,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. *
* @@ -828,9 +828,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: @@ -865,9 +865,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: @@ -897,9 +897,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: @@ -929,9 +929,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: @@ -1449,13 +1449,13 @@ public final OperationFuture configureContactSe *

If the export is successful: * *

    - *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud + *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud * Domains - *
  • Because individual users can own domains in Google Domains, the calling user becomes the + *
  • Because individual users can own domains in Google Domains, the calling user becomes the * domain's sole owner. Permissions for the domain are subsequently managed in Google * Domains. - *
  • Without further action, the domain does not renew automatically. The new owner can set - * up billing in Google Domains to renew the domain if needed. + *
  • Without further action, the domain does not renew automatically. The new owner can set up + * billing in Google Domains to renew the domain if needed. *
* *

Sample code: @@ -1488,13 +1488,13 @@ public final OperationFuture exportRegistration *

If the export is successful: * *

    - *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud + *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud * Domains - *
  • Because individual users can own domains in Google Domains, the calling user becomes the + *
  • Because individual users can own domains in Google Domains, the calling user becomes the * domain's sole owner. Permissions for the domain are subsequently managed in Google * Domains. - *
  • Without further action, the domain does not renew automatically. The new owner can set - * up billing in Google Domains to renew the domain if needed. + *
  • Without further action, the domain does not renew automatically. The new owner can set up + * billing in Google Domains to renew the domain if needed. *
* *

Sample code: @@ -1525,13 +1525,13 @@ public final OperationFuture exportRegistration *

If the export is successful: * *

    - *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud + *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud * Domains - *
  • Because individual users can own domains in Google Domains, the calling user becomes the + *
  • Because individual users can own domains in Google Domains, the calling user becomes the * domain's sole owner. Permissions for the domain are subsequently managed in Google * Domains. - *
  • Without further action, the domain does not renew automatically. The new owner can set - * up billing in Google Domains to renew the domain if needed. + *
  • Without further action, the domain does not renew automatically. The new owner can set up + * billing in Google Domains to renew the domain if needed. *
* *

Sample code: @@ -1562,13 +1562,13 @@ public final OperationFuture exportRegistration *

If the export is successful: * *

    - *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud + *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud * Domains - *
  • Because individual users can own domains in Google Domains, the calling user becomes the + *
  • Because individual users can own domains in Google Domains, the calling user becomes the * domain's sole owner. Permissions for the domain are subsequently managed in Google * Domains. - *
  • Without further action, the domain does not renew automatically. The new owner can set - * up billing in Google Domains to renew the domain if needed. + *
  • Without further action, the domain does not renew automatically. The new owner can set up + * billing in Google Domains to renew the domain if needed. *
* *

Sample code: @@ -1599,13 +1599,13 @@ public final OperationFuture exportRegistration *

If the export is successful: * *

    - *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud + *
  • The resource's `state` becomes `EXPORTED`, meaning that it is no longer managed by Cloud * Domains - *
  • Because individual users can own domains in Google Domains, the calling user becomes the + *
  • Because individual users can own domains in Google Domains, the calling user becomes the * domain's sole owner. Permissions for the domain are subsequently managed in Google * Domains. - *
  • Without further action, the domain does not renew automatically. The new owner can set - * up billing in Google Domains to renew the domain if needed. + *
  • Without further action, the domain does not renew automatically. The new owner can set up + * billing in Google Domains to renew the domain if needed. *
* *

Sample code: @@ -1633,8 +1633,8 @@ public final UnaryCallable exportRegistrat *

This method only works on resources in one of the following states: * *

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

Sample code: @@ -1666,8 +1666,8 @@ public final OperationFuture deleteRegistrationAsync( *

This method only works on resources in one of the following states: * *

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

Sample code: @@ -1696,8 +1696,8 @@ public final OperationFuture deleteRegistrationAsync(S *

This method only works on resources in one of the following states: * *

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

Sample code: @@ -1727,8 +1727,8 @@ public final OperationFuture deleteRegistrationAsync( *

This method only works on resources in one of the following states: * *

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

Sample code: @@ -1758,8 +1758,8 @@ public final OperationFuture deleteRegistrationAsync( *

This method only works on resources in one of the following states: * *

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

Sample code: @@ -2039,7 +2039,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( @@ -2060,7 +2063,9 @@ private ListRegistrationsPagedResponse(ListRegistrationsPage page) { public static class ListRegistrationsPage extends AbstractPage< - ListRegistrationsRequest, ListRegistrationsResponse, Registration, + ListRegistrationsRequest, + ListRegistrationsResponse, + Registration, ListRegistrationsPage> { private ListRegistrationsPage( @@ -2090,7 +2095,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 d4803efb..0461621f 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 @@ -28,7 +28,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; @@ -45,9 +44,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 793fe2a8..25df33c0 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 @@ -81,9 +81,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 @@ -196,7 +196,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 7ef3e2b8..b49013c0 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 @@ -52,7 +52,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/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/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/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..1894960b --- /dev/null +++ b/grpc-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsGrpc.java @@ -0,0 +1,1939 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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") +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.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); + } + + /** + * + * + *
+     * 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` that you no longer want to use with
+     * Cloud Domains. You can continue to use the domain in
+     * [Google Domains](https://domains.google/) until it expires.
+     * If the export is successful:
+     * * The resource's `state` becomes `EXPORTED`, meaning that it is no longer
+     * managed by Cloud Domains
+     * * Because individual users can own domains in Google Domains, the calling
+     * user becomes the domain's sole owner. Permissions for the domain are
+     * subsequently managed in Google Domains.
+     * * Without further action, the domain does not renew automatically.
+     * The new owner can set up billing in Google Domains to renew the domain
+     * if needed.
+     * 
+ */ + 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 only works on resources in one of the following states:
+     * * `state` is `EXPORTED` with `expire_time` in the past
+     * * `state` is `REGISTRATION_FAILED`
+     * 
+ */ + 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( + 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); + } + + /** + * + * + *
+     * 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` that you no longer want to use with
+     * Cloud Domains. You can continue to use the domain in
+     * [Google Domains](https://domains.google/) until it expires.
+     * If the export is successful:
+     * * The resource's `state` becomes `EXPORTED`, meaning that it is no longer
+     * managed by Cloud Domains
+     * * Because individual users can own domains in Google Domains, the calling
+     * user becomes the domain's sole owner. Permissions for the domain are
+     * subsequently managed in Google Domains.
+     * * Without further action, the domain does not renew automatically.
+     * The new owner can set up billing in Google Domains to renew the domain
+     * if needed.
+     * 
+ */ + 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 only works on resources in one of the following states:
+     * * `state` is `EXPORTED` with `expire_time` in the past
+     * * `state` is `REGISTRATION_FAILED`
+     * 
+ */ + 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); + } + + /** + * + * + *
+     * 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` that you no longer want to use with
+     * Cloud Domains. You can continue to use the domain in
+     * [Google Domains](https://domains.google/) until it expires.
+     * If the export is successful:
+     * * The resource's `state` becomes `EXPORTED`, meaning that it is no longer
+     * managed by Cloud Domains
+     * * Because individual users can own domains in Google Domains, the calling
+     * user becomes the domain's sole owner. Permissions for the domain are
+     * subsequently managed in Google Domains.
+     * * Without further action, the domain does not renew automatically.
+     * The new owner can set up billing in Google Domains to renew the domain
+     * if needed.
+     * 
+ */ + 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 only works on resources in one of the following states:
+     * * `state` is `EXPORTED` with `expire_time` in the past
+     * * `state` is `REGISTRATION_FAILED`
+     * 
+ */ + 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); + } + + /** + * + * + *
+     * 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` that you no longer want to use with
+     * Cloud Domains. You can continue to use the domain in
+     * [Google Domains](https://domains.google/) until it expires.
+     * If the export is successful:
+     * * The resource's `state` becomes `EXPORTED`, meaning that it is no longer
+     * managed by Cloud Domains
+     * * Because individual users can own domains in Google Domains, the calling
+     * user becomes the domain's sole owner. Permissions for the domain are
+     * subsequently managed in Google Domains.
+     * * Without further action, the domain does not renew automatically.
+     * The new owner can set up billing in Google Domains to renew the domain
+     * if needed.
+     * 
+ */ + 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 only works on resources in one of the following states:
+     * * `state` is `EXPORTED` with `expire_time` in the past
+     * * `state` is `REGISTRATION_FAILED`
+     * 
+ */ + 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_LIST_REGISTRATIONS = 3; + private static final int METHODID_GET_REGISTRATION = 4; + private static final int METHODID_UPDATE_REGISTRATION = 5; + private static final int METHODID_CONFIGURE_MANAGEMENT_SETTINGS = 6; + private static final int METHODID_CONFIGURE_DNS_SETTINGS = 7; + private static final int METHODID_CONFIGURE_CONTACT_SETTINGS = 8; + private static final int METHODID_EXPORT_REGISTRATION = 9; + private static final int METHODID_DELETE_REGISTRATION = 10; + private static final int METHODID_RETRIEVE_AUTHORIZATION_CODE = 11; + private static final int METHODID_RESET_AUTHORIZATION_CODE = 12; + + 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_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(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..792350dd --- /dev/null +++ b/grpc-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsGrpc.java @@ -0,0 +1,1938 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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") +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.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); + } + + /** + * + * + *
+     * 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` that you no longer want to use with
+     * Cloud Domains. You can continue to use the domain in
+     * [Google Domains](https://domains.google/) until it expires.
+     * If the export is successful:
+     * * The resource's `state` becomes `EXPORTED`, meaning that it is no longer
+     * managed by Cloud Domains
+     * * Because individual users can own domains in Google Domains, the calling
+     * user becomes the domain's sole owner. Permissions for the domain are
+     * subsequently managed in Google Domains.
+     * * Without further action, the domain does not renew automatically.
+     * The new owner can set up billing in Google Domains to renew the domain
+     * if needed.
+     * 
+ */ + 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 only works on resources in one of the following states:
+     * * `state` is `EXPORTED` with `expire_time` in the past
+     * * `state` is `REGISTRATION_FAILED`
+     * 
+ */ + 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( + 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); + } + + /** + * + * + *
+     * 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` that you no longer want to use with
+     * Cloud Domains. You can continue to use the domain in
+     * [Google Domains](https://domains.google/) until it expires.
+     * If the export is successful:
+     * * The resource's `state` becomes `EXPORTED`, meaning that it is no longer
+     * managed by Cloud Domains
+     * * Because individual users can own domains in Google Domains, the calling
+     * user becomes the domain's sole owner. Permissions for the domain are
+     * subsequently managed in Google Domains.
+     * * Without further action, the domain does not renew automatically.
+     * The new owner can set up billing in Google Domains to renew the domain
+     * if needed.
+     * 
+ */ + 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 only works on resources in one of the following states:
+     * * `state` is `EXPORTED` with `expire_time` in the past
+     * * `state` is `REGISTRATION_FAILED`
+     * 
+ */ + 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); + } + + /** + * + * + *
+     * 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` that you no longer want to use with
+     * Cloud Domains. You can continue to use the domain in
+     * [Google Domains](https://domains.google/) until it expires.
+     * If the export is successful:
+     * * The resource's `state` becomes `EXPORTED`, meaning that it is no longer
+     * managed by Cloud Domains
+     * * Because individual users can own domains in Google Domains, the calling
+     * user becomes the domain's sole owner. Permissions for the domain are
+     * subsequently managed in Google Domains.
+     * * Without further action, the domain does not renew automatically.
+     * The new owner can set up billing in Google Domains to renew the domain
+     * if needed.
+     * 
+ */ + 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 only works on resources in one of the following states:
+     * * `state` is `EXPORTED` with `expire_time` in the past
+     * * `state` is `REGISTRATION_FAILED`
+     * 
+ */ + 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); + } + + /** + * + * + *
+     * 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` that you no longer want to use with
+     * Cloud Domains. You can continue to use the domain in
+     * [Google Domains](https://domains.google/) until it expires.
+     * If the export is successful:
+     * * The resource's `state` becomes `EXPORTED`, meaning that it is no longer
+     * managed by Cloud Domains
+     * * Because individual users can own domains in Google Domains, the calling
+     * user becomes the domain's sole owner. Permissions for the domain are
+     * subsequently managed in Google Domains.
+     * * Without further action, the domain does not renew automatically.
+     * The new owner can set up billing in Google Domains to renew the domain
+     * if needed.
+     * 
+ */ + 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 only works on resources in one of the following states:
+     * * `state` is `EXPORTED` with `expire_time` in the past
+     * * `state` is `REGISTRATION_FAILED`
+     * 
+ */ + 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_LIST_REGISTRATIONS = 3; + private static final int METHODID_GET_REGISTRATION = 4; + private static final int METHODID_UPDATE_REGISTRATION = 5; + private static final int METHODID_CONFIGURE_MANAGEMENT_SETTINGS = 6; + private static final int METHODID_CONFIGURE_DNS_SETTINGS = 7; + private static final int METHODID_CONFIGURE_CONTACT_SETTINGS = 8; + private static final int METHODID_EXPORT_REGISTRATION = 9; + private static final int METHODID_DELETE_REGISTRATION = 10; + private static final int METHODID_RETRIEVE_AUTHORIZATION_CODE = 11; + private static final int METHODID_RESET_AUTHORIZATION_CODE = 12; + + 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_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(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/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 fd0e4559..00000000 --- a/owl-bot-staging/v1alpha2/grpc-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsGrpc.java +++ /dev/null @@ -1,1486 +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") -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 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); - } - - /** - *
-     * 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` that you no longer want to use with
-     * Cloud Domains. You can continue to use the domain in
-     * [Google Domains](https://domains.google/) until it expires.
-     * If the export is successful:
-     * * The resource's `state` becomes `EXPORTED`, meaning that it is no longer
-     * managed by Cloud Domains
-     * * Because individual users can own domains in Google Domains, the calling
-     * user becomes the domain's sole owner. Permissions for the domain are
-     * subsequently managed in Google Domains.
-     * * Without further action, the domain does not renew automatically.
-     * The new owner can set up billing in Google Domains to renew the domain
-     * if needed.
-     * 
- */ - 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 only works on resources in one of the following states:
-     * * `state` is `EXPORTED` with `expire_time` in the past
-     * * `state` is `REGISTRATION_FAILED`
-     * 
- */ - 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( - 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); - } - - /** - *
-     * 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` that you no longer want to use with
-     * Cloud Domains. You can continue to use the domain in
-     * [Google Domains](https://domains.google/) until it expires.
-     * If the export is successful:
-     * * The resource's `state` becomes `EXPORTED`, meaning that it is no longer
-     * managed by Cloud Domains
-     * * Because individual users can own domains in Google Domains, the calling
-     * user becomes the domain's sole owner. Permissions for the domain are
-     * subsequently managed in Google Domains.
-     * * Without further action, the domain does not renew automatically.
-     * The new owner can set up billing in Google Domains to renew the domain
-     * if needed.
-     * 
- */ - 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 only works on resources in one of the following states:
-     * * `state` is `EXPORTED` with `expire_time` in the past
-     * * `state` is `REGISTRATION_FAILED`
-     * 
- */ - 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); - } - - /** - *
-     * 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` that you no longer want to use with
-     * Cloud Domains. You can continue to use the domain in
-     * [Google Domains](https://domains.google/) until it expires.
-     * If the export is successful:
-     * * The resource's `state` becomes `EXPORTED`, meaning that it is no longer
-     * managed by Cloud Domains
-     * * Because individual users can own domains in Google Domains, the calling
-     * user becomes the domain's sole owner. Permissions for the domain are
-     * subsequently managed in Google Domains.
-     * * Without further action, the domain does not renew automatically.
-     * The new owner can set up billing in Google Domains to renew the domain
-     * if needed.
-     * 
- */ - 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 only works on resources in one of the following states:
-     * * `state` is `EXPORTED` with `expire_time` in the past
-     * * `state` is `REGISTRATION_FAILED`
-     * 
- */ - 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); - } - - /** - *
-     * 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` that you no longer want to use with
-     * Cloud Domains. You can continue to use the domain in
-     * [Google Domains](https://domains.google/) until it expires.
-     * If the export is successful:
-     * * The resource's `state` becomes `EXPORTED`, meaning that it is no longer
-     * managed by Cloud Domains
-     * * Because individual users can own domains in Google Domains, the calling
-     * user becomes the domain's sole owner. Permissions for the domain are
-     * subsequently managed in Google Domains.
-     * * Without further action, the domain does not renew automatically.
-     * The new owner can set up billing in Google Domains to renew the domain
-     * if needed.
-     * 
- */ - 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 only works on resources in one of the following states:
-     * * `state` is `EXPORTED` with `expire_time` in the past
-     * * `state` is `REGISTRATION_FAILED`
-     * 
- */ - 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_LIST_REGISTRATIONS = 3; - private static final int METHODID_GET_REGISTRATION = 4; - private static final int METHODID_UPDATE_REGISTRATION = 5; - private static final int METHODID_CONFIGURE_MANAGEMENT_SETTINGS = 6; - private static final int METHODID_CONFIGURE_DNS_SETTINGS = 7; - private static final int METHODID_CONFIGURE_CONTACT_SETTINGS = 8; - private static final int METHODID_EXPORT_REGISTRATION = 9; - private static final int METHODID_DELETE_REGISTRATION = 10; - private static final int METHODID_RETRIEVE_AUTHORIZATION_CODE = 11; - private static final int METHODID_RESET_AUTHORIZATION_CODE = 12; - - 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_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(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 be5c07f2..00000000 --- a/owl-bot-staging/v1alpha2/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsProto.java +++ /dev/null @@ -1,649 +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_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_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\"\357\010\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\"z\n\005State\022\025\n\021STATE_" + - "UNSPECIFIED\020\000\022\030\n\024REGISTRATION_PENDING\020\001\022" + - "\027\n\023REGISTRATION_FAILED\020\002\022\n\n\006ACTIVE\020\006\022\r\n\t" + - "SUSPENDED\020\007\022\014\n\010EXPORTED\020\010\"I\n\005Issue\022\025\n\021IS" + - "SUE_UNSPECIFIED\020\000\022\023\n\017CONTACT_SUPPORT\020\001\022\024" + - "\n\020UNVERIFIED_EMAIL\020\002:n\352Ak\n#domains.googl" + - "eapis.com/Registration\022Dprojects/{projec" + - "t}/locations/{location}/registrations/{r" + - "egistration}\"\235\002\n\022ManagementSettings\022\\\n\016r" + - "enewal_method\030\003 \001(\0162?.google.cloud.domai" + - "ns.v1alpha2.ManagementSettings.RenewalMe" + - "thodB\003\340A\003\022M\n\023transfer_lock_state\030\004 \001(\01620" + - ".google.cloud.domains.v1alpha2.TransferL" + - "ockState\"Z\n\rRenewalMethod\022\036\n\032RENEWAL_MET" + - "HOD_UNSPECIFIED\020\000\022\025\n\021AUTOMATIC_RENEWAL\020\001" + - "\022\022\n\016MANUAL_RENEWAL\020\002\"\211\n\n\013DnsSettings\022J\n\n" + - "custom_dns\030\001 \001(\01324.google.cloud.domains." + - "v1alpha2.DnsSettings.CustomDnsH\000\022Y\n\022goog" + - "le_domains_dns\030\002 \001(\0132;.google.cloud.doma" + - "ins.v1alpha2.DnsSettings.GoogleDomainsDn" + - "sH\000\022K\n\014glue_records\030\004 \003(\01325.google.cloud" + - ".domains.v1alpha2.DnsSettings.GlueRecord" + - "\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.doma" + - "ins.v1alpha2.DnsSettings.DsRecord\032\306\001\n\020Go" + - "ogleDomainsDns\022\031\n\014name_servers\030\001 \003(\tB\003\340A" + - "\003\022I\n\010ds_state\030\002 \001(\01622.google.cloud.domai" + - "ns.v1alpha2.DnsSettings.DsStateB\003\340A\002\022L\n\n" + - "ds_records\030\003 \003(\01323.google.cloud.domains." + - "v1alpha2.DnsSettings.DsRecordB\003\340A\003\032\212\004\n\010D" + - "sRecord\022\017\n\007key_tag\030\001 \001(\005\022P\n\talgorithm\030\002 " + - "\001(\0162=.google.cloud.domains.v1alpha2.DnsS" + - "ettings.DsRecord.Algorithm\022S\n\013digest_typ" + - "e\030\003 \001(\0162>.google.cloud.domains.v1alpha2." + - "DnsSettings.DsRecord.DigestType\022\016\n\006diges" + - "t\030\004 \001(\t\"\332\001\n\tAlgorithm\022\031\n\025ALGORITHM_UNSPE" + - "CIFIED\020\000\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\017ECDSAP256SHA256\020\r\022\023\n\017ECDSAP384SHA3" + - "84\020\016\022\013\n\007ED25519\020\017\022\t\n\005ED448\020\020\"Y\n\nDigestTy" + - "pe\022\033\n\027DIGEST_TYPE_UNSPECIFIED\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\032" + - "T\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\016ipv6_addresses\030" + - "\003 \003(\t\"Y\n\007DsState\022\030\n\024DS_STATE_UNSPECIFIED" + - "\020\000\022\032\n\026DS_RECORDS_UNPUBLISHED\020\001\022\030\n\024DS_REC" + - "ORDS_PUBLISHED\020\002B\016\n\014dns_provider\"\343\003\n\017Con" + - "tactSettings\022C\n\007privacy\030\001 \001(\0162-.google.c" + - "loud.domains.v1alpha2.ContactPrivacyB\003\340A" + - "\002\022W\n\022registrant_contact\030\002 \001(\01326.google.c" + - "loud.domains.v1alpha2.ContactSettings.Co" + - "ntactB\003\340A\002\022R\n\radmin_contact\030\003 \001(\01326.goog" + - "le.cloud.domains.v1alpha2.ContactSetting" + - "s.ContactB\003\340A\002\022V\n\021technical_contact\030\004 \001(" + - "\01326.google.cloud.domains.v1alpha2.Contac" + - "tSettings.ContactB\003\340A\002\032\205\001\n\007Contact\0227\n\016po" + - "stal_address\030\001 \001(\0132\032.google.type.PostalA" + - "ddressB\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\024SearchDomainsRequest\022\022\n\005query\030\001 \001(\tB\003\340" + - "A\002\022;\n\010location\030\002 \001(\tB)\340A\002\372A#\n!locations." + - "googleapis.com/Location\"g\n\025SearchDomains" + - "Response\022N\n\023register_parameters\030\001 \003(\01321." + - "google.cloud.domains.v1alpha2.RegisterPa" + - "rameters\"z\n!RetrieveRegisterParametersRe" + - "quest\022\030\n\013domain_name\030\001 \001(\tB\003\340A\002\022;\n\010locat" + - "ion\030\002 \001(\tB)\340A\002\372A#\n!locations.googleapis." + - "com/Location\"t\n\"RetrieveRegisterParamete" + - "rsResponse\022N\n\023register_parameters\030\001 \001(\0132" + - "1.google.cloud.domains.v1alpha2.Register" + - "Parameters\"\354\002\n\025RegisterDomainRequest\0229\n\006" + - "parent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleap" + - "is.com/Location\022F\n\014registration\030\002 \001(\0132+." + - "google.cloud.domains.v1alpha2.Registrati" + - "onB\003\340A\002\022C\n\016domain_notices\030\003 \003(\0162+.google" + - ".cloud.domains.v1alpha2.DomainNotice\022E\n\017" + - "contact_notices\030\004 \003(\0162,.google.cloud.dom" + - "ains.v1alpha2.ContactNotice\022-\n\014yearly_pr" + - "ice\030\005 \001(\0132\022.google.type.MoneyB\003\340A\002\022\025\n\rva" + - "lidate_only\030\006 \001(\010\"\214\001\n\030ListRegistrationsR" + - "equest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!location" + - "s.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" + - "\"x\n\031ListRegistrationsResponse\022B\n\rregistr" + - "ations\030\001 \003(\0132+.google.cloud.domains.v1al" + - "pha2.Registration\022\027\n\017next_page_token\030\002 \001" + - "(\t\"S\n\026GetRegistrationRequest\0229\n\004name\030\001 \001" + - "(\tB+\340A\002\372A%\n#domains.googleapis.com/Regis" + - "tration\"\224\001\n\031UpdateRegistrationRequest\022A\n" + - "\014registration\030\001 \001(\0132+.google.cloud.domai" + - "ns.v1alpha2.Registration\0224\n\013update_mask\030" + - "\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\355" + - "\001\n\"ConfigureManagementSettingsRequest\022A\n" + - "\014registration\030\001 \001(\tB+\340A\002\372A%\n#domains.goo" + - "gleapis.com/Registration\022N\n\023management_s" + - "ettings\030\002 \001(\01321.google.cloud.domains.v1a" + - "lpha2.ManagementSettings\0224\n\013update_mask\030" + - "\003 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\357" + - "\001\n\033ConfigureDnsSettingsRequest\022A\n\014regist" + - "ration\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapis" + - ".com/Registration\022@\n\014dns_settings\030\002 \001(\0132" + - "*.google.cloud.domains.v1alpha2.DnsSetti" + - "ngs\0224\n\013update_mask\030\003 \001(\0132\032.google.protob" + - "uf.FieldMaskB\003\340A\002\022\025\n\rvalidate_only\030\004 \001(\010" + - "\"\302\002\n\037ConfigureContactSettingsRequest\022A\n\014" + - "registration\030\001 \001(\tB+\340A\002\372A%\n#domains.goog" + - "leapis.com/Registration\022H\n\020contact_setti" + - "ngs\030\002 \001(\0132..google.cloud.domains.v1alpha" + - "2.ContactSettings\0224\n\013update_mask\030\003 \001(\0132\032" + - ".google.protobuf.FieldMaskB\003\340A\002\022E\n\017conta" + - "ct_notices\030\004 \003(\0162,.google.cloud.domains." + - "v1alpha2.ContactNotice\022\025\n\rvalidate_only\030" + - "\005 \001(\010\"V\n\031ExportRegistrationRequest\0229\n\004na" + - "me\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapis.com" + - "/Registration\"V\n\031DeleteRegistrationReque" + - "st\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#domains.google" + - "apis.com/Registration\"e\n RetrieveAuthori" + - "zationCodeRequest\022A\n\014registration\030\001 \001(\tB" + - "+\340A\002\372A%\n#domains.googleapis.com/Registra" + - "tion\"b\n\035ResetAuthorizationCodeRequest\022A\n" + - "\014registration\030\001 \001(\tB+\340A\002\372A%\n#domains.goo" + - "gleapis.com/Registration\"\244\003\n\022RegisterPar" + - "ameters\022\023\n\013domain_name\030\001 \001(\t\022T\n\014availabi" + - "lity\030\002 \001(\0162>.google.cloud.domains.v1alph" + - "a2.RegisterParameters.Availability\022H\n\021su" + - "pported_privacy\030\003 \003(\0162-.google.cloud.dom" + - "ains.v1alpha2.ContactPrivacy\022C\n\016domain_n" + - "otices\030\004 \003(\0162+.google.cloud.domains.v1al" + - "pha2.DomainNotice\022(\n\014yearly_price\030\005 \001(\0132" + - "\022.google.type.Money\"j\n\014Availability\022\034\n\030A" + - "VAILABILITY_UNSPECIFIED\020\000\022\r\n\tAVAILABLE\020\001" + - "\022\017\n\013UNAVAILABLE\020\002\022\017\n\013UNSUPPORTED\020\003\022\013\n\007UN" + - "KNOWN\020\004\"!\n\021AuthorizationCode\022\014\n\004code\030\001 \001" + - "(\t\"\274\001\n\021OperationMetadata\022/\n\013create_time\030" + - "\001 \001(\0132\032.google.protobuf.Timestamp\022,\n\010end" + - "_time\030\002 \001(\0132\032.google.protobuf.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_version\030\006 \001(\t*\177\n\016Con" + - "tactPrivacy\022\037\n\033CONTACT_PRIVACY_UNSPECIFI" + - "ED\020\000\022\027\n\023PUBLIC_CONTACT_DATA\020\001\022\030\n\024PRIVATE" + - "_CONTACT_DATA\020\002\022\031\n\025REDACTED_CONTACT_DATA" + - "\020\003*A\n\014DomainNotice\022\035\n\031DOMAIN_NOTICE_UNSP" + - "ECIFIED\020\000\022\022\n\016HSTS_PRELOADED\020\001*X\n\rContact" + - "Notice\022\036\n\032CONTACT_NOTICE_UNSPECIFIED\020\000\022\'" + - "\n#PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT\020\001*" + - "R\n\021TransferLockState\022#\n\037TRANSFER_LOCK_ST" + - "ATE_UNSPECIFIED\020\000\022\014\n\010UNLOCKED\020\001\022\n\n\006LOCKE" + - "D\020\0022\306\032\n\007Domains\022\334\001\n\rSearchDomains\0223.goog" + - "le.cloud.domains.v1alpha2.SearchDomainsR" + - "equest\0324.google.cloud.domains.v1alpha2.S" + - "earchDomainsResponse\"`\202\323\344\223\002I\022G/v1alpha2/" + - "{location=projects/*/locations/*}/regist" + - "rations:searchDomains\332A\016location,query\022\226" + - "\002\n\032RetrieveRegisterParameters\022@.google.c" + - "loud.domains.v1alpha2.RetrieveRegisterPa" + - "rametersRequest\032A.google.cloud.domains.v" + - "1alpha2.RetrieveRegisterParametersRespon" + - "se\"s\202\323\344\223\002V\022T/v1alpha2/{location=projects" + - "/*/locations/*}/registrations:retrieveRe" + - "gisterParameters\332A\024location,domain_name\022" + - "\372\001\n\016RegisterDomain\0224.google.cloud.domain" + - "s.v1alpha2.RegisterDomainRequest\032\035.googl" + - "e.longrunning.Operation\"\222\001\202\323\344\223\002E\"@/v1alp" + - "ha2/{parent=projects/*/locations/*}/regi" + - "strations:register:\001*\332A parent,registrat" + - "ion,yearly_price\312A!\n\014Registration\022\021Opera" + - "tionMetadata\022\320\001\n\021ListRegistrations\0227.goo" + - "gle.cloud.domains.v1alpha2.ListRegistrat" + - "ionsRequest\0328.google.cloud.domains.v1alp" + - "ha2.ListRegistrationsResponse\"H\202\323\344\223\0029\0227/" + - "v1alpha2/{parent=projects/*/locations/*}" + - "/registrations\332A\006parent\022\275\001\n\017GetRegistrat" + - "ion\0225.google.cloud.domains.v1alpha2.GetR" + - "egistrationRequest\032+.google.cloud.domain" + - "s.v1alpha2.Registration\"F\202\323\344\223\0029\0227/v1alph" + - "a2/{name=projects/*/locations/*/registra" + - "tions/*}\332A\004name\022\211\002\n\022UpdateRegistration\0228" + - ".google.cloud.domains.v1alpha2.UpdateReg" + - "istrationRequest\032\035.google.longrunning.Op" + - "eration\"\231\001\202\323\344\223\002T2D/v1alpha2/{registratio" + - "n.name=projects/*/locations/*/registrati" + - "ons/*}:\014registration\332A\030registration,upda" + - "te_mask\312A!\n\014Registration\022\021OperationMetad" + - "ata\022\273\002\n\033ConfigureManagementSettings\022A.go" + - "ogle.cloud.domains.v1alpha2.ConfigureMan" + - "agementSettingsRequest\032\035.google.longrunn" + - "ing.Operation\"\271\001\202\323\344\223\002`\"[/v1alpha2/{regis" + - "tration=projects/*/locations/*/registrat" + - "ions/*}:configureManagementSettings:\001*\332A" + - ",registration,management_settings,update" + - "_mask\312A!\n\014Registration\022\021OperationMetadat" + - "a\022\237\002\n\024ConfigureDnsSettings\022:.google.clou" + - "d.domains.v1alpha2.ConfigureDnsSettingsR" + - "equest\032\035.google.longrunning.Operation\"\253\001" + - "\202\323\344\223\002Y\"T/v1alpha2/{registration=projects" + - "/*/locations/*/registrations/*}:configur" + - "eDnsSettings:\001*\332A%registration,dns_setti" + - "ngs,update_mask\312A!\n\014Registration\022\021Operat" + - "ionMetadata\022\257\002\n\030ConfigureContactSettings" + - "\022>.google.cloud.domains.v1alpha2.Configu" + - "reContactSettingsRequest\032\035.google.longru" + - "nning.Operation\"\263\001\202\323\344\223\002]\"X/v1alpha2/{reg" + - "istration=projects/*/locations/*/registr" + - "ations/*}:configureContactSettings:\001*\332A)" + - "registration,contact_settings,update_mas" + - "k\312A!\n\014Registration\022\021OperationMetadata\022\343\001" + - "\n\022ExportRegistration\0228.google.cloud.doma" + - "ins.v1alpha2.ExportRegistrationRequest\032\035" + - ".google.longrunning.Operation\"t\202\323\344\223\002C\">/" + - "v1alpha2/{name=projects/*/locations/*/re" + - "gistrations/*}:export:\001*\332A\004name\312A!\n\014Regi" + - "stration\022\021OperationMetadata\022\342\001\n\022DeleteRe" + - "gistration\0228.google.cloud.domains.v1alph" + - "a2.DeleteRegistrationRequest\032\035.google.lo" + - "ngrunning.Operation\"s\202\323\344\223\0029*7/v1alpha2/{" + - "name=projects/*/locations/*/registration" + - "s/*}\332A\004name\312A*\n\025google.protobuf.Empty\022\021O" + - "perationMetadata\022\200\002\n\031RetrieveAuthorizati" + - "onCode\022?.google.cloud.domains.v1alpha2.R" + - "etrieveAuthorizationCodeRequest\0320.google" + - ".cloud.domains.v1alpha2.AuthorizationCod" + - "e\"p\202\323\344\223\002[\022Y/v1alpha2/{registration=proje" + - "cts/*/locations/*/registrations/*}:retri" + - "eveAuthorizationCode\332A\014registration\022\372\001\n\026" + - "ResetAuthorizationCode\022<.google.cloud.do" + - "mains.v1alpha2.ResetAuthorizationCodeReq" + - "uest\0320.google.cloud.domains.v1alpha2.Aut" + - "horizationCode\"p\202\323\344\223\002[\"V/v1alpha2/{regis" + - "tration=projects/*/locations/*/registrat" + - "ions/*}:resetAuthorizationCode:\001*\332A\014regi" + - "stration\032J\312A\026domains.googleapis.com\322A.ht" + - "tps://www.googleapis.com/auth/cloud-plat" + - "formBy\n!com.google.cloud.domains.v1alpha" + - "2B\014DomainsProtoP\001ZDgoogle.golang.org/gen" + - "proto/googleapis/cloud/domains/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_ListRegistrationsRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - 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(10); - 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(11); - 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(12); - 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(13); - 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(14); - 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(15); - 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(16); - 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(17); - 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(18); - 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(19); - 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(20); - 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_AuthorizationCode_descriptor = - getDescriptor().getMessageTypes().get(21); - 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(22); - 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 e685c3b8..00000000 --- a/owl-bot-staging/v1beta1/grpc-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsGrpc.java +++ /dev/null @@ -1,1486 +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") -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 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); - } - - /** - *
-     * 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` that you no longer want to use with
-     * Cloud Domains. You can continue to use the domain in
-     * [Google Domains](https://domains.google/) until it expires.
-     * If the export is successful:
-     * * The resource's `state` becomes `EXPORTED`, meaning that it is no longer
-     * managed by Cloud Domains
-     * * Because individual users can own domains in Google Domains, the calling
-     * user becomes the domain's sole owner. Permissions for the domain are
-     * subsequently managed in Google Domains.
-     * * Without further action, the domain does not renew automatically.
-     * The new owner can set up billing in Google Domains to renew the domain
-     * if needed.
-     * 
- */ - 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 only works on resources in one of the following states:
-     * * `state` is `EXPORTED` with `expire_time` in the past
-     * * `state` is `REGISTRATION_FAILED`
-     * 
- */ - 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( - 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); - } - - /** - *
-     * 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` that you no longer want to use with
-     * Cloud Domains. You can continue to use the domain in
-     * [Google Domains](https://domains.google/) until it expires.
-     * If the export is successful:
-     * * The resource's `state` becomes `EXPORTED`, meaning that it is no longer
-     * managed by Cloud Domains
-     * * Because individual users can own domains in Google Domains, the calling
-     * user becomes the domain's sole owner. Permissions for the domain are
-     * subsequently managed in Google Domains.
-     * * Without further action, the domain does not renew automatically.
-     * The new owner can set up billing in Google Domains to renew the domain
-     * if needed.
-     * 
- */ - 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 only works on resources in one of the following states:
-     * * `state` is `EXPORTED` with `expire_time` in the past
-     * * `state` is `REGISTRATION_FAILED`
-     * 
- */ - 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); - } - - /** - *
-     * 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` that you no longer want to use with
-     * Cloud Domains. You can continue to use the domain in
-     * [Google Domains](https://domains.google/) until it expires.
-     * If the export is successful:
-     * * The resource's `state` becomes `EXPORTED`, meaning that it is no longer
-     * managed by Cloud Domains
-     * * Because individual users can own domains in Google Domains, the calling
-     * user becomes the domain's sole owner. Permissions for the domain are
-     * subsequently managed in Google Domains.
-     * * Without further action, the domain does not renew automatically.
-     * The new owner can set up billing in Google Domains to renew the domain
-     * if needed.
-     * 
- */ - 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 only works on resources in one of the following states:
-     * * `state` is `EXPORTED` with `expire_time` in the past
-     * * `state` is `REGISTRATION_FAILED`
-     * 
- */ - 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); - } - - /** - *
-     * 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` that you no longer want to use with
-     * Cloud Domains. You can continue to use the domain in
-     * [Google Domains](https://domains.google/) until it expires.
-     * If the export is successful:
-     * * The resource's `state` becomes `EXPORTED`, meaning that it is no longer
-     * managed by Cloud Domains
-     * * Because individual users can own domains in Google Domains, the calling
-     * user becomes the domain's sole owner. Permissions for the domain are
-     * subsequently managed in Google Domains.
-     * * Without further action, the domain does not renew automatically.
-     * The new owner can set up billing in Google Domains to renew the domain
-     * if needed.
-     * 
- */ - 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 only works on resources in one of the following states:
-     * * `state` is `EXPORTED` with `expire_time` in the past
-     * * `state` is `REGISTRATION_FAILED`
-     * 
- */ - 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_LIST_REGISTRATIONS = 3; - private static final int METHODID_GET_REGISTRATION = 4; - private static final int METHODID_UPDATE_REGISTRATION = 5; - private static final int METHODID_CONFIGURE_MANAGEMENT_SETTINGS = 6; - private static final int METHODID_CONFIGURE_DNS_SETTINGS = 7; - private static final int METHODID_CONFIGURE_CONTACT_SETTINGS = 8; - private static final int METHODID_EXPORT_REGISTRATION = 9; - private static final int METHODID_DELETE_REGISTRATION = 10; - private static final int METHODID_RETRIEVE_AUTHORIZATION_CODE = 11; - private static final int METHODID_RESET_AUTHORIZATION_CODE = 12; - - 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_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(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 c2d6464c..00000000 --- a/owl-bot-staging/v1beta1/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsProto.java +++ /dev/null @@ -1,647 +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_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_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\"\347\010\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\"z\n\005State\022\025\n\021STATE_UNSPECIFIE" + - "D\020\000\022\030\n\024REGISTRATION_PENDING\020\001\022\027\n\023REGISTR" + - "ATION_FAILED\020\002\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_UNSPEC" + - "IFIED\020\000\022\023\n\017CONTACT_SUPPORT\020\001\022\024\n\020UNVERIFI" + - "ED_EMAIL\020\002:n\352Ak\n#domains.googleapis.com/" + - "Registration\022Dprojects/{project}/locatio" + - "ns/{location}/registrations/{registratio" + - "n}\"\233\002\n\022ManagementSettings\022[\n\016renewal_met" + - "hod\030\003 \001(\0162>.google.cloud.domains.v1beta1" + - ".ManagementSettings.RenewalMethodB\003\340A\003\022L" + - "\n\023transfer_lock_state\030\004 \001(\0162/.google.clo" + - "ud.domains.v1beta1.TransferLockState\"Z\n\r" + - "RenewalMethod\022\036\n\032RENEWAL_METHOD_UNSPECIF" + - "IED\020\000\022\025\n\021AUTOMATIC_RENEWAL\020\001\022\022\n\016MANUAL_R" + - "ENEWAL\020\002\"\201\n\n\013DnsSettings\022I\n\ncustom_dns\030\001" + - " \001(\01323.google.cloud.domains.v1beta1.DnsS" + - "ettings.CustomDnsH\000\022X\n\022google_domains_dn" + - "s\030\002 \001(\0132:.google.cloud.domains.v1beta1.D" + - "nsSettings.GoogleDomainsDnsH\000\022J\n\014glue_re" + - "cords\030\004 \003(\01324.google.cloud.domains.v1bet" + - "a1.DnsSettings.GlueRecord\032n\n\tCustomDns\022\031" + - "\n\014name_servers\030\001 \003(\tB\003\340A\002\022F\n\nds_records\030" + - "\002 \003(\01322.google.cloud.domains.v1beta1.Dns" + - "Settings.DsRecord\032\304\001\n\020GoogleDomainsDns\022\031" + - "\n\014name_servers\030\001 \003(\tB\003\340A\003\022H\n\010ds_state\030\002 " + - "\001(\01621.google.cloud.domains.v1beta1.DnsSe" + - "ttings.DsStateB\003\340A\002\022K\n\nds_records\030\003 \003(\0132" + - "2.google.cloud.domains.v1beta1.DnsSettin" + - "gs.DsRecordB\003\340A\003\032\210\004\n\010DsRecord\022\017\n\007key_tag" + - "\030\001 \001(\005\022O\n\talgorithm\030\002 \001(\0162<.google.cloud" + - ".domains.v1beta1.DnsSettings.DsRecord.Al" + - "gorithm\022R\n\013digest_type\030\003 \001(\0162=.google.cl" + - "oud.domains.v1beta1.DnsSettings.DsRecord" + - ".DigestType\022\016\n\006digest\030\004 \001(\t\"\332\001\n\tAlgorith" + - "m\022\031\n\025ALGORITHM_UNSPECIFIED\020\000\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\tRS" + - "ASHA512\020\n\022\013\n\007ECCGOST\020\014\022\023\n\017ECDSAP256SHA25" + - "6\020\r\022\023\n\017ECDSAP384SHA384\020\016\022\013\n\007ED25519\020\017\022\t\n" + - "\005ED448\020\020\"Y\n\nDigestType\022\033\n\027DIGEST_TYPE_UN" + - "SPECIFIED\020\000\022\010\n\004SHA1\020\001\022\n\n\006SHA256\020\002\022\014\n\010GOS" + - "T3411\020\003\022\n\n\006SHA384\020\004\032T\n\nGlueRecord\022\026\n\thos" + - "t_name\030\001 \001(\tB\003\340A\002\022\026\n\016ipv4_addresses\030\002 \003(" + - "\t\022\026\n\016ipv6_addresses\030\003 \003(\t\"Y\n\007DsState\022\030\n\024" + - "DS_STATE_UNSPECIFIED\020\000\022\032\n\026DS_RECORDS_UNP" + - "UBLISHED\020\001\022\030\n\024DS_RECORDS_PUBLISHED\020\002B\016\n\014" + - "dns_provider\"\337\003\n\017ContactSettings\022B\n\007priv" + - "acy\030\001 \001(\0162,.google.cloud.domains.v1beta1" + - ".ContactPrivacyB\003\340A\002\022V\n\022registrant_conta" + - "ct\030\002 \001(\01325.google.cloud.domains.v1beta1." + - "ContactSettings.ContactB\003\340A\002\022Q\n\radmin_co" + - "ntact\030\003 \001(\01325.google.cloud.domains.v1bet" + - "a1.ContactSettings.ContactB\003\340A\002\022U\n\021techn" + - "ical_contact\030\004 \001(\01325.google.cloud.domain" + - "s.v1beta1.ContactSettings.ContactB\003\340A\002\032\205" + - "\001\n\007Contact\0227\n\016postal_address\030\001 \001(\0132\032.goo" + - "gle.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\nfa" + - "x_number\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!locations.googleapis.com/Location\"" + - "f\n\025SearchDomainsResponse\022M\n\023register_par" + - "ameters\030\001 \003(\01320.google.cloud.domains.v1b" + - "eta1.RegisterParameters\"z\n!RetrieveRegis" + - "terParametersRequest\022\030\n\013domain_name\030\001 \001(" + - "\tB\003\340A\002\022;\n\010location\030\002 \001(\tB)\340A\002\372A#\n!locati" + - "ons.googleapis.com/Location\"s\n\"RetrieveR" + - "egisterParametersResponse\022M\n\023register_pa" + - "rameters\030\001 \001(\01320.google.cloud.domains.v1" + - "beta1.RegisterParameters\"\351\002\n\025RegisterDom" + - "ainRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!loca" + - "tions.googleapis.com/Location\022E\n\014registr" + - "ation\030\002 \001(\0132*.google.cloud.domains.v1bet" + - "a1.RegistrationB\003\340A\002\022B\n\016domain_notices\030\003" + - " \003(\0162*.google.cloud.domains.v1beta1.Doma" + - "inNotice\022D\n\017contact_notices\030\004 \003(\0162+.goog" + - "le.cloud.domains.v1beta1.ContactNotice\022-" + - "\n\014yearly_price\030\005 \001(\0132\022.google.type.Money" + - "B\003\340A\002\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\"w\n\031ListRegistrationsResponse" + - "\022A\n\rregistrations\030\001 \003(\0132*.google.cloud.d" + - "omains.v1beta1.Registration\022\027\n\017next_page" + - "_token\030\002 \001(\t\"S\n\026GetRegistrationRequest\0229" + - "\n\004name\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapis" + - ".com/Registration\"\223\001\n\031UpdateRegistration" + - "Request\022@\n\014registration\030\001 \001(\0132*.google.c" + - "loud.domains.v1beta1.Registration\0224\n\013upd" + - "ate_mask\030\002 \001(\0132\032.google.protobuf.FieldMa" + - "skB\003\340A\002\"\354\001\n\"ConfigureManagementSettingsR" + - "equest\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#do" + - "mains.googleapis.com/Registration\022M\n\023man" + - "agement_settings\030\002 \001(\01320.google.cloud.do" + - "mains.v1beta1.ManagementSettings\0224\n\013upda" + - "te_mask\030\003 \001(\0132\032.google.protobuf.FieldMas" + - "kB\003\340A\002\"\356\001\n\033ConfigureDnsSettingsRequest\022A" + - "\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#domains.go" + - "ogleapis.com/Registration\022?\n\014dns_setting" + - "s\030\002 \001(\0132).google.cloud.domains.v1beta1.D" + - "nsSettings\0224\n\013update_mask\030\003 \001(\0132\032.google" + - ".protobuf.FieldMaskB\003\340A\002\022\025\n\rvalidate_onl" + - "y\030\004 \001(\010\"\300\002\n\037ConfigureContactSettingsRequ" + - "est\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#domai" + - "ns.googleapis.com/Registration\022G\n\020contac" + - "t_settings\030\002 \001(\0132-.google.cloud.domains." + - "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.cloud.do" + - "mains.v1beta1.ContactNotice\022\025\n\rvalidate_" + - "only\030\005 \001(\010\"V\n\031ExportRegistrationRequest\022" + - "9\n\004name\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapi" + - "s.com/Registration\"V\n\031DeleteRegistration" + - "Request\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#domains.g" + - "oogleapis.com/Registration\"e\n RetrieveAu" + - "thorizationCodeRequest\022A\n\014registration\030\001" + - " \001(\tB+\340A\002\372A%\n#domains.googleapis.com/Reg" + - "istration\"b\n\035ResetAuthorizationCodeReque" + - "st\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#domain" + - "s.googleapis.com/Registration\"\241\003\n\022Regist" + - "erParameters\022\023\n\013domain_name\030\001 \001(\t\022S\n\014ava" + - "ilability\030\002 \001(\0162=.google.cloud.domains.v" + - "1beta1.RegisterParameters.Availability\022G" + - "\n\021supported_privacy\030\003 \003(\0162,.google.cloud" + - ".domains.v1beta1.ContactPrivacy\022B\n\016domai" + - "n_notices\030\004 \003(\0162*.google.cloud.domains.v" + - "1beta1.DomainNotice\022(\n\014yearly_price\030\005 \001(" + - "\0132\022.google.type.Money\"j\n\014Availability\022\034\n" + - "\030AVAILABILITY_UNSPECIFIED\020\000\022\r\n\tAVAILABLE" + - "\020\001\022\017\n\013UNAVAILABLE\020\002\022\017\n\013UNSUPPORTED\020\003\022\013\n\007" + - "UNKNOWN\020\004\"!\n\021AuthorizationCode\022\014\n\004code\030\001" + - " \001(\t\"\274\001\n\021OperationMetadata\022/\n\013create_tim" + - "e\030\001 \001(\0132\032.google.protobuf.Timestamp\022,\n\010e" + - "nd_time\030\002 \001(\0132\032.google.protobuf.Timestam" + - "p\022\016\n\006target\030\003 \001(\t\022\014\n\004verb\030\004 \001(\t\022\025\n\rstatu" + - "s_detail\030\005 \001(\t\022\023\n\013api_version\030\006 \001(\t*\177\n\016C" + - "ontactPrivacy\022\037\n\033CONTACT_PRIVACY_UNSPECI" + - "FIED\020\000\022\027\n\023PUBLIC_CONTACT_DATA\020\001\022\030\n\024PRIVA" + - "TE_CONTACT_DATA\020\002\022\031\n\025REDACTED_CONTACT_DA" + - "TA\020\003*A\n\014DomainNotice\022\035\n\031DOMAIN_NOTICE_UN" + - "SPECIFIED\020\000\022\022\n\016HSTS_PRELOADED\020\001*X\n\rConta" + - "ctNotice\022\036\n\032CONTACT_NOTICE_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\010UNLOCKED\020\001\022\n\n\006LOC" + - "KED\020\0022\246\032\n\007Domains\022\331\001\n\rSearchDomains\0222.go" + - "ogle.cloud.domains.v1beta1.SearchDomains" + - "Request\0323.google.cloud.domains.v1beta1.S" + - "earchDomainsResponse\"_\202\323\344\223\002H\022F/v1beta1/{" + - "location=projects/*/locations/*}/registr" + - "ations:searchDomains\332A\016location,query\022\223\002" + - "\n\032RetrieveRegisterParameters\022?.google.cl" + - "oud.domains.v1beta1.RetrieveRegisterPara" + - "metersRequest\032@.google.cloud.domains.v1b" + - "eta1.RetrieveRegisterParametersResponse\"" + - "r\202\323\344\223\002U\022S/v1beta1/{location=projects/*/l" + - "ocations/*}/registrations:retrieveRegist" + - "erParameters\332A\024location,domain_name\022\370\001\n\016" + - "RegisterDomain\0223.google.cloud.domains.v1" + - "beta1.RegisterDomainRequest\032\035.google.lon" + - "grunning.Operation\"\221\001\202\323\344\223\002D\"?/v1beta1/{p" + - "arent=projects/*/locations/*}/registrati" + - "ons:register:\001*\332A parent,registration,ye" + - "arly_price\312A!\n\014Registration\022\021OperationMe" + - "tadata\022\315\001\n\021ListRegistrations\0226.google.cl" + - "oud.domains.v1beta1.ListRegistrationsReq" + - "uest\0327.google.cloud.domains.v1beta1.List" + - "RegistrationsResponse\"G\202\323\344\223\0028\0226/v1beta1/" + - "{parent=projects/*/locations/*}/registra" + - "tions\332A\006parent\022\272\001\n\017GetRegistration\0224.goo" + - "gle.cloud.domains.v1beta1.GetRegistratio" + - "nRequest\032*.google.cloud.domains.v1beta1." + - "Registration\"E\202\323\344\223\0028\0226/v1beta1/{name=pro" + - "jects/*/locations/*/registrations/*}\332A\004n" + - "ame\022\207\002\n\022UpdateRegistration\0227.google.clou" + - "d.domains.v1beta1.UpdateRegistrationRequ" + - "est\032\035.google.longrunning.Operation\"\230\001\202\323\344" + - "\223\002S2C/v1beta1/{registration.name=project" + - "s/*/locations/*/registrations/*}:\014regist" + - "ration\332A\030registration,update_mask\312A!\n\014Re" + - "gistration\022\021OperationMetadata\022\271\002\n\033Config" + - "ureManagementSettings\022@.google.cloud.dom" + - "ains.v1beta1.ConfigureManagementSettings" + - "Request\032\035.google.longrunning.Operation\"\270" + - "\001\202\323\344\223\002_\"Z/v1beta1/{registration=projects" + - "/*/locations/*/registrations/*}:configur" + - "eManagementSettings:\001*\332A,registration,ma" + - "nagement_settings,update_mask\312A!\n\014Regist" + - "ration\022\021OperationMetadata\022\235\002\n\024ConfigureD" + - "nsSettings\0229.google.cloud.domains.v1beta" + - "1.ConfigureDnsSettingsRequest\032\035.google.l" + - "ongrunning.Operation\"\252\001\202\323\344\223\002X\"S/v1beta1/" + - "{registration=projects/*/locations/*/reg" + - "istrations/*}:configureDnsSettings:\001*\332A%" + - "registration,dns_settings,update_mask\312A!" + - "\n\014Registration\022\021OperationMetadata\022\255\002\n\030Co" + - "nfigureContactSettings\022=.google.cloud.do" + - "mains.v1beta1.ConfigureContactSettingsRe" + - "quest\032\035.google.longrunning.Operation\"\262\001\202" + - "\323\344\223\002\\\"W/v1beta1/{registration=projects/*" + - "/locations/*/registrations/*}:configureC" + - "ontactSettings:\001*\332A)registration,contact" + - "_settings,update_mask\312A!\n\014Registration\022\021" + - "OperationMetadata\022\341\001\n\022ExportRegistration" + - "\0227.google.cloud.domains.v1beta1.ExportRe" + - "gistrationRequest\032\035.google.longrunning.O" + - "peration\"s\202\323\344\223\002B\"=/v1beta1/{name=project" + - "s/*/locations/*/registrations/*}:export:" + - "\001*\332A\004name\312A!\n\014Registration\022\021OperationMet" + - "adata\022\340\001\n\022DeleteRegistration\0227.google.cl" + - "oud.domains.v1beta1.DeleteRegistrationRe" + - "quest\032\035.google.longrunning.Operation\"r\202\323" + - "\344\223\0028*6/v1beta1/{name=projects/*/location" + - "s/*/registrations/*}\332A\004name\312A*\n\025google.p" + - "rotobuf.Empty\022\021OperationMetadata\022\375\001\n\031Ret" + - "rieveAuthorizationCode\022>.google.cloud.do" + - "mains.v1beta1.RetrieveAuthorizationCodeR" + - "equest\032/.google.cloud.domains.v1beta1.Au" + - "thorizationCode\"o\202\323\344\223\002Z\022X/v1beta1/{regis" + - "tration=projects/*/locations/*/registrat" + - "ions/*}:retrieveAuthorizationCode\332A\014regi" + - "stration\022\367\001\n\026ResetAuthorizationCode\022;.go" + - "ogle.cloud.domains.v1beta1.ResetAuthoriz" + - "ationCodeRequest\032/.google.cloud.domains." + - "v1beta1.AuthorizationCode\"o\202\323\344\223\002Z\"U/v1be" + - "ta1/{registration=projects/*/locations/*" + - "/registrations/*}:resetAuthorizationCode" + - ":\001*\332A\014registration\032J\312A\026domains.googleapi" + - "s.com\322A.https://www.googleapis.com/auth/" + - "cloud-platformBw\n com.google.cloud.domai" + - "ns.v1beta1B\014DomainsProtoP\001ZCgoogle.golan" + - "g.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_ListRegistrationsRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - 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(10); - 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(11); - 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(12); - 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(13); - 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(14); - 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(15); - 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(16); - 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(17); - 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(18); - 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(19); - 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(20); - 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_AuthorizationCode_descriptor = - getDescriptor().getMessageTypes().get(21); - 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(22); - 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/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 d1c9a4a7..54ed15f6 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,53 +70,59 @@ 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) { throw e.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 @@ -108,30 +131,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 { @@ -140,6 +163,7 @@ public java.lang.String getCode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getCodeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, code_); } @@ -176,15 +199,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; } @@ -204,117 +227,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() @@ -322,16 +354,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(); @@ -341,9 +372,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 @@ -362,7 +393,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; @@ -372,38 +404,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; @@ -411,7 +444,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(); @@ -435,7 +469,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) { @@ -447,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; @@ -468,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 { @@ -490,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); } @@ -557,12 +602,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(); } @@ -571,16 +616,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; @@ -595,6 +640,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 1f328bc2..ca64b5b2 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,80 +73,88 @@ 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) { throw e.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_); @@ -137,28 +163,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 @@ -167,30 +201,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 { @@ -201,11 +237,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 @@ -213,18 +252,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.
    * 
@@ -239,13 +285,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` would be `"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 @@ -253,13 +303,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` would be `"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 @@ -267,13 +321,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` would be `"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() { @@ -283,36 +340,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
    * required 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
    * required 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 @@ -320,12 +388,15 @@ public int getContactNoticesCount() { return contactNotices_.size(); } /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * required 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. */ @@ -334,26 +405,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
    * required 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
    * required 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. */ @@ -361,16 +437,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 @@ -379,6 +459,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -390,8 +471,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (!getRegistrationBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); @@ -425,28 +505,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; @@ -456,28 +534,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; } @@ -504,142 +579,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(); @@ -665,13 +750,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(); } @@ -686,7 +772,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) { @@ -713,46 +800,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(); @@ -795,7 +886,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) { @@ -804,23 +897,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; @@ -829,21 +927,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 { @@ -851,57 +952,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; @@ -909,34 +1023,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.
      * 
@@ -957,6 +1084,8 @@ public Builder setContactSettings(com.google.cloud.domains.v1alpha2.ContactSetti return this; } /** + * + * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -975,6 +1104,8 @@ public Builder setContactSettings( return this; } /** + * + * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -985,7 +1116,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; } @@ -997,6 +1130,8 @@ public Builder mergeContactSettings(com.google.cloud.domains.v1alpha2.ContactSet return this; } /** + * + * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1015,6 +1150,8 @@ public Builder clearContactSettings() { return this; } /** + * + * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1022,26 +1159,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.
      * 
@@ -1049,14 +1192,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_; @@ -1064,45 +1210,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` would be `"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` would be `"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` would be `"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) { @@ -1118,16 +1280,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` would be `"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(); @@ -1138,19 +1302,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` would be `"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; } @@ -1162,13 +1329,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` would be `"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) { @@ -1182,61 +1352,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` would be `"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` would be `"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` would be `"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_); @@ -1244,37 +1427,47 @@ private void ensureContactNoticesIsMutable() { } } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * required 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
      * required 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
      * required 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. */ @@ -1282,12 +1475,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
      * required 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. @@ -1303,12 +1499,15 @@ public Builder setContactNotices( return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * required 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. */ @@ -1322,12 +1521,15 @@ public Builder addContactNotices(com.google.cloud.domains.v1alpha2.ContactNotice return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * required 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. */ @@ -1341,12 +1543,15 @@ public Builder addAllContactNotices( return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * required 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() { @@ -1356,25 +1561,30 @@ public Builder clearContactNotices() { return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * required 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
      * required 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. */ @@ -1382,30 +1592,35 @@ public int getContactNoticesValue(int index) { return contactNotices_.get(index); } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * required 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
      * required 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. */ @@ -1416,17 +1631,19 @@ public Builder addContactNoticesValue(int value) { return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * required 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); @@ -1435,13 +1652,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 @@ -1449,37 +1669,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); } @@ -1489,30 +1715,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; @@ -1524,9 +1752,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 fee43d18..9f930bec 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` would be `"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` would be `"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` would be `"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
    * required 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
    * required 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
    * required 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
    * required 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
    * required 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 eb580749..6e33c916 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,84 +70,97 @@ 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) { throw e.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 @@ -139,30 +169,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 { @@ -173,11 +205,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 @@ -185,18 +220,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.
    * 
@@ -211,6 +253,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
@@ -222,7 +266,9 @@ public com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder getDnsSettingsOrBu
    * `update_mask` would be `"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 @@ -230,6 +276,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
@@ -241,7 +289,9 @@ public boolean hasUpdateMask() {
    * `update_mask` would be `"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 @@ -249,6 +299,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
@@ -260,7 +312,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * `update_mask` would be `"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() { @@ -270,11 +323,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 @@ -283,6 +339,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -294,8 +351,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getRegistrationBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -321,16 +377,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; @@ -340,27 +393,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; } @@ -383,125 +433,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() @@ -509,16 +568,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(); @@ -542,13 +600,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(); } @@ -563,7 +622,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_; @@ -584,38 +644,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; @@ -623,7 +684,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(); @@ -656,7 +719,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) { @@ -668,19 +733,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; @@ -689,21 +758,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 { @@ -711,57 +783,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; @@ -769,34 +854,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.
      * 
@@ -817,6 +915,8 @@ public Builder setDnsSettings(com.google.cloud.domains.v1alpha2.DnsSettings valu return this; } /** + * + * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -835,6 +935,8 @@ public Builder setDnsSettings( return this; } /** + * + * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -845,7 +947,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; } @@ -857,6 +961,8 @@ public Builder mergeDnsSettings(com.google.cloud.domains.v1alpha2.DnsSettings va return this; } /** + * + * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -875,6 +981,8 @@ public Builder clearDnsSettings() { return this; } /** + * + * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -882,11 +990,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.
      * 
@@ -897,11 +1007,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.
      * 
@@ -909,14 +1022,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_; @@ -924,8 +1040,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
@@ -937,13 +1058,17 @@ public com.google.cloud.domains.v1alpha2.DnsSettingsOrBuilder getDnsSettingsOrBu
      * `update_mask` would be `"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
@@ -955,17 +1080,23 @@ public boolean hasUpdateMask() {
      * `update_mask` would be `"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
@@ -977,7 +1108,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * `update_mask` would be `"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) { @@ -993,6 +1125,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
@@ -1004,10 +1138,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * `update_mask` would be `"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(); @@ -1018,6 +1152,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
@@ -1029,13 +1165,14 @@ public Builder setUpdateMask(
      * `update_mask` would be `"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; } @@ -1047,6 +1184,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
@@ -1058,7 +1197,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * `update_mask` would be `"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) { @@ -1072,6 +1212,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
@@ -1083,14 +1225,17 @@ public Builder clearUpdateMask() {
      * `update_mask` would be `"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
@@ -1102,17 +1247,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * `update_mask` would be `"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
@@ -1124,29 +1273,36 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * `update_mask` would be `"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 @@ -1154,37 +1310,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); } @@ -1194,12 +1356,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(); } @@ -1208,16 +1371,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; @@ -1232,6 +1395,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 67800a61..df2d9423 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` would be `"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` would be `"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` would be `"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 11bf5414..131a834b 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,79 +71,93 @@ 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) { throw e.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 @@ -134,30 +166,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 { @@ -168,11 +202,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 @@ -180,18 +217,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.
    * 
@@ -199,20 +243,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`
    * would be `"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 @@ -220,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`
    * would be `"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 @@ -234,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`
    * would be `"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() { @@ -248,6 +304,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -259,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 (!getRegistrationBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -283,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; @@ -298,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.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; @@ -344,134 +396,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(); @@ -493,14 +556,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 @@ -514,7 +579,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_; @@ -534,46 +600,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(); @@ -603,7 +674,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) { @@ -615,19 +688,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; @@ -636,21 +713,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 { @@ -658,57 +738,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; @@ -716,41 +809,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(); @@ -764,6 +871,8 @@ public Builder setManagementSettings(com.google.cloud.domains.v1alpha2.Managemen return this; } /** + * + * *
      * Fields of the `ManagementSettings` to update.
      * 
@@ -782,17 +891,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; } @@ -804,6 +918,8 @@ public Builder mergeManagementSettings(com.google.cloud.domains.v1alpha2.Managem return this; } /** + * + * *
      * Fields of the `ManagementSettings` to update.
      * 
@@ -822,33 +938,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.
      * 
@@ -856,14 +981,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_; @@ -871,45 +999,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`
      * would be `"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`
      * would be `"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`
      * would be `"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) { @@ -925,16 +1069,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`
      * would be `"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(); @@ -945,19 +1091,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`
      * would be `"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; } @@ -969,13 +1118,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`
      * would be `"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) { @@ -989,61 +1141,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`
      * would be `"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`
      * would be `"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`
      * would be `"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); } @@ -1053,30 +1218,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; @@ -1088,9 +1255,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 458959e5..29983a91 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`
    * would be `"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`
    * would be `"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`
    * would be `"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 65%
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 1fdca9fb..228cfecf 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,194 +73,242 @@ 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) {
       throw e.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_ = ""; @@ -252,16 +317,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) @@ -280,77 +344,89 @@ 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) { throw e.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 @@ -358,23 +434,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() { @@ -384,11 +471,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 @@ -397,29 +487,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 { @@ -430,12 +520,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 @@ -444,30 +537,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 { @@ -478,12 +571,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 @@ -492,30 +588,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 { @@ -524,6 +620,7 @@ public java.lang.String getFaxNumber() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -535,8 +632,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -559,8 +655,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 (!getEmailBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, email_); @@ -579,24 +674,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; } @@ -624,87 +716,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 @@ -714,27 +813,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() @@ -742,16 +846,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(); @@ -771,9 +874,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 @@ -792,7 +895,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 { @@ -809,38 +913,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; @@ -848,7 +955,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()); } @@ -883,7 +991,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) { @@ -895,39 +1004,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) { @@ -943,14 +1071,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(); @@ -961,17 +1092,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; } @@ -983,11 +1120,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) { @@ -1001,48 +1142,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_; @@ -1050,18 +1207,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; @@ -1070,20 +1229,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 { @@ -1091,54 +1251,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; @@ -1146,19 +1313,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; @@ -1167,21 +1336,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 { @@ -1189,57 +1359,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; @@ -1247,19 +1424,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; @@ -1268,21 +1447,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 { @@ -1290,61 +1470,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) { @@ -1357,12 +1545,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(); } @@ -1371,16 +1559,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; @@ -1395,39 +1583,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,
@@ -1437,7 +1639,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 @@ -1445,6 +1650,8 @@ public boolean hasRegistrantContact() { return registrantContact_ != null; } /** + * + * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -1454,14 +1661,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,
@@ -1471,21 +1685,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 @@ -1493,37 +1715,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 @@ -1531,30 +1770,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; @@ -1566,9 +1818,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) { @@ -1589,21 +1842,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; @@ -1613,28 +1864,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; @@ -1667,96 +1916,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
@@ -1766,21 +2022,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()
@@ -1788,16 +2046,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();
@@ -1825,9 +2082,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
@@ -1846,7 +2103,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_;
@@ -1871,38 +2129,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;
@@ -1910,7 +2169,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());
       }
@@ -1942,7 +2202,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) {
@@ -1954,51 +2215,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. */ @@ -2006,21 +2291,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; @@ -2028,8 +2318,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,
@@ -2039,13 +2334,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,
@@ -2055,17 +2355,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,
@@ -2075,9 +2382,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(); @@ -2091,6 +2401,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,
@@ -2100,7 +2412,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) { @@ -2114,6 +2428,8 @@ public Builder setRegistrantContact( return this; } /** + * + * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2123,13 +2439,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; } @@ -2141,6 +2463,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,
@@ -2150,7 +2474,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) { @@ -2164,6 +2490,8 @@ public Builder clearRegistrantContact() { return this; } /** + * + * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2173,14 +2501,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,
@@ -2190,17 +2523,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,
@@ -2210,17 +2549,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_; @@ -2228,41 +2572,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(); @@ -2276,11 +2640,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) { @@ -2294,17 +2662,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; } @@ -2316,11 +2691,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) { @@ -2334,48 +2713,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_; @@ -2383,41 +2780,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(); @@ -2431,11 +2848,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) { @@ -2449,17 +2870,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; } @@ -2471,11 +2900,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) { @@ -2489,55 +2922,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); } @@ -2547,12 +2998,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(); } @@ -2561,16 +3012,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; @@ -2585,6 +3036,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 006bc21d..1f258e5a 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 328d9f47..9b029187 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,53 +70,61 @@ 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) { throw e.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 @@ -108,30 +133,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -204,117 +231,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() @@ -322,16 +359,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(); @@ -341,9 +377,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 @@ -362,7 +398,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; @@ -372,38 +409,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; @@ -411,7 +449,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(); @@ -435,7 +474,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) { @@ -447,19 +487,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; @@ -468,21 +512,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 { @@ -490,64 +537,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); } @@ -557,12 +617,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(); } @@ -571,16 +631,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; @@ -595,6 +655,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 74% 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 7bb8db6b..c4f9649a 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,57 +72,74 @@ 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) {
       throw e.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_);
@@ -114,29 +148,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.
      * 
@@ -145,6 +185,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.
@@ -154,6 +196,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
@@ -168,6 +212,8 @@ public enum DsState
     ;
 
     /**
+     *
+     *
      * 
      * DS state is unspecified.
      * 
@@ -176,6 +222,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.
@@ -185,6 +233,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
@@ -196,7 +246,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(
@@ -221,49 +270,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;
@@ -280,11 +329,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
@@ -292,11 +344,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
@@ -304,10 +358,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
@@ -315,11 +372,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
@@ -327,13 +387,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
@@ -342,9 +404,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
@@ -355,6 +418,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
@@ -365,6 +430,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
@@ -373,9 +440,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
@@ -388,21 +457,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(); @@ -410,16 +482,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) @@ -439,38 +510,43 @@ 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) { throw e.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(); @@ -482,22 +558,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
@@ -505,13 +586,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
@@ -519,12 +602,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
@@ -532,6 +618,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. */ @@ -539,6 +626,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
@@ -546,17 +635,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
@@ -566,10 +657,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
@@ -579,11 +673,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
@@ -597,6 +693,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
@@ -610,6 +708,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
@@ -625,6 +725,7 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder getDsReco
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -636,8 +737,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    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));
       }
@@ -662,8 +762,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;
@@ -673,17 +772,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;
     }
@@ -709,87 +807,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
@@ -799,27 +904,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() @@ -827,17 +937,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(); @@ -853,9 +963,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 @@ -874,7 +984,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(); @@ -898,38 +1009,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; @@ -937,7 +1051,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_; @@ -966,9 +1081,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_); } @@ -993,7 +1109,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) { @@ -1002,16 +1119,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
@@ -1019,13 +1141,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
@@ -1033,12 +1157,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
@@ -1046,6 +1173,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. */ @@ -1053,6 +1181,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
@@ -1060,14 +1190,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
@@ -1075,21 +1207,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
@@ -1097,20 +1231,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
@@ -1118,18 +1254,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
@@ -1137,6 +1274,7 @@ public Builder addAllNameServers(
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearNameServers() { @@ -1146,6 +1284,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
@@ -1153,15 +1293,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(); @@ -1169,18 +1309,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
@@ -1189,7 +1337,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 {
@@ -1197,6 +1346,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
@@ -1213,6 +1364,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
@@ -1229,6 +1382,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
@@ -1252,6 +1407,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
@@ -1261,7 +1418,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());
@@ -1272,6 +1430,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
@@ -1294,6 +1454,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
@@ -1317,6 +1479,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
@@ -1337,6 +1501,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
@@ -1346,7 +1512,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());
@@ -1357,6 +1524,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
@@ -1366,11 +1535,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);
@@ -1378,6 +1547,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
@@ -1397,6 +1568,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
@@ -1416,6 +1589,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
@@ -1429,6 +1604,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
@@ -1440,11 +1617,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
@@ -1453,8 +1633,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 {
@@ -1462,6 +1643,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
@@ -1471,10 +1654,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
@@ -1485,10 +1671,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
@@ -1497,24 +1686,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) {
@@ -1527,12 +1720,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();
     }
@@ -1541,16 +1734,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;
@@ -1565,14 +1758,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
@@ -1581,12 +1776,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
@@ -1594,10 +1791,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
@@ -1606,11 +1806,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
@@ -1619,88 +1822,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
@@ -1710,15 +1944,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;
@@ -1727,16 +1962,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)
@@ -1756,44 +1990,50 @@ 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) {
         throw e.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();
@@ -1805,22 +2045,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
@@ -1829,13 +2074,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
@@ -1844,12 +2091,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
@@ -1858,6 +2108,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. */ @@ -1865,6 +2116,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
@@ -1873,106 +2126,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( @@ -1981,6 +2270,7 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.DsRecordOrBuilder getDsReco } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1992,12 +2282,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++) { @@ -2020,13 +2311,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; @@ -2036,18 +2327,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; } @@ -2075,87 +2365,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 @@ -2165,6 +2462,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
@@ -2174,21 +2473,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()
@@ -2196,17 +2498,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();
@@ -2224,13 +2526,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();
       }
 
@@ -2245,7 +2548,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();
@@ -2270,46 +2574,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_;
@@ -2341,9 +2651,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_);
             }
@@ -2368,7 +2679,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) {
@@ -2377,16 +2690,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
@@ -2395,13 +2713,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
@@ -2410,12 +2730,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
@@ -2424,6 +2747,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. */ @@ -2431,6 +2755,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
@@ -2439,14 +2765,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
@@ -2455,21 +2783,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
@@ -2478,20 +2808,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
@@ -2500,18 +2832,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
@@ -2520,6 +2853,7 @@ public Builder addAllNameServers(
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearNameServers() { @@ -2529,6 +2863,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
@@ -2537,15 +2873,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(); @@ -2554,55 +2890,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. */ @@ -2610,49 +2970,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 { @@ -2660,13 +3036,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) { @@ -2676,13 +3056,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) { @@ -2692,13 +3076,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) { @@ -2715,16 +3103,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()); @@ -2735,13 +3128,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) { @@ -2757,13 +3154,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) { @@ -2780,13 +3181,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) { @@ -2800,16 +3205,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()); @@ -2820,20 +3230,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); @@ -2841,13 +3255,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) { @@ -2860,13 +3278,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) { @@ -2879,45 +3301,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 { @@ -2925,59 +3361,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) { @@ -2990,30 +3444,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; @@ -3025,85 +3481,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
@@ -3112,15 +3591,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;
@@ -3129,16 +3609,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)
@@ -3157,62 +3636,69 @@ 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) {
         throw e.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.
@@ -3220,9 +3706,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.
        * 
@@ -3231,6 +3718,8 @@ public enum Algorithm */ ALGORITHM_UNSPECIFIED(0), /** + * + * *
        * DSA/SHA1. Not recommended for new deployments.
        * 
@@ -3239,6 +3728,8 @@ public enum Algorithm */ DSA(3), /** + * + * *
        * ECC. Not recommended for new deployments.
        * 
@@ -3247,6 +3738,8 @@ public enum Algorithm */ ECC(4), /** + * + * *
        * RSA/SHA-1. Not recommended for new deployments.
        * 
@@ -3255,6 +3748,8 @@ public enum Algorithm */ RSASHA1(5), /** + * + * *
        * DSA-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3263,6 +3758,8 @@ public enum Algorithm */ DSANSEC3SHA1(6), /** + * + * *
        * RSA/SHA1-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3271,6 +3768,8 @@ public enum Algorithm */ RSASHA1NSEC3SHA1(7), /** + * + * *
        * RSA/SHA-256.
        * 
@@ -3279,6 +3778,8 @@ public enum Algorithm */ RSASHA256(8), /** + * + * *
        * RSA/SHA-512.
        * 
@@ -3287,6 +3788,8 @@ public enum Algorithm */ RSASHA512(10), /** + * + * *
        * GOST R 34.10-2001.
        * 
@@ -3295,6 +3798,8 @@ public enum Algorithm */ ECCGOST(12), /** + * + * *
        * ECDSA Curve P-256 with SHA-256.
        * 
@@ -3303,6 +3808,8 @@ public enum Algorithm */ ECDSAP256SHA256(13), /** + * + * *
        * ECDSA Curve P-384 with SHA-384.
        * 
@@ -3311,6 +3818,8 @@ public enum Algorithm */ ECDSAP384SHA384(14), /** + * + * *
        * Ed25519.
        * 
@@ -3319,6 +3828,8 @@ public enum Algorithm */ ED25519(15), /** + * + * *
        * Ed448.
        * 
@@ -3330,6 +3841,8 @@ public enum Algorithm ; /** + * + * *
        * The algorithm is unspecified.
        * 
@@ -3338,6 +3851,8 @@ public enum Algorithm */ public static final int ALGORITHM_UNSPECIFIED_VALUE = 0; /** + * + * *
        * DSA/SHA1. Not recommended for new deployments.
        * 
@@ -3346,6 +3861,8 @@ public enum Algorithm */ public static final int DSA_VALUE = 3; /** + * + * *
        * ECC. Not recommended for new deployments.
        * 
@@ -3354,6 +3871,8 @@ public enum Algorithm */ public static final int ECC_VALUE = 4; /** + * + * *
        * RSA/SHA-1. Not recommended for new deployments.
        * 
@@ -3362,6 +3881,8 @@ public enum Algorithm */ public static final int RSASHA1_VALUE = 5; /** + * + * *
        * DSA-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3370,6 +3891,8 @@ public enum Algorithm */ public static final int DSANSEC3SHA1_VALUE = 6; /** + * + * *
        * RSA/SHA1-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3378,6 +3901,8 @@ public enum Algorithm */ public static final int RSASHA1NSEC3SHA1_VALUE = 7; /** + * + * *
        * RSA/SHA-256.
        * 
@@ -3386,6 +3911,8 @@ public enum Algorithm */ public static final int RSASHA256_VALUE = 8; /** + * + * *
        * RSA/SHA-512.
        * 
@@ -3394,6 +3921,8 @@ public enum Algorithm */ public static final int RSASHA512_VALUE = 10; /** + * + * *
        * GOST R 34.10-2001.
        * 
@@ -3402,6 +3931,8 @@ public enum Algorithm */ public static final int ECCGOST_VALUE = 12; /** + * + * *
        * ECDSA Curve P-256 with SHA-256.
        * 
@@ -3410,6 +3941,8 @@ public enum Algorithm */ public static final int ECDSAP256SHA256_VALUE = 13; /** + * + * *
        * ECDSA Curve P-384 with SHA-384.
        * 
@@ -3418,6 +3951,8 @@ public enum Algorithm */ public static final int ECDSAP384SHA384_VALUE = 14; /** + * + * *
        * Ed25519.
        * 
@@ -3426,6 +3961,8 @@ public enum Algorithm */ public static final int ED25519_VALUE = 15; /** + * + * *
        * Ed448.
        * 
@@ -3434,7 +3971,6 @@ public enum Algorithm */ public static final int ED448_VALUE = 16; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -3459,59 +3995,71 @@ public static Algorithm valueOf(int value) { */ public static Algorithm forNumber(int value) { switch (value) { - case 0: return ALGORITHM_UNSPECIFIED; - 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; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return ALGORITHM_UNSPECIFIED; + 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; + 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; @@ -3529,6 +4077,8 @@ private Algorithm(int value) { } /** + * + * *
      * List of hash functions that may have been used to generate a digest of a
      * DNSKEY.
@@ -3536,9 +4086,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.
        * 
@@ -3547,6 +4098,8 @@ public enum DigestType */ DIGEST_TYPE_UNSPECIFIED(0), /** + * + * *
        * SHA-1. Not recommended for new deployments.
        * 
@@ -3555,6 +4108,8 @@ public enum DigestType */ SHA1(1), /** + * + * *
        * SHA-256.
        * 
@@ -3563,6 +4118,8 @@ public enum DigestType */ SHA256(2), /** + * + * *
        * GOST R 34.11-94.
        * 
@@ -3571,6 +4128,8 @@ public enum DigestType */ GOST3411(3), /** + * + * *
        * SHA-384.
        * 
@@ -3582,6 +4141,8 @@ public enum DigestType ; /** + * + * *
        * The DigestType is unspecified.
        * 
@@ -3590,6 +4151,8 @@ public enum DigestType */ public static final int DIGEST_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * SHA-1. Not recommended for new deployments.
        * 
@@ -3598,6 +4161,8 @@ public enum DigestType */ public static final int SHA1_VALUE = 1; /** + * + * *
        * SHA-256.
        * 
@@ -3606,6 +4171,8 @@ public enum DigestType */ public static final int SHA256_VALUE = 2; /** + * + * *
        * GOST R 34.11-94.
        * 
@@ -3614,6 +4181,8 @@ public enum DigestType */ public static final int GOST3411_VALUE = 3; /** + * + * *
        * SHA-384.
        * 
@@ -3622,7 +4191,6 @@ public enum DigestType */ public static final int SHA384_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -3647,51 +4215,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; @@ -3711,11 +4283,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 @@ -3726,65 +4301,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 @@ -3793,29 +4393,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 { @@ -3824,6 +4424,7 @@ public java.lang.String getDigest() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3835,15 +4436,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 (!getDigestBytes().isEmpty()) { @@ -3859,16 +4464,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 (!getDigestBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, digest_); @@ -3881,19 +4488,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; } @@ -3919,87 +4525,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 @@ -4009,6 +4622,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
@@ -4017,21 +4632,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()
@@ -4039,16 +4657,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();
@@ -4064,9 +4681,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
@@ -4085,7 +4702,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_;
@@ -4098,38 +4716,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;
@@ -4137,7 +4758,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());
         }
@@ -4170,7 +4792,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) {
@@ -4180,13 +4803,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 @@ -4194,30 +4820,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; @@ -4225,73 +4857,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; @@ -4299,73 +4951,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; @@ -4373,18 +5050,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; @@ -4393,20 +5072,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 { @@ -4414,58 +5094,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) { @@ -4478,12 +5166,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(); } @@ -4492,16 +5180,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; @@ -4516,34 +5204,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
@@ -4551,11 +5246,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
@@ -4563,10 +5260,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
@@ -4574,11 +5274,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
@@ -4586,13 +5289,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
@@ -4600,11 +5305,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
@@ -4612,10 +5319,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
@@ -4623,11 +5333,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
@@ -4635,13 +5348,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
@@ -4653,15 +5368,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;
@@ -4670,16 +5386,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)
@@ -4699,44 +5414,46 @@ 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) {
         throw e.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();
@@ -4748,27 +5465,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 @@ -4777,29 +5500,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 { @@ -4810,6 +5533,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
@@ -4817,13 +5542,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
@@ -4831,12 +5558,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
@@ -4844,6 +5574,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. */ @@ -4851,6 +5582,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
@@ -4858,17 +5591,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
@@ -4876,13 +5611,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
@@ -4890,12 +5627,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
@@ -4903,6 +5643,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. */ @@ -4910,6 +5651,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
@@ -4917,15 +5660,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; @@ -4937,8 +5681,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getHostNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, hostName_); } @@ -4984,19 +5727,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; } @@ -5024,87 +5765,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 @@ -5114,6 +5862,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
@@ -5125,21 +5875,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()
@@ -5147,16 +5900,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();
@@ -5170,9 +5922,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
@@ -5191,7 +5943,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)) {
@@ -5212,38 +5965,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;
@@ -5251,7 +6007,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();
@@ -5295,7 +6052,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) {
@@ -5304,22 +6062,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; @@ -5328,20 +6089,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 { @@ -5349,67 +6111,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
@@ -5417,13 +6190,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
@@ -5431,12 +6206,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
@@ -5444,6 +6222,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. */ @@ -5451,6 +6230,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
@@ -5458,14 +6239,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
@@ -5473,21 +6256,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
@@ -5495,20 +6280,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
@@ -5516,18 +6303,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
@@ -5535,6 +6323,7 @@ public Builder addAllIpv4Addresses(
        * 
* * repeated string ipv4_addresses = 2; + * * @return This builder for chaining. */ public Builder clearIpv4Addresses() { @@ -5544,6 +6333,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
@@ -5551,29 +6342,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
@@ -5581,13 +6376,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
@@ -5595,12 +6392,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
@@ -5608,6 +6408,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. */ @@ -5615,6 +6416,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
@@ -5622,14 +6425,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
@@ -5637,21 +6442,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
@@ -5659,20 +6466,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
@@ -5680,18 +6489,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
@@ -5699,6 +6509,7 @@ public Builder addAllIpv6Addresses(
        * 
* * repeated string ipv6_addresses = 3; + * * @return This builder for chaining. */ public Builder clearIpv6Addresses() { @@ -5708,6 +6519,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
@@ -5715,20 +6528,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) { @@ -5741,12 +6555,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(); } @@ -5755,16 +6569,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; @@ -5779,18 +6593,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; } @@ -5806,30 +6622,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 @@ -5837,21 +6659,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.
    * 
@@ -5861,19 +6688,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 @@ -5881,33 +6712,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(); } @@ -5915,6 +6754,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.
    * 
@@ -5922,10 +6763,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.
    * 
@@ -5933,11 +6777,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.
    * 
@@ -5949,6 +6795,8 @@ public int getGlueRecordsCount() { return glueRecords_.size(); } /** + * + * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -5960,6 +6808,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.
    * 
@@ -5973,6 +6823,7 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecordOrBuilder getGlue } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5984,13 +6835,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)); @@ -6005,16 +6857,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; @@ -6024,24 +6877,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: @@ -6078,97 +6929,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.
@@ -6176,21 +7034,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()
@@ -6198,17 +7058,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();
@@ -6224,9 +7084,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
@@ -6245,7 +7105,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) {
@@ -6279,38 +7140,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;
@@ -6337,26 +7199,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();
@@ -6386,12 +7252,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() {
@@ -6404,13 +7270,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 @@ -6418,11 +7290,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 @@ -6440,6 +7315,8 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns getCustomDns() { } } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -6460,6 +7337,8 @@ public Builder setCustomDns(com.google.cloud.domains.v1alpha2.DnsSettings.Custom return this; } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -6478,6 +7357,8 @@ public Builder setCustomDns( return this; } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -6486,10 +7367,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; } @@ -6504,6 +7389,8 @@ public Builder mergeCustomDns(com.google.cloud.domains.v1alpha2.DnsSettings.Cust return this; } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -6527,6 +7414,8 @@ public Builder clearCustomDns() { return this; } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -6537,6 +7426,8 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.CustomDns.Builder getCustom return getCustomDnsFieldBuilder().getBuilder(); } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -6544,7 +7435,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 { @@ -6555,6 +7447,8 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.CustomDnsOrBuilder getCusto } } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -6562,33 +7456,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 @@ -6596,12 +7504,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 @@ -6619,14 +7531,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(); @@ -6640,12 +7556,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) { @@ -6659,19 +7578,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; } @@ -6686,12 +7614,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) { @@ -6710,26 +7641,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 { @@ -6740,52 +7679,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 { @@ -6793,6 +7751,8 @@ public java.util.List } } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6807,6 +7767,8 @@ public int getGlueRecordsCount() { } } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6821,6 +7783,8 @@ public com.google.cloud.domains.v1alpha2.DnsSettings.GlueRecord getGlueRecords(i } } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6842,6 +7806,8 @@ public Builder setGlueRecords( return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6849,7 +7815,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()); @@ -6860,6 +7827,8 @@ public Builder setGlueRecords( return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6880,6 +7849,8 @@ public Builder addGlueRecords(com.google.cloud.domains.v1alpha2.DnsSettings.Glue return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6901,6 +7872,8 @@ public Builder addGlueRecords( return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6919,6 +7892,8 @@ public Builder addGlueRecords( return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6926,7 +7901,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()); @@ -6937,6 +7913,8 @@ public Builder addGlueRecords( return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6944,11 +7922,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); @@ -6956,6 +7934,8 @@ public Builder addAllGlueRecords( return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6973,6 +7953,8 @@ public Builder clearGlueRecords() { return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6990,6 +7972,8 @@ public Builder removeGlueRecords(int index) { return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7001,28 +7985,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 { @@ -7030,17 +8020,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.
      * 
@@ -7049,37 +8045,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); } @@ -7089,12 +8091,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(); } @@ -7103,16 +8105,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; @@ -7127,6 +8129,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..ea4f9421
--- /dev/null
+++ b/proto-google-cloud-domains-v1alpha2/src/main/java/com/google/cloud/domains/v1alpha2/DomainsProto.java
@@ -0,0 +1,720 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License 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_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_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\"\357\010\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\"z\n\005State\022\025\n\021STATE_"
+          + "UNSPECIFIED\020\000\022\030\n\024REGISTRATION_PENDING\020\001\022"
+          + "\027\n\023REGISTRATION_FAILED\020\002\022\n\n\006ACTIVE\020\006\022\r\n\t"
+          + "SUSPENDED\020\007\022\014\n\010EXPORTED\020\010\"I\n\005Issue\022\025\n\021IS"
+          + "SUE_UNSPECIFIED\020\000\022\023\n\017CONTACT_SUPPORT\020\001\022\024"
+          + "\n\020UNVERIFIED_EMAIL\020\002:n\352Ak\n#domains.googl"
+          + "eapis.com/Registration\022Dprojects/{projec"
+          + "t}/locations/{location}/registrations/{r"
+          + "egistration}\"\235\002\n\022ManagementSettings\022\\\n\016r"
+          + "enewal_method\030\003 \001(\0162?.google.cloud.domai"
+          + "ns.v1alpha2.ManagementSettings.RenewalMe"
+          + "thodB\003\340A\003\022M\n\023transfer_lock_state\030\004 \001(\01620"
+          + ".google.cloud.domains.v1alpha2.TransferL"
+          + "ockState\"Z\n\rRenewalMethod\022\036\n\032RENEWAL_MET"
+          + "HOD_UNSPECIFIED\020\000\022\025\n\021AUTOMATIC_RENEWAL\020\001"
+          + "\022\022\n\016MANUAL_RENEWAL\020\002\"\211\n\n\013DnsSettings\022J\n\n"
+          + "custom_dns\030\001 \001(\01324.google.cloud.domains."
+          + "v1alpha2.DnsSettings.CustomDnsH\000\022Y\n\022goog"
+          + "le_domains_dns\030\002 \001(\0132;.google.cloud.doma"
+          + "ins.v1alpha2.DnsSettings.GoogleDomainsDn"
+          + "sH\000\022K\n\014glue_records\030\004 \003(\01325.google.cloud"
+          + ".domains.v1alpha2.DnsSettings.GlueRecord"
+          + "\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.doma"
+          + "ins.v1alpha2.DnsSettings.DsRecord\032\306\001\n\020Go"
+          + "ogleDomainsDns\022\031\n\014name_servers\030\001 \003(\tB\003\340A"
+          + "\003\022I\n\010ds_state\030\002 \001(\01622.google.cloud.domai"
+          + "ns.v1alpha2.DnsSettings.DsStateB\003\340A\002\022L\n\n"
+          + "ds_records\030\003 \003(\01323.google.cloud.domains."
+          + "v1alpha2.DnsSettings.DsRecordB\003\340A\003\032\212\004\n\010D"
+          + "sRecord\022\017\n\007key_tag\030\001 \001(\005\022P\n\talgorithm\030\002 "
+          + "\001(\0162=.google.cloud.domains.v1alpha2.DnsS"
+          + "ettings.DsRecord.Algorithm\022S\n\013digest_typ"
+          + "e\030\003 \001(\0162>.google.cloud.domains.v1alpha2."
+          + "DnsSettings.DsRecord.DigestType\022\016\n\006diges"
+          + "t\030\004 \001(\t\"\332\001\n\tAlgorithm\022\031\n\025ALGORITHM_UNSPE"
+          + "CIFIED\020\000\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\017ECDSAP256SHA256\020\r\022\023\n\017ECDSAP384SHA3"
+          + "84\020\016\022\013\n\007ED25519\020\017\022\t\n\005ED448\020\020\"Y\n\nDigestTy"
+          + "pe\022\033\n\027DIGEST_TYPE_UNSPECIFIED\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\032"
+          + "T\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\016ipv6_addresses\030"
+          + "\003 \003(\t\"Y\n\007DsState\022\030\n\024DS_STATE_UNSPECIFIED"
+          + "\020\000\022\032\n\026DS_RECORDS_UNPUBLISHED\020\001\022\030\n\024DS_REC"
+          + "ORDS_PUBLISHED\020\002B\016\n\014dns_provider\"\343\003\n\017Con"
+          + "tactSettings\022C\n\007privacy\030\001 \001(\0162-.google.c"
+          + "loud.domains.v1alpha2.ContactPrivacyB\003\340A"
+          + "\002\022W\n\022registrant_contact\030\002 \001(\01326.google.c"
+          + "loud.domains.v1alpha2.ContactSettings.Co"
+          + "ntactB\003\340A\002\022R\n\radmin_contact\030\003 \001(\01326.goog"
+          + "le.cloud.domains.v1alpha2.ContactSetting"
+          + "s.ContactB\003\340A\002\022V\n\021technical_contact\030\004 \001("
+          + "\01326.google.cloud.domains.v1alpha2.Contac"
+          + "tSettings.ContactB\003\340A\002\032\205\001\n\007Contact\0227\n\016po"
+          + "stal_address\030\001 \001(\0132\032.google.type.PostalA"
+          + "ddressB\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\024SearchDomainsRequest\022\022\n\005query\030\001 \001(\tB\003\340"
+          + "A\002\022;\n\010location\030\002 \001(\tB)\340A\002\372A#\n!locations."
+          + "googleapis.com/Location\"g\n\025SearchDomains"
+          + "Response\022N\n\023register_parameters\030\001 \003(\01321."
+          + "google.cloud.domains.v1alpha2.RegisterPa"
+          + "rameters\"z\n!RetrieveRegisterParametersRe"
+          + "quest\022\030\n\013domain_name\030\001 \001(\tB\003\340A\002\022;\n\010locat"
+          + "ion\030\002 \001(\tB)\340A\002\372A#\n!locations.googleapis."
+          + "com/Location\"t\n\"RetrieveRegisterParamete"
+          + "rsResponse\022N\n\023register_parameters\030\001 \001(\0132"
+          + "1.google.cloud.domains.v1alpha2.Register"
+          + "Parameters\"\354\002\n\025RegisterDomainRequest\0229\n\006"
+          + "parent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleap"
+          + "is.com/Location\022F\n\014registration\030\002 \001(\0132+."
+          + "google.cloud.domains.v1alpha2.Registrati"
+          + "onB\003\340A\002\022C\n\016domain_notices\030\003 \003(\0162+.google"
+          + ".cloud.domains.v1alpha2.DomainNotice\022E\n\017"
+          + "contact_notices\030\004 \003(\0162,.google.cloud.dom"
+          + "ains.v1alpha2.ContactNotice\022-\n\014yearly_pr"
+          + "ice\030\005 \001(\0132\022.google.type.MoneyB\003\340A\002\022\025\n\rva"
+          + "lidate_only\030\006 \001(\010\"\214\001\n\030ListRegistrationsR"
+          + "equest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!location"
+          + "s.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"
+          + "\"x\n\031ListRegistrationsResponse\022B\n\rregistr"
+          + "ations\030\001 \003(\0132+.google.cloud.domains.v1al"
+          + "pha2.Registration\022\027\n\017next_page_token\030\002 \001"
+          + "(\t\"S\n\026GetRegistrationRequest\0229\n\004name\030\001 \001"
+          + "(\tB+\340A\002\372A%\n#domains.googleapis.com/Regis"
+          + "tration\"\224\001\n\031UpdateRegistrationRequest\022A\n"
+          + "\014registration\030\001 \001(\0132+.google.cloud.domai"
+          + "ns.v1alpha2.Registration\0224\n\013update_mask\030"
+          + "\002 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\355"
+          + "\001\n\"ConfigureManagementSettingsRequest\022A\n"
+          + "\014registration\030\001 \001(\tB+\340A\002\372A%\n#domains.goo"
+          + "gleapis.com/Registration\022N\n\023management_s"
+          + "ettings\030\002 \001(\01321.google.cloud.domains.v1a"
+          + "lpha2.ManagementSettings\0224\n\013update_mask\030"
+          + "\003 \001(\0132\032.google.protobuf.FieldMaskB\003\340A\002\"\357"
+          + "\001\n\033ConfigureDnsSettingsRequest\022A\n\014regist"
+          + "ration\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapis"
+          + ".com/Registration\022@\n\014dns_settings\030\002 \001(\0132"
+          + "*.google.cloud.domains.v1alpha2.DnsSetti"
+          + "ngs\0224\n\013update_mask\030\003 \001(\0132\032.google.protob"
+          + "uf.FieldMaskB\003\340A\002\022\025\n\rvalidate_only\030\004 \001(\010"
+          + "\"\302\002\n\037ConfigureContactSettingsRequest\022A\n\014"
+          + "registration\030\001 \001(\tB+\340A\002\372A%\n#domains.goog"
+          + "leapis.com/Registration\022H\n\020contact_setti"
+          + "ngs\030\002 \001(\0132..google.cloud.domains.v1alpha"
+          + "2.ContactSettings\0224\n\013update_mask\030\003 \001(\0132\032"
+          + ".google.protobuf.FieldMaskB\003\340A\002\022E\n\017conta"
+          + "ct_notices\030\004 \003(\0162,.google.cloud.domains."
+          + "v1alpha2.ContactNotice\022\025\n\rvalidate_only\030"
+          + "\005 \001(\010\"V\n\031ExportRegistrationRequest\0229\n\004na"
+          + "me\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapis.com"
+          + "/Registration\"V\n\031DeleteRegistrationReque"
+          + "st\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#domains.google"
+          + "apis.com/Registration\"e\n RetrieveAuthori"
+          + "zationCodeRequest\022A\n\014registration\030\001 \001(\tB"
+          + "+\340A\002\372A%\n#domains.googleapis.com/Registra"
+          + "tion\"b\n\035ResetAuthorizationCodeRequest\022A\n"
+          + "\014registration\030\001 \001(\tB+\340A\002\372A%\n#domains.goo"
+          + "gleapis.com/Registration\"\244\003\n\022RegisterPar"
+          + "ameters\022\023\n\013domain_name\030\001 \001(\t\022T\n\014availabi"
+          + "lity\030\002 \001(\0162>.google.cloud.domains.v1alph"
+          + "a2.RegisterParameters.Availability\022H\n\021su"
+          + "pported_privacy\030\003 \003(\0162-.google.cloud.dom"
+          + "ains.v1alpha2.ContactPrivacy\022C\n\016domain_n"
+          + "otices\030\004 \003(\0162+.google.cloud.domains.v1al"
+          + "pha2.DomainNotice\022(\n\014yearly_price\030\005 \001(\0132"
+          + "\022.google.type.Money\"j\n\014Availability\022\034\n\030A"
+          + "VAILABILITY_UNSPECIFIED\020\000\022\r\n\tAVAILABLE\020\001"
+          + "\022\017\n\013UNAVAILABLE\020\002\022\017\n\013UNSUPPORTED\020\003\022\013\n\007UN"
+          + "KNOWN\020\004\"!\n\021AuthorizationCode\022\014\n\004code\030\001 \001"
+          + "(\t\"\274\001\n\021OperationMetadata\022/\n\013create_time\030"
+          + "\001 \001(\0132\032.google.protobuf.Timestamp\022,\n\010end"
+          + "_time\030\002 \001(\0132\032.google.protobuf.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_version\030\006 \001(\t*\177\n\016Con"
+          + "tactPrivacy\022\037\n\033CONTACT_PRIVACY_UNSPECIFI"
+          + "ED\020\000\022\027\n\023PUBLIC_CONTACT_DATA\020\001\022\030\n\024PRIVATE"
+          + "_CONTACT_DATA\020\002\022\031\n\025REDACTED_CONTACT_DATA"
+          + "\020\003*A\n\014DomainNotice\022\035\n\031DOMAIN_NOTICE_UNSP"
+          + "ECIFIED\020\000\022\022\n\016HSTS_PRELOADED\020\001*X\n\rContact"
+          + "Notice\022\036\n\032CONTACT_NOTICE_UNSPECIFIED\020\000\022\'"
+          + "\n#PUBLIC_CONTACT_DATA_ACKNOWLEDGEMENT\020\001*"
+          + "R\n\021TransferLockState\022#\n\037TRANSFER_LOCK_ST"
+          + "ATE_UNSPECIFIED\020\000\022\014\n\010UNLOCKED\020\001\022\n\n\006LOCKE"
+          + "D\020\0022\306\032\n\007Domains\022\334\001\n\rSearchDomains\0223.goog"
+          + "le.cloud.domains.v1alpha2.SearchDomainsR"
+          + "equest\0324.google.cloud.domains.v1alpha2.S"
+          + "earchDomainsResponse\"`\202\323\344\223\002I\022G/v1alpha2/"
+          + "{location=projects/*/locations/*}/regist"
+          + "rations:searchDomains\332A\016location,query\022\226"
+          + "\002\n\032RetrieveRegisterParameters\022@.google.c"
+          + "loud.domains.v1alpha2.RetrieveRegisterPa"
+          + "rametersRequest\032A.google.cloud.domains.v"
+          + "1alpha2.RetrieveRegisterParametersRespon"
+          + "se\"s\202\323\344\223\002V\022T/v1alpha2/{location=projects"
+          + "/*/locations/*}/registrations:retrieveRe"
+          + "gisterParameters\332A\024location,domain_name\022"
+          + "\372\001\n\016RegisterDomain\0224.google.cloud.domain"
+          + "s.v1alpha2.RegisterDomainRequest\032\035.googl"
+          + "e.longrunning.Operation\"\222\001\202\323\344\223\002E\"@/v1alp"
+          + "ha2/{parent=projects/*/locations/*}/regi"
+          + "strations:register:\001*\332A parent,registrat"
+          + "ion,yearly_price\312A!\n\014Registration\022\021Opera"
+          + "tionMetadata\022\320\001\n\021ListRegistrations\0227.goo"
+          + "gle.cloud.domains.v1alpha2.ListRegistrat"
+          + "ionsRequest\0328.google.cloud.domains.v1alp"
+          + "ha2.ListRegistrationsResponse\"H\202\323\344\223\0029\0227/"
+          + "v1alpha2/{parent=projects/*/locations/*}"
+          + "/registrations\332A\006parent\022\275\001\n\017GetRegistrat"
+          + "ion\0225.google.cloud.domains.v1alpha2.GetR"
+          + "egistrationRequest\032+.google.cloud.domain"
+          + "s.v1alpha2.Registration\"F\202\323\344\223\0029\0227/v1alph"
+          + "a2/{name=projects/*/locations/*/registra"
+          + "tions/*}\332A\004name\022\211\002\n\022UpdateRegistration\0228"
+          + ".google.cloud.domains.v1alpha2.UpdateReg"
+          + "istrationRequest\032\035.google.longrunning.Op"
+          + "eration\"\231\001\202\323\344\223\002T2D/v1alpha2/{registratio"
+          + "n.name=projects/*/locations/*/registrati"
+          + "ons/*}:\014registration\332A\030registration,upda"
+          + "te_mask\312A!\n\014Registration\022\021OperationMetad"
+          + "ata\022\273\002\n\033ConfigureManagementSettings\022A.go"
+          + "ogle.cloud.domains.v1alpha2.ConfigureMan"
+          + "agementSettingsRequest\032\035.google.longrunn"
+          + "ing.Operation\"\271\001\202\323\344\223\002`\"[/v1alpha2/{regis"
+          + "tration=projects/*/locations/*/registrat"
+          + "ions/*}:configureManagementSettings:\001*\332A"
+          + ",registration,management_settings,update"
+          + "_mask\312A!\n\014Registration\022\021OperationMetadat"
+          + "a\022\237\002\n\024ConfigureDnsSettings\022:.google.clou"
+          + "d.domains.v1alpha2.ConfigureDnsSettingsR"
+          + "equest\032\035.google.longrunning.Operation\"\253\001"
+          + "\202\323\344\223\002Y\"T/v1alpha2/{registration=projects"
+          + "/*/locations/*/registrations/*}:configur"
+          + "eDnsSettings:\001*\332A%registration,dns_setti"
+          + "ngs,update_mask\312A!\n\014Registration\022\021Operat"
+          + "ionMetadata\022\257\002\n\030ConfigureContactSettings"
+          + "\022>.google.cloud.domains.v1alpha2.Configu"
+          + "reContactSettingsRequest\032\035.google.longru"
+          + "nning.Operation\"\263\001\202\323\344\223\002]\"X/v1alpha2/{reg"
+          + "istration=projects/*/locations/*/registr"
+          + "ations/*}:configureContactSettings:\001*\332A)"
+          + "registration,contact_settings,update_mas"
+          + "k\312A!\n\014Registration\022\021OperationMetadata\022\343\001"
+          + "\n\022ExportRegistration\0228.google.cloud.doma"
+          + "ins.v1alpha2.ExportRegistrationRequest\032\035"
+          + ".google.longrunning.Operation\"t\202\323\344\223\002C\">/"
+          + "v1alpha2/{name=projects/*/locations/*/re"
+          + "gistrations/*}:export:\001*\332A\004name\312A!\n\014Regi"
+          + "stration\022\021OperationMetadata\022\342\001\n\022DeleteRe"
+          + "gistration\0228.google.cloud.domains.v1alph"
+          + "a2.DeleteRegistrationRequest\032\035.google.lo"
+          + "ngrunning.Operation\"s\202\323\344\223\0029*7/v1alpha2/{"
+          + "name=projects/*/locations/*/registration"
+          + "s/*}\332A\004name\312A*\n\025google.protobuf.Empty\022\021O"
+          + "perationMetadata\022\200\002\n\031RetrieveAuthorizati"
+          + "onCode\022?.google.cloud.domains.v1alpha2.R"
+          + "etrieveAuthorizationCodeRequest\0320.google"
+          + ".cloud.domains.v1alpha2.AuthorizationCod"
+          + "e\"p\202\323\344\223\002[\022Y/v1alpha2/{registration=proje"
+          + "cts/*/locations/*/registrations/*}:retri"
+          + "eveAuthorizationCode\332A\014registration\022\372\001\n\026"
+          + "ResetAuthorizationCode\022<.google.cloud.do"
+          + "mains.v1alpha2.ResetAuthorizationCodeReq"
+          + "uest\0320.google.cloud.domains.v1alpha2.Aut"
+          + "horizationCode\"p\202\323\344\223\002[\"V/v1alpha2/{regis"
+          + "tration=projects/*/locations/*/registrat"
+          + "ions/*}:resetAuthorizationCode:\001*\332A\014regi"
+          + "stration\032J\312A\026domains.googleapis.com\322A.ht"
+          + "tps://www.googleapis.com/auth/cloud-plat"
+          + "formBy\n!com.google.cloud.domains.v1alpha"
+          + "2B\014DomainsProtoP\001ZDgoogle.golang.org/gen"
+          + "proto/googleapis/cloud/domains/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_ListRegistrationsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(9);
+    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(10);
+    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(11);
+    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(12);
+    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(13);
+    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(14);
+    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(15);
+    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(16);
+    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(17);
+    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(18);
+    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(19);
+    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(20);
+    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_AuthorizationCode_descriptor =
+        getDescriptor().getMessageTypes().get(21);
+    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(22);
+    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 9de9b49d..a379108d 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,53 +70,61 @@ 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) { throw e.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 @@ -108,30 +133,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -204,117 +231,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() @@ -322,16 +359,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(); @@ -341,9 +377,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 @@ -362,7 +398,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; @@ -372,38 +409,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; @@ -411,7 +449,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(); @@ -435,7 +474,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) { @@ -447,19 +487,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; @@ -468,21 +512,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 { @@ -490,64 +537,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); } @@ -557,12 +617,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(); } @@ -571,16 +631,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; @@ -595,6 +655,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 adaf3661..e3226522 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,53 +70,61 @@ 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) { throw e.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 @@ -108,30 +133,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -204,117 +231,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() @@ -322,16 +359,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(); @@ -341,9 +377,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 @@ -362,7 +398,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; @@ -372,38 +409,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; @@ -411,7 +449,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(); @@ -435,7 +474,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) { @@ -447,19 +487,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; @@ -468,21 +512,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 { @@ -490,64 +537,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); } @@ -557,12 +617,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(); } @@ -571,16 +631,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; @@ -595,6 +655,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 ff79339e..44b68903 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,70 +72,80 @@ 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) { throw e.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 @@ -127,30 +154,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 { @@ -161,11 +190,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 @@ -176,12 +208,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 @@ -190,30 +225,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 { @@ -224,6 +259,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
@@ -241,6 +278,7 @@ public java.lang.String getPageToken() {
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -249,14 +287,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
@@ -274,16 +313,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 { @@ -292,6 +330,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -303,8 +342,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -330,8 +368,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 (!getPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -347,21 +384,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; } @@ -387,117 +421,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() @@ -505,16 +549,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(); @@ -530,9 +573,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 @@ -551,7 +594,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_; @@ -564,38 +608,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; @@ -603,7 +648,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(); @@ -638,7 +684,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) { @@ -650,19 +697,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; @@ -671,21 +722,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 { @@ -693,69 +747,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 @@ -763,30 +833,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; @@ -794,19 +870,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; @@ -815,21 +893,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 { @@ -837,57 +916,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; @@ -895,6 +981,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
@@ -912,13 +1000,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; @@ -927,6 +1015,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
@@ -944,15 +1034,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -960,6 +1049,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
@@ -977,20 +1068,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
@@ -1008,15 +1101,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
@@ -1034,23 +1130,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); } @@ -1060,12 +1156,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(); } @@ -1074,16 +1170,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; @@ -1098,6 +1194,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 cd8a9b87..e9865d79 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,35 +72,38 @@ 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) { throw e.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_); @@ -92,22 +112,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.
    * 
@@ -119,6 +144,8 @@ public java.util.List getRegistr return registrations_; } /** + * + * *
    * A list of `Registration`s.
    * 
@@ -126,11 +153,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.
    * 
@@ -142,6 +171,8 @@ public int getRegistrationsCount() { return registrations_.size(); } /** + * + * *
    * A list of `Registration`s.
    * 
@@ -153,6 +184,8 @@ public com.google.cloud.domains.v1alpha2.Registration getRegistrations(int index return registrations_.get(index); } /** + * + * *
    * A list of `Registration`s.
    * 
@@ -168,12 +201,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 @@ -182,30 +218,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 { @@ -214,6 +250,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +262,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < registrations_.size(); i++) { output.writeMessage(1, registrations_.get(i)); } @@ -243,8 +279,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 (!getNextPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -257,17 +292,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; } @@ -291,117 +325,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() @@ -409,17 +453,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(); @@ -435,9 +479,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 @@ -456,7 +500,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)) { @@ -476,38 +521,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; @@ -515,7 +561,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()) { @@ -534,9 +581,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_); } @@ -565,7 +613,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) { @@ -574,21 +623,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.
      * 
@@ -603,6 +660,8 @@ public java.util.List getRegistr } } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -617,6 +676,8 @@ public int getRegistrationsCount() { } } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -631,6 +692,8 @@ public com.google.cloud.domains.v1alpha2.Registration getRegistrations(int index } } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -652,6 +715,8 @@ public Builder setRegistrations( return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -670,6 +735,8 @@ public Builder setRegistrations( return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -690,6 +757,8 @@ public Builder addRegistrations(com.google.cloud.domains.v1alpha2.Registration v return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -711,6 +780,8 @@ public Builder addRegistrations( return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -729,6 +800,8 @@ public Builder addRegistrations( return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -747,6 +820,8 @@ public Builder addRegistrations( return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -757,8 +832,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); @@ -766,6 +840,8 @@ public Builder addAllRegistrations( return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -783,6 +859,8 @@ public Builder clearRegistrations() { return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -800,6 +878,8 @@ public Builder removeRegistrations(int index) { return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -811,6 +891,8 @@ public com.google.cloud.domains.v1alpha2.Registration.Builder getRegistrationsBu return getRegistrationsFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -820,19 +902,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 { @@ -840,6 +925,8 @@ public com.google.cloud.domains.v1alpha2.RegistrationOrBuilder getRegistrationsO } } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -847,10 +934,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.
      * 
@@ -859,26 +948,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(), @@ -890,19 +987,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; @@ -911,21 +1010,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 { @@ -933,64 +1033,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); } @@ -1000,12 +1107,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(); } @@ -1014,16 +1121,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; @@ -1038,6 +1145,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 5ea95195..968ce86a 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,60 +71,67 @@ 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) { throw e.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.
      * 
@@ -116,6 +140,8 @@ public enum RenewalMethod */ RENEWAL_METHOD_UNSPECIFIED(0), /** + * + * *
      * The domain is automatically renewed each year .
      * To disable automatic renewals, export the domain by calling
@@ -126,6 +152,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`
@@ -141,6 +169,8 @@ public enum RenewalMethod
     ;
 
     /**
+     *
+     *
      * 
      * The renewal method is undefined.
      * 
@@ -149,6 +179,8 @@ public enum RenewalMethod */ public static final int RENEWAL_METHOD_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The domain is automatically renewed each year .
      * To disable automatic renewals, export the domain by calling
@@ -159,6 +191,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`
@@ -171,7 +205,6 @@ public enum RenewalMethod
      */
     public static final int MANUAL_RENEWAL_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -196,49 +229,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;
@@ -258,58 +293,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; @@ -321,12 +383,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); @@ -338,13 +404,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; @@ -354,12 +423,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; @@ -384,117 +454,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() @@ -502,16 +581,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(); @@ -523,9 +601,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 @@ -544,7 +622,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(); @@ -555,38 +634,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; @@ -594,7 +674,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()); } @@ -620,7 +701,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) { @@ -632,73 +714,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; @@ -706,51 +819,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. */ @@ -758,28 +887,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); } @@ -789,12 +921,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(); } @@ -803,16 +935,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; @@ -827,6 +959,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 41f28ba0..4511549f 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,96 +73,109 @@ 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) { throw e.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 @@ -153,11 +183,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 @@ -165,6 +198,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time the operation was created.
    * 
@@ -179,11 +214,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 @@ -191,11 +229,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 @@ -203,6 +244,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The time the operation finished running.
    * 
@@ -217,11 +260,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 @@ -230,29 +276,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 { @@ -263,11 +309,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 @@ -276,29 +325,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 { @@ -309,11 +358,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 @@ -322,29 +374,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 { @@ -355,11 +407,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 @@ -368,29 +423,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 { @@ -399,6 +454,7 @@ public java.lang.String getApiVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -410,8 +466,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -440,12 +495,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 (!getTargetBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); @@ -467,31 +520,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; } @@ -525,117 +573,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() @@ -643,16 +700,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(); @@ -680,9 +736,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 @@ -701,7 +757,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 { @@ -724,38 +781,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; @@ -763,7 +821,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()); } @@ -805,7 +864,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) { @@ -817,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.
      * 
@@ -865,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(); @@ -883,6 +957,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -893,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; } @@ -905,6 +981,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -923,6 +1001,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -930,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.
      * 
@@ -945,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.
      * 
@@ -957,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_; @@ -972,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() { @@ -1000,6 +1097,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1020,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(); @@ -1038,6 +1138,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1048,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; } @@ -1060,6 +1162,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1078,6 +1182,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1085,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.
      * 
@@ -1100,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.
      * 
@@ -1112,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_; @@ -1127,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; @@ -1147,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 { @@ -1168,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; @@ -1223,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; @@ -1243,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 { @@ -1264,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; @@ -1319,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; @@ -1339,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 { @@ -1360,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; @@ -1415,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; @@ -1435,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 { @@ -1456,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); } @@ -1520,12 +1672,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(); } @@ -1534,16 +1686,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; @@ -1558,6 +1710,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 3d26618e..52a18468 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,103 +73,111 @@ 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) { throw e.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_); @@ -164,28 +189,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 @@ -194,30 +227,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 { @@ -228,11 +263,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 @@ -240,23 +280,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() { @@ -266,36 +317,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 @@ -303,12 +365,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. */ @@ -317,26 +382,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. */ @@ -344,21 +414,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
    * required here depend on the values specified in
@@ -366,14 +443,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
    * required here depend on the values specified in
@@ -381,6 +462,7 @@ public java.util.List getContac
    * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @return The count of contactNotices. */ @java.lang.Override @@ -388,6 +470,8 @@ public int getContactNoticesCount() { return contactNotices_.size(); } /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * required here depend on the values specified in
@@ -395,6 +479,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. */ @@ -403,6 +488,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
    * required here depend on the values specified in
@@ -410,14 +497,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
    * required here depend on the values specified in
@@ -425,6 +514,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. */ @@ -432,11 +522,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
@@ -444,6 +537,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 @@ -451,6 +545,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
@@ -458,6 +554,7 @@ public boolean hasYearlyPrice() {
    * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The yearlyPrice. */ @java.lang.Override @@ -465,6 +562,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
@@ -481,6 +580,8 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
   public static final int VALIDATE_ONLY_FIELD_NUMBER = 6;
   private boolean validateOnly_;
   /**
+   *
+   *
    * 
    * When true, only validation will be performed, without actually registering
    * the domain. Follows:
@@ -488,6 +589,7 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
    * 
* * bool validate_only = 6; + * * @return The validateOnly. */ @java.lang.Override @@ -496,6 +598,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -507,8 +610,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); @@ -549,40 +651,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; @@ -592,29 +693,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; } @@ -645,125 +743,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() @@ -771,16 +878,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(); @@ -808,9 +914,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 @@ -829,7 +935,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) { @@ -861,38 +968,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; @@ -900,7 +1008,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(); @@ -953,7 +1062,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) { @@ -962,23 +1072,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; @@ -987,21 +1102,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 { @@ -1009,57 +1127,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; @@ -1067,39 +1198,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) { @@ -1115,11 +1265,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) { @@ -1133,17 +1287,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; } @@ -1155,11 +1315,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) { @@ -1173,55 +1337,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_); @@ -1229,37 +1409,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. */ @@ -1267,12 +1457,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. @@ -1288,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.v1alpha2.DomainNotice domain_notices = 3; + * * @param value The domainNotices to add. * @return This builder for chaining. */ @@ -1307,12 +1503,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. */ @@ -1326,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.v1alpha2.DomainNotice domain_notices = 3; + * * @return This builder for chaining. */ public Builder clearDomainNotices() { @@ -1341,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.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. */ @@ -1367,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.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. */ @@ -1401,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.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); @@ -1420,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_); @@ -1429,6 +1643,8 @@ private void ensureContactNoticesIsMutable() { } } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * required here depend on the values specified in
@@ -1436,13 +1652,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
      * required here depend on the values specified in
@@ -1450,12 +1670,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
      * required here depend on the values specified in
@@ -1463,6 +1686,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. */ @@ -1470,6 +1694,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
      * required here depend on the values specified in
@@ -1477,6 +1703,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. @@ -1492,6 +1719,8 @@ public Builder setContactNotices( return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * required here depend on the values specified in
@@ -1499,6 +1728,7 @@ public Builder setContactNotices(
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @param value The contactNotices to add. * @return This builder for chaining. */ @@ -1512,6 +1742,8 @@ public Builder addContactNotices(com.google.cloud.domains.v1alpha2.ContactNotice return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * required here depend on the values specified in
@@ -1519,6 +1751,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. */ @@ -1532,6 +1765,8 @@ public Builder addAllContactNotices( return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * required here depend on the values specified in
@@ -1539,6 +1774,7 @@ public Builder addAllContactNotices(
      * 
* * repeated .google.cloud.domains.v1alpha2.ContactNotice contact_notices = 4; + * * @return This builder for chaining. */ public Builder clearContactNotices() { @@ -1548,6 +1784,8 @@ public Builder clearContactNotices() { return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * required here depend on the values specified in
@@ -1555,13 +1793,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
      * required here depend on the values specified in
@@ -1569,6 +1809,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. */ @@ -1576,6 +1817,8 @@ public int getContactNoticesValue(int index) { return contactNotices_.get(index); } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * required here depend on the values specified in
@@ -1583,18 +1826,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
      * required here depend on the values specified in
@@ -1602,6 +1847,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. */ @@ -1612,6 +1858,8 @@ public Builder addContactNoticesValue(int value) { return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * required here depend on the values specified in
@@ -1619,11 +1867,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); @@ -1634,8 +1882,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
@@ -1643,12 +1894,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
@@ -1656,6 +1910,7 @@ public boolean hasYearlyPrice() {
      * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The yearlyPrice. */ public com.google.type.Money getYearlyPrice() { @@ -1666,6 +1921,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
@@ -1688,6 +1945,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
@@ -1696,8 +1955,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();
@@ -1708,6 +1966,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
@@ -1720,7 +1980,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;
         }
@@ -1732,6 +1992,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
@@ -1752,6 +2014,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
@@ -1761,11 +2025,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
@@ -1778,11 +2044,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
@@ -1792,21 +2059,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 will be performed, without actually registering
      * the domain. Follows:
@@ -1814,6 +2084,7 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
      * 
* * bool validate_only = 6; + * * @return The validateOnly. */ @java.lang.Override @@ -1821,6 +2092,8 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * When true, only validation will be performed, without actually registering
      * the domain. Follows:
@@ -1828,16 +2101,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 will be performed, without actually registering
      * the domain. Follows:
@@ -1845,17 +2121,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); } @@ -1865,12 +2142,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(); } @@ -1879,16 +2156,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; @@ -1903,6 +2180,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 b7673132..a1690f34 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
    * required 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
    * required 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
    * required 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
    * required 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
    * required 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 will be 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 83f7085a..7726a2fe 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,91 +74,97 @@ 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) { throw e.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_); @@ -153,29 +176,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.
      * 
@@ -184,6 +213,8 @@ public enum Availability */ AVAILABILITY_UNSPECIFIED(0), /** + * + * *
      * The domain is available for registration.
      * 
@@ -192,6 +223,8 @@ public enum Availability */ AVAILABLE(1), /** + * + * *
      * The domain is not available for registration. Generally this means it is
      * already registered to another party.
@@ -201,6 +234,8 @@ public enum Availability
      */
     UNAVAILABLE(2),
     /**
+     *
+     *
      * 
      * The domain is not currently supported by Cloud Domains, but may
      * be available elsewhere.
@@ -210,6 +245,8 @@ public enum Availability
      */
     UNSUPPORTED(3),
     /**
+     *
+     *
      * 
      * Cloud Domains is unable to determine domain availability, generally
      * due to system maintenance at the domain name registry.
@@ -222,6 +259,8 @@ public enum Availability
     ;
 
     /**
+     *
+     *
      * 
      * The availability is unspecified.
      * 
@@ -230,6 +269,8 @@ public enum Availability */ public static final int AVAILABILITY_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The domain is available for registration.
      * 
@@ -238,6 +279,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.
@@ -247,6 +290,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.
@@ -256,6 +301,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.
@@ -265,7 +312,6 @@ public enum Availability
      */
     public static final int UNKNOWN_VALUE = 4;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -290,51 +336,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;
@@ -354,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 @@ -367,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 { @@ -400,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
@@ -407,12 +462,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
@@ -420,45 +479,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 @@ -466,11 +543,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. */ @@ -479,24 +559,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. */ @@ -504,39 +589,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 @@ -544,11 +641,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. */ @@ -557,24 +657,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. */ @@ -582,16 +687,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 @@ -599,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 @@ -611,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.
    * 
@@ -623,6 +737,7 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -634,13 +749,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 (!getDomainNameBytes().isEmpty()) { 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) { @@ -672,37 +789,40 @@ public int getSerializedSize() { if (!getDomainNameBytes().isEmpty()) { 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; @@ -712,22 +832,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; @@ -762,117 +881,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() @@ -880,16 +1008,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(); @@ -911,9 +1038,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 @@ -932,7 +1059,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_; @@ -959,38 +1087,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; @@ -998,7 +1127,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(); @@ -1048,7 +1178,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) { @@ -1057,22 +1188,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; @@ -1081,20 +1215,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 { @@ -1102,54 +1237,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; @@ -1157,6 +1299,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
@@ -1164,12 +1308,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
@@ -1177,16 +1325,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
@@ -1194,15 +1345,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
@@ -1210,19 +1367,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
@@ -1230,17 +1391,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_); @@ -1248,34 +1410,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. */ @@ -1283,11 +1456,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. @@ -1303,11 +1479,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. */ @@ -1321,11 +1500,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. */ @@ -1339,11 +1521,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() { @@ -1353,23 +1538,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. */ @@ -1377,28 +1567,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. */ @@ -1409,16 +1604,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); @@ -1427,8 +1624,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_); @@ -1436,34 +1633,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. */ @@ -1471,11 +1678,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. @@ -1491,11 +1701,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. */ @@ -1509,11 +1722,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. */ @@ -1527,11 +1743,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() { @@ -1541,23 +1760,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. */ @@ -1565,28 +1789,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. */ @@ -1597,16 +1826,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); @@ -1617,24 +1848,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() { @@ -1645,6 +1883,8 @@ public com.google.type.Money getYearlyPrice() { } } /** + * + * *
      * Price to register or renew the domain for one year.
      * 
@@ -1665,14 +1905,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(); @@ -1683,6 +1924,8 @@ public Builder setYearlyPrice( return this; } /** + * + * *
      * Price to register or renew the domain for one year.
      * 
@@ -1693,7 +1936,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; } @@ -1705,6 +1948,8 @@ public Builder mergeYearlyPrice(com.google.type.Money value) { return this; } /** + * + * *
      * Price to register or renew the domain for one year.
      * 
@@ -1723,6 +1968,8 @@ public Builder clearYearlyPrice() { return this; } /** + * + * *
      * Price to register or renew the domain for one year.
      * 
@@ -1730,11 +1977,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.
      * 
@@ -1745,11 +1994,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.
      * 
@@ -1757,21 +2007,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); } @@ -1781,12 +2032,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(); } @@ -1795,16 +2046,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; @@ -1819,6 +2070,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 67% 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 91664093..f40bb4e8 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.
@@ -16,15 +33,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_ = "";
@@ -35,16 +53,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)
@@ -64,175 +81,200 @@ 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) {
       throw e.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_);
@@ -244,41 +286,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.
      * 
@@ -287,6 +334,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The domain is being registered.
      * 
@@ -295,6 +344,8 @@ public enum State */ REGISTRATION_PENDING(1), /** + * + * *
      * The domain registration failed. You can delete resources in this state
      * to allow registration to be retried.
@@ -304,6 +355,8 @@ public enum State
      */
     REGISTRATION_FAILED(2),
     /**
+     *
+     *
      * 
      * The domain is registered and operational. The domain renews automatically
      * as long as it remains in this state.
@@ -313,6 +366,8 @@ public enum State
      */
     ACTIVE(6),
     /**
+     *
+     *
      * 
      * The domain is suspended and inoperative. For more details, see the
      * `issues` field.
@@ -322,6 +377,8 @@ public enum State
      */
     SUSPENDED(7),
     /**
+     *
+     *
      * 
      * The domain has been exported from Cloud Domains to
      * [Google Domains](https://domains.google/). You can no longer update it
@@ -337,6 +394,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * The state is undefined.
      * 
@@ -345,6 +404,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The domain is being registered.
      * 
@@ -353,6 +414,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.
@@ -362,6 +425,8 @@ public enum State
      */
     public static final int REGISTRATION_FAILED_VALUE = 2;
     /**
+     *
+     *
      * 
      * The domain is registered and operational. The domain renews automatically
      * as long as it remains in this state.
@@ -371,6 +436,8 @@ public enum State
      */
     public static final int ACTIVE_VALUE = 6;
     /**
+     *
+     *
      * 
      * The domain is suspended and inoperative. For more details, see the
      * `issues` field.
@@ -380,6 +447,8 @@ public enum State
      */
     public static final int SUSPENDED_VALUE = 7;
     /**
+     *
+     *
      * 
      * The domain has been exported from Cloud Domains to
      * [Google Domains](https://domains.google/). You can no longer update it
@@ -392,7 +461,6 @@ public enum State
      */
     public static final int EXPORTED_VALUE = 8;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -417,52 +485,55 @@ 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 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 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;
@@ -480,15 +551,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.
      * 
@@ -497,6 +571,8 @@ public enum Issue */ ISSUE_UNSPECIFIED(0), /** + * + * *
      * Contact the Cloud Support team to resolve a problem with this domain.
      * 
@@ -505,6 +581,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
@@ -523,6 +601,8 @@ public enum Issue
     ;
 
     /**
+     *
+     *
      * 
      * The issue is undefined.
      * 
@@ -531,6 +611,8 @@ public enum Issue */ public static final int ISSUE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Contact the Cloud Support team to resolve a problem with this domain.
      * 
@@ -539,6 +621,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
@@ -554,7 +638,6 @@ public enum Issue
      */
     public static final int UNVERIFIED_EMAIL_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -579,49 +662,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;
@@ -641,12 +724,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 @@ -655,30 +741,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 { @@ -689,11 +775,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 @@ -702,29 +793,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 { @@ -735,11 +828,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 @@ -747,11 +844,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 @@ -759,11 +860,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() { @@ -773,11 +877,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 @@ -785,11 +893,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 @@ -797,11 +909,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() { @@ -811,61 +926,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 @@ -873,11 +1019,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. */ @@ -886,24 +1037,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. */ @@ -911,27 +1071,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_; } @@ -940,28 +1100,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 java.lang.NullPointerException(); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } 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`.
    * 
@@ -969,11 +1131,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`.
    * 
@@ -981,16 +1144,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 java.lang.NullPointerException(); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Set of labels associated with the `Registration`.
    * 
@@ -998,12 +1161,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 java.lang.NullPointerException(); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1013,6 +1175,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`
@@ -1021,6 +1185,7 @@ public java.lang.String getLabelsOrThrow(
    * 
* * .google.cloud.domains.v1alpha2.ManagementSettings management_settings = 10; + * * @return Whether the managementSettings field is set. */ @java.lang.Override @@ -1028,6 +1193,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`
@@ -1036,13 +1203,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`
@@ -1053,13 +1225,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
@@ -1067,6 +1242,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 @@ -1074,6 +1250,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
@@ -1081,13 +1259,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
@@ -1104,13 +1287,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 @@ -1118,27 +1306,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() { @@ -1148,6 +1347,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`
@@ -1158,7 +1359,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 @@ -1166,6 +1370,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`
@@ -1176,14 +1382,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`
@@ -1194,46 +1407,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 @@ -1241,12 +1474,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. */ @@ -1255,26 +1493,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. */ @@ -1282,9 +1529,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; @@ -1296,8 +1545,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); @@ -1311,7 +1559,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) { @@ -1321,12 +1570,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()); } @@ -1362,66 +1607,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; @@ -1431,50 +1672,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; @@ -1535,97 +1768,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.
@@ -1638,43 +1878,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()
@@ -1682,16 +1922,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();
@@ -1746,9 +1985,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
@@ -1767,7 +2006,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_;
@@ -1822,38 +2062,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;
@@ -1889,8 +2130,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());
       }
@@ -1941,23 +2181,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; @@ -1966,21 +2209,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 { @@ -1988,57 +2232,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; @@ -2046,18 +2297,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; @@ -2066,20 +2321,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 { @@ -2087,54 +2345,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; @@ -2142,39 +2413,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) { @@ -2190,14 +2480,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(); @@ -2208,17 +2501,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; } @@ -2230,11 +2527,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) { @@ -2248,48 +2549,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_; @@ -2297,39 +2614,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) { @@ -2345,14 +2681,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(); @@ -2363,17 +2702,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; } @@ -2385,11 +2728,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) { @@ -2403,48 +2750,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_; @@ -2452,51 +2815,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. */ @@ -2504,28 +2891,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_); @@ -2533,34 +2925,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. */ @@ -2568,11 +2976,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. @@ -2588,11 +3001,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. */ @@ -2606,11 +3024,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. */ @@ -2624,11 +3047,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() { @@ -2638,23 +3066,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. */ @@ -2662,28 +3099,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. */ @@ -2694,16 +3140,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); @@ -2712,22 +3162,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(); @@ -2739,28 +3188,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 java.lang.NullPointerException(); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } 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`.
      * 
@@ -2768,11 +3219,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`.
      * 
@@ -2780,16 +3232,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 java.lang.NullPointerException(); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Set of labels associated with the `Registration`.
      * 
@@ -2797,12 +3250,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 java.lang.NullPointerException(); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -2810,68 +3262,72 @@ 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 java.lang.NullPointerException(); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + 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 java.lang.NullPointerException(); } - if (value == null) { throw new java.lang.NullPointerException(); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + if (value == null) { + throw new java.lang.NullPointerException(); + } + 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`
@@ -2880,12 +3336,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`
@@ -2894,16 +3353,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`
@@ -2913,7 +3377,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();
@@ -2927,6 +3392,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`
@@ -2948,6 +3415,8 @@ public Builder setManagementSettings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -2957,11 +3426,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;
         }
@@ -2973,6 +3445,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`
@@ -2994,6 +3468,8 @@ public Builder clearManagementSettings() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3003,12 +3479,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`
@@ -3018,15 +3497,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`
@@ -3037,14 +3520,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_;
@@ -3052,8 +3538,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
@@ -3061,12 +3552,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
@@ -3074,16 +3568,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
@@ -3106,6 +3605,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
@@ -3126,6 +3627,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
@@ -3138,7 +3641,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;
         }
@@ -3150,6 +3655,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
@@ -3170,6 +3677,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
@@ -3179,11 +3688,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
@@ -3196,11 +3707,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
@@ -3210,14 +3724,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_;
@@ -3225,45 +3742,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) { @@ -3279,13 +3815,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) { @@ -3299,19 +3839,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; } @@ -3323,13 +3869,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) { @@ -3343,54 +3893,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_; @@ -3398,8 +3965,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`
@@ -3410,13 +3982,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`
@@ -3427,17 +4004,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`
@@ -3448,9 +4032,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(); @@ -3464,6 +4051,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`
@@ -3474,7 +4063,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) { @@ -3488,6 +4079,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`
@@ -3498,13 +4091,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; } @@ -3516,6 +4114,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`
@@ -3526,7 +4126,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) { @@ -3540,6 +4142,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`
@@ -3550,14 +4154,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`
@@ -3568,17 +4177,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`
@@ -3589,24 +4204,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_); @@ -3614,37 +4234,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. */ @@ -3652,12 +4289,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. @@ -3673,12 +4315,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. */ @@ -3692,12 +4339,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. */ @@ -3711,12 +4363,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() { @@ -3726,25 +4383,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. */ @@ -3752,30 +4418,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. */ @@ -3786,17 +4461,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); @@ -3804,9 +4483,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); } @@ -3816,12 +4495,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(); } @@ -3830,16 +4509,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; @@ -3854,6 +4533,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 10c74963..f7184368 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,52 +268,52 @@ 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`.
    * 
* * map<string, string> labels = 9; */ - - java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue); + java.lang.String getLabelsOrDefault(java.lang.String key, 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`
@@ -234,10 +322,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`
@@ -246,10 +337,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`
@@ -262,6 +356,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
@@ -269,10 +365,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
@@ -280,10 +379,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
@@ -295,39 +397,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`
@@ -338,11 +456,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`
@@ -353,11 +476,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`
@@ -368,59 +496,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 c482e7f5..f9634995 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,53 +70,61 @@ 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) { throw e.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 @@ -108,30 +133,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 { @@ -140,6 +167,7 @@ public java.lang.String getRegistration() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getRegistrationBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -204,117 +231,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() @@ -322,16 +359,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(); @@ -341,13 +377,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(); } @@ -362,7 +399,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; @@ -372,46 +410,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(); @@ -435,7 +477,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) { @@ -447,19 +491,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; @@ -468,21 +516,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 { @@ -490,64 +541,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); } @@ -557,30 +621,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; @@ -592,9 +658,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 0f16f026..aca2f9d2 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,53 +71,61 @@ 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) { throw e.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 @@ -108,30 +134,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 { @@ -140,6 +168,7 @@ public java.lang.String getRegistration() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +180,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getRegistrationBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -176,15 +204,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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; } @@ -204,134 +232,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(); @@ -341,14 +380,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 @@ -362,7 +403,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; @@ -372,46 +414,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(); @@ -435,7 +482,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) { @@ -447,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; @@ -468,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 { @@ -490,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); } @@ -557,30 +626,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; @@ -592,9 +663,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 c84f9cc2..f6630e79 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,58 +72,65 @@ 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) { throw e.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 @@ -114,29 +139,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 { @@ -147,11 +172,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 @@ -160,29 +190,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 { @@ -191,6 +223,7 @@ public java.lang.String getLocation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,8 +235,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getDomainNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domainName_); } @@ -233,17 +265,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; } @@ -265,134 +296,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(); @@ -404,14 +446,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 @@ -425,7 +469,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(); @@ -436,46 +481,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(); @@ -503,7 +553,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) { @@ -515,18 +567,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; @@ -535,20 +589,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 { @@ -556,54 +611,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; @@ -611,18 +673,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; @@ -631,20 +697,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 { @@ -652,61 +721,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); } @@ -716,30 +798,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; @@ -751,9 +835,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 feb3b34a..bdd7612c 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,59 +69,68 @@ 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) { throw e.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 @@ -112,18 +138,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.
    * 
@@ -131,11 +164,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; @@ -147,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()); } @@ -162,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; @@ -173,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.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; @@ -206,134 +239,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(); @@ -347,14 +391,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 @@ -368,7 +414,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 { @@ -382,46 +429,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()); } @@ -444,7 +496,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) { @@ -456,41 +510,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(); @@ -504,6 +572,8 @@ public Builder setRegisterParameters(com.google.cloud.domains.v1alpha2.RegisterP return this; } /** + * + * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
@@ -522,17 +592,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; } @@ -544,6 +619,8 @@ public Builder mergeRegisterParameters(com.google.cloud.domains.v1alpha2.Registe return this; } /** + * + * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
@@ -562,33 +639,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.
      * 
@@ -596,21 +682,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); } @@ -620,30 +709,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; @@ -655,9 +746,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/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 d4f0b728..16f20985 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,58 +71,65 @@ 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) { throw e.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 @@ -114,29 +138,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 { @@ -147,11 +171,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 @@ -160,29 +189,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 { @@ -191,6 +222,7 @@ public java.lang.String getLocation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,8 +234,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getQueryBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, query_); } @@ -233,17 +264,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; } @@ -265,117 +295,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() @@ -383,16 +423,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(); @@ -404,9 +443,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 @@ -425,7 +464,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(); @@ -436,38 +476,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; @@ -475,7 +516,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(); @@ -503,7 +545,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) { @@ -515,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; @@ -535,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 { @@ -556,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; @@ -611,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; @@ -631,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 { @@ -652,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); } @@ -716,12 +789,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(); } @@ -730,16 +803,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; @@ -754,6 +827,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 69% 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 7bbbdd57..e925fea8 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,29 +71,32 @@ 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) { throw e.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_); @@ -85,80 +105,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; @@ -170,8 +210,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < registerParameters_.size(); i++) { output.writeMessage(1, registerParameters_.get(i)); } @@ -185,8 +224,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; @@ -196,15 +235,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; } @@ -226,117 +265,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() @@ -344,17 +393,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(); @@ -368,9 +417,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 @@ -389,7 +438,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)) { @@ -408,38 +458,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; @@ -447,7 +498,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()) { @@ -466,9 +518,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_); } @@ -493,7 +546,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) { @@ -502,28 +556,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 { @@ -531,11 +596,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) { @@ -545,11 +613,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) { @@ -559,11 +630,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) { @@ -580,11 +654,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) { @@ -598,13 +675,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(); @@ -618,11 +699,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) { @@ -639,11 +723,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) { @@ -657,11 +744,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) { @@ -675,18 +765,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); @@ -694,11 +786,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) { @@ -711,11 +806,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) { @@ -728,39 +826,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 { @@ -768,45 +876,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(), @@ -815,9 +940,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); } @@ -827,12 +952,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(); } @@ -841,16 +966,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; @@ -865,6 +990,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/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/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 94a1724c..1b4d54d4 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,72 +68,82 @@ 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) { throw e.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 @@ -125,18 +151,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.
    * 
@@ -151,13 +184,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` would
    * be `"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 @@ -165,13 +202,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` would
    * be `"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 @@ -179,13 +220,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` would
    * be `"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() { @@ -193,6 +237,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +249,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (registration_ != null) { output.writeMessage(1, getRegistration()); } @@ -222,12 +266,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; @@ -237,22 +279,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; @@ -279,117 +320,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() @@ -397,16 +448,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(); @@ -426,9 +476,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 @@ -447,7 +497,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 { @@ -466,38 +517,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; @@ -505,7 +557,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()); } @@ -531,7 +584,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) { @@ -543,34 +597,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.
      * 
@@ -591,6 +658,8 @@ public Builder setRegistration(com.google.cloud.domains.v1alpha2.Registration va return this; } /** + * + * *
      * Fields of the `Registration` to update.
      * 
@@ -609,6 +678,8 @@ public Builder setRegistration( return this; } /** + * + * *
      * Fields of the `Registration` to update.
      * 
@@ -619,7 +690,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; } @@ -631,6 +704,8 @@ public Builder mergeRegistration(com.google.cloud.domains.v1alpha2.Registration return this; } /** + * + * *
      * Fields of the `Registration` to update.
      * 
@@ -649,6 +724,8 @@ public Builder clearRegistration() { return this; } /** + * + * *
      * Fields of the `Registration` to update.
      * 
@@ -656,11 +733,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.
      * 
@@ -671,11 +750,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.
      * 
@@ -683,14 +765,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_; @@ -698,45 +783,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` would
      * be `"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` would
      * be `"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` would
      * be `"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) { @@ -752,16 +853,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` would
      * be `"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(); @@ -772,19 +875,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` would
      * be `"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; } @@ -796,13 +902,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` would
      * be `"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) { @@ -816,61 +925,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` would
      * be `"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` would
      * be `"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` would
      * be `"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); } @@ -880,12 +1002,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(); } @@ -894,16 +1016,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; @@ -918,6 +1040,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 ee491b74..cb55c48c 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` would
    * be `"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` would
    * be `"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` would
    * be `"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 c5fe7200..30d11bd4 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,53 +70,59 @@ 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) { throw e.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 @@ -108,30 +131,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 { @@ -140,6 +163,7 @@ public java.lang.String getCode() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +175,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getCodeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, code_); } @@ -176,15 +199,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; } @@ -204,117 +227,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() @@ -322,16 +354,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(); @@ -341,9 +372,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 @@ -362,7 +393,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; @@ -372,38 +404,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; @@ -411,7 +444,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(); @@ -435,7 +469,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) { @@ -447,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; @@ -468,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 { @@ -490,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); } @@ -557,12 +602,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(); } @@ -571,16 +616,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; @@ -595,6 +640,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 991784f5..823fb50d 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,80 +73,87 @@ 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) { throw e.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_); @@ -137,28 +162,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 @@ -167,30 +200,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 { @@ -201,11 +236,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 @@ -213,18 +251,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.
    * 
@@ -239,13 +284,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` would be `"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 @@ -253,13 +302,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` would be `"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 @@ -267,13 +320,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` would be `"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() { @@ -283,36 +339,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
    * required 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
    * required 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 @@ -320,12 +387,15 @@ public int getContactNoticesCount() { return contactNotices_.size(); } /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * required 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. */ @@ -334,26 +404,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
    * required 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
    * required 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. */ @@ -361,16 +436,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 @@ -379,6 +458,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -390,8 +470,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (!getRegistrationBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); @@ -425,28 +504,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; @@ -456,28 +533,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; } @@ -504,125 +578,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() @@ -630,16 +713,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(); @@ -665,13 +747,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(); } @@ -686,7 +769,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) { @@ -713,46 +797,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(); @@ -795,7 +883,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) { @@ -804,23 +894,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; @@ -829,21 +924,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 { @@ -851,57 +949,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; @@ -909,34 +1020,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.
      * 
@@ -957,6 +1081,8 @@ public Builder setContactSettings(com.google.cloud.domains.v1beta1.ContactSettin return this; } /** + * + * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -975,6 +1101,8 @@ public Builder setContactSettings( return this; } /** + * + * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -985,7 +1113,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; } @@ -997,6 +1127,8 @@ public Builder mergeContactSettings(com.google.cloud.domains.v1beta1.ContactSett return this; } /** + * + * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1015,6 +1147,8 @@ public Builder clearContactSettings() { return this; } /** + * + * *
      * Fields of the `ContactSettings` to update.
      * 
@@ -1022,11 +1156,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.
      * 
@@ -1037,11 +1173,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.
      * 
@@ -1049,14 +1188,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_; @@ -1064,45 +1206,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` would be `"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` would be `"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` would be `"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) { @@ -1118,16 +1276,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` would be `"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(); @@ -1138,19 +1298,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` would be `"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; } @@ -1162,13 +1325,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` would be `"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) { @@ -1182,61 +1348,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` would be `"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` would be `"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` would be `"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_); @@ -1244,37 +1423,47 @@ private void ensureContactNoticesIsMutable() { } } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * required 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
      * required 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
      * required 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. */ @@ -1282,12 +1471,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
      * required 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. @@ -1303,12 +1495,15 @@ public Builder setContactNotices( return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * required 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. */ @@ -1322,12 +1517,15 @@ public Builder addContactNotices(com.google.cloud.domains.v1beta1.ContactNotice return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * required 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. */ @@ -1341,12 +1539,15 @@ public Builder addAllContactNotices( return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * required 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() { @@ -1356,25 +1557,30 @@ public Builder clearContactNotices() { return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * required 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
      * required 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. */ @@ -1382,30 +1588,35 @@ public int getContactNoticesValue(int index) { return contactNotices_.get(index); } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * required 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
      * required 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. */ @@ -1416,17 +1627,19 @@ public Builder addContactNoticesValue(int value) { return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * required 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); @@ -1435,13 +1648,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 @@ -1449,37 +1665,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); } @@ -1489,30 +1711,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; @@ -1524,9 +1748,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 9545635f..87414307 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` would be `"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` would be `"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` would be `"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
    * required 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
    * required 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
    * required 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
    * required 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
    * required 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 0626d89b..c7d56844 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,84 +70,97 @@ 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) { throw e.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 @@ -139,30 +169,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 { @@ -173,11 +205,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 @@ -185,18 +220,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.
    * 
@@ -211,6 +253,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
@@ -222,7 +266,9 @@ public com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder getDnsSettingsOrBui
    * `update_mask` would be `"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 @@ -230,6 +276,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
@@ -241,7 +289,9 @@ public boolean hasUpdateMask() {
    * `update_mask` would be `"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 @@ -249,6 +299,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
@@ -260,7 +312,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
    * `update_mask` would be `"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() { @@ -270,11 +323,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 @@ -283,6 +339,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -294,8 +351,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getRegistrationBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -321,16 +377,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; @@ -340,27 +393,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; } @@ -383,125 +433,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() @@ -509,16 +568,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(); @@ -542,13 +600,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(); } @@ -563,7 +622,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_; @@ -584,38 +644,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; @@ -623,7 +684,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(); @@ -656,7 +719,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) { @@ -668,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; @@ -689,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 { @@ -711,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; @@ -769,34 +853,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.
      * 
@@ -817,6 +914,8 @@ public Builder setDnsSettings(com.google.cloud.domains.v1beta1.DnsSettings value return this; } /** + * + * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -835,6 +934,8 @@ public Builder setDnsSettings( return this; } /** + * + * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -845,7 +946,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; } @@ -857,6 +960,8 @@ public Builder mergeDnsSettings(com.google.cloud.domains.v1beta1.DnsSettings val return this; } /** + * + * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -875,6 +980,8 @@ public Builder clearDnsSettings() { return this; } /** + * + * *
      * Fields of the `DnsSettings` to update.
      * 
@@ -882,11 +989,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.
      * 
@@ -897,11 +1006,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.
      * 
@@ -909,14 +1021,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_; @@ -924,8 +1039,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
@@ -937,13 +1057,17 @@ public com.google.cloud.domains.v1beta1.DnsSettingsOrBuilder getDnsSettingsOrBui
      * `update_mask` would be `"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
@@ -955,17 +1079,23 @@ public boolean hasUpdateMask() {
      * `update_mask` would be `"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
@@ -977,7 +1107,8 @@ public com.google.protobuf.FieldMask getUpdateMask() {
      * `update_mask` would be `"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) { @@ -993,6 +1124,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
@@ -1004,10 +1137,10 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) {
      * `update_mask` would be `"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(); @@ -1018,6 +1151,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
@@ -1029,13 +1164,14 @@ public Builder setUpdateMask(
      * `update_mask` would be `"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; } @@ -1047,6 +1183,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
@@ -1058,7 +1196,8 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) {
      * `update_mask` would be `"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) { @@ -1072,6 +1211,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
@@ -1083,14 +1224,17 @@ public Builder clearUpdateMask() {
      * `update_mask` would be `"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
@@ -1102,17 +1246,21 @@ public com.google.protobuf.FieldMask.Builder getUpdateMaskBuilder() {
      * `update_mask` would be `"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
@@ -1124,29 +1272,36 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() {
      * `update_mask` would be `"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 @@ -1154,37 +1309,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); } @@ -1194,12 +1355,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(); } @@ -1208,16 +1370,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; @@ -1232,6 +1394,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 14e99099..34d9f38f 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` would be `"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` would be `"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` would be `"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 59722228..93e4bade 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,79 +71,93 @@ 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) { throw e.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 @@ -134,30 +166,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 { @@ -168,11 +202,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 @@ -180,18 +217,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.
    * 
@@ -199,20 +243,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`
    * would be `"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 @@ -220,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`
    * would be `"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 @@ -234,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`
    * would be `"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() { @@ -248,6 +304,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -259,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 (!getRegistrationBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -283,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; @@ -298,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.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; @@ -344,134 +396,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(); @@ -493,14 +556,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 @@ -514,7 +579,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_; @@ -534,46 +600,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(); @@ -603,7 +674,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) { @@ -615,19 +688,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; @@ -636,21 +713,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 { @@ -658,57 +738,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; @@ -716,41 +809,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(); @@ -764,6 +871,8 @@ public Builder setManagementSettings(com.google.cloud.domains.v1beta1.Management return this; } /** + * + * *
      * Fields of the `ManagementSettings` to update.
      * 
@@ -782,17 +891,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; } @@ -804,6 +918,8 @@ public Builder mergeManagementSettings(com.google.cloud.domains.v1beta1.Manageme return this; } /** + * + * *
      * Fields of the `ManagementSettings` to update.
      * 
@@ -822,33 +938,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.
      * 
@@ -856,14 +981,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_; @@ -871,45 +999,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`
      * would be `"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`
      * would be `"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`
      * would be `"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) { @@ -925,16 +1069,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`
      * would be `"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(); @@ -945,19 +1091,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`
      * would be `"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; } @@ -969,13 +1118,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`
      * would be `"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) { @@ -989,61 +1141,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`
      * would be `"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`
      * would be `"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`
      * would be `"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); } @@ -1053,30 +1218,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; @@ -1088,9 +1255,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 16c05c8d..041b41f6 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`
    * would be `"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`
    * would be `"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`
    * would be `"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 f7d2970b..d7b808a7 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,194 +73,242 @@ 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) {
       throw e.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_ = ""; @@ -252,16 +317,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) @@ -280,77 +344,89 @@ 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) { throw e.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 @@ -358,23 +434,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() { @@ -384,11 +471,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 @@ -397,29 +487,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 { @@ -430,12 +520,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 @@ -444,30 +537,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 { @@ -478,12 +571,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 @@ -492,30 +588,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 { @@ -524,6 +620,7 @@ public java.lang.String getFaxNumber() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -535,8 +632,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -559,8 +655,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 (!getEmailBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, email_); @@ -579,24 +674,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; } @@ -624,87 +716,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 @@ -714,27 +813,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() @@ -742,16 +846,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(); @@ -771,9 +874,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 @@ -792,7 +895,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 { @@ -809,38 +913,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; @@ -848,7 +955,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()); } @@ -883,7 +991,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) { @@ -895,39 +1004,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) { @@ -943,14 +1071,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(); @@ -961,17 +1092,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; } @@ -983,11 +1120,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) { @@ -1001,48 +1142,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_; @@ -1050,18 +1207,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; @@ -1070,20 +1229,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 { @@ -1091,54 +1251,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; @@ -1146,19 +1313,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; @@ -1167,21 +1336,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 { @@ -1189,57 +1359,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; @@ -1247,19 +1424,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; @@ -1268,21 +1447,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 { @@ -1290,61 +1470,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) { @@ -1357,12 +1545,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(); } @@ -1371,16 +1559,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; @@ -1395,39 +1583,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,
@@ -1437,7 +1639,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 @@ -1445,6 +1650,8 @@ public boolean hasRegistrantContact() { return registrantContact_ != null; } /** + * + * *
    * Required. The registrant contact for the `Registration`.
    * *Caution: Anyone with access to this email address, phone number,
@@ -1454,14 +1661,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,
@@ -1471,21 +1685,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 @@ -1493,37 +1715,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 @@ -1531,30 +1770,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; @@ -1566,9 +1818,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) { @@ -1589,21 +1842,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; @@ -1613,28 +1864,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; @@ -1666,97 +1915,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
@@ -1766,21 +2022,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()
@@ -1788,16 +2046,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();
@@ -1825,9 +2082,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
@@ -1846,7 +2103,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_;
@@ -1871,38 +2129,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;
@@ -1910,7 +2169,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());
       }
@@ -1954,51 +2214,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. */ @@ -2006,21 +2288,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; @@ -2028,8 +2315,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,
@@ -2039,13 +2331,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,
@@ -2055,17 +2352,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,
@@ -2075,9 +2379,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(); @@ -2091,6 +2398,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,
@@ -2100,7 +2409,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) { @@ -2114,6 +2425,8 @@ public Builder setRegistrantContact( return this; } /** + * + * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2123,13 +2436,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; } @@ -2141,6 +2460,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,
@@ -2150,7 +2471,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) { @@ -2164,6 +2487,8 @@ public Builder clearRegistrantContact() { return this; } /** + * + * *
      * Required. The registrant contact for the `Registration`.
      * *Caution: Anyone with access to this email address, phone number,
@@ -2173,14 +2498,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,
@@ -2190,17 +2520,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,
@@ -2210,17 +2546,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_; @@ -2228,39 +2569,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) { @@ -2276,11 +2636,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) { @@ -2294,17 +2658,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; } @@ -2316,11 +2687,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) { @@ -2334,48 +2709,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_; @@ -2383,41 +2776,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(); @@ -2431,11 +2844,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) { @@ -2449,17 +2866,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; } @@ -2471,11 +2895,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) { @@ -2489,55 +2917,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); } @@ -2547,12 +2993,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(); } @@ -2561,16 +3007,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; @@ -2585,6 +3031,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 64ac96fe..76581fe1 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 e20f4556..6e7c181a 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,53 +70,61 @@ 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) { throw e.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 @@ -108,30 +133,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -204,117 +231,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() @@ -322,16 +359,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(); @@ -341,9 +377,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 @@ -362,7 +398,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; @@ -372,38 +409,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; @@ -411,7 +449,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(); @@ -435,7 +474,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) { @@ -447,19 +487,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; @@ -468,21 +512,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 { @@ -490,64 +537,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); } @@ -557,12 +617,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(); } @@ -571,16 +631,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; @@ -595,6 +655,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 74% 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 1e0ef571..81ed5763 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,57 +72,74 @@ 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) {
       throw e.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_);
@@ -114,29 +148,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.
      * 
@@ -145,6 +185,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.
@@ -154,6 +196,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
@@ -168,6 +212,8 @@ public enum DsState
     ;
 
     /**
+     *
+     *
      * 
      * DS state is unspecified.
      * 
@@ -176,6 +222,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.
@@ -185,6 +233,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
@@ -196,7 +246,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(
@@ -221,49 +270,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;
@@ -280,11 +329,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
@@ -292,11 +344,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
@@ -304,10 +358,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
@@ -315,11 +372,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
@@ -327,13 +387,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
@@ -342,9 +404,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
@@ -355,6 +418,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
@@ -365,6 +430,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
@@ -373,9 +440,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
@@ -384,25 +453,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(); @@ -410,16 +481,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) @@ -439,38 +509,43 @@ 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) { throw e.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(); @@ -482,22 +557,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
@@ -505,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
@@ -519,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
@@ -532,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. */ @@ -539,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
@@ -546,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
@@ -566,10 +656,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
@@ -579,11 +672,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
@@ -597,6 +692,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
@@ -610,6 +707,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
@@ -625,6 +724,7 @@ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder getDsRecor
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -636,8 +736,7 @@ public final boolean isInitialized() {
     }
 
     @java.lang.Override
-    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));
       }
@@ -662,8 +761,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;
@@ -673,17 +771,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;
     }
@@ -709,87 +806,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
@@ -799,27 +903,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() @@ -827,17 +936,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(); @@ -853,9 +962,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 @@ -874,7 +983,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(); @@ -898,38 +1008,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; @@ -937,7 +1050,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_; @@ -966,9 +1080,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_); } @@ -993,7 +1108,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) { @@ -1002,16 +1118,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
@@ -1019,13 +1140,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
@@ -1033,12 +1156,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
@@ -1046,6 +1172,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. */ @@ -1053,6 +1180,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
@@ -1060,14 +1189,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
@@ -1075,21 +1206,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
@@ -1097,20 +1230,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
@@ -1118,18 +1253,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
@@ -1137,6 +1273,7 @@ public Builder addAllNameServers(
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearNameServers() { @@ -1146,6 +1283,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
@@ -1153,15 +1292,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(); @@ -1169,18 +1308,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
@@ -1189,7 +1336,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 {
@@ -1197,6 +1345,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
@@ -1213,6 +1363,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
@@ -1229,6 +1381,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
@@ -1252,6 +1406,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
@@ -1261,7 +1417,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());
@@ -1272,6 +1429,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
@@ -1294,6 +1453,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
@@ -1317,6 +1478,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
@@ -1337,6 +1500,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
@@ -1346,7 +1511,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());
@@ -1357,6 +1523,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
@@ -1366,11 +1534,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);
@@ -1378,6 +1546,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
@@ -1397,6 +1567,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
@@ -1416,6 +1588,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
@@ -1429,6 +1603,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
@@ -1440,11 +1616,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
@@ -1453,8 +1632,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 {
@@ -1462,6 +1642,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
@@ -1471,10 +1653,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
@@ -1485,10 +1669,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
@@ -1497,24 +1684,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) {
@@ -1527,12 +1718,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();
     }
@@ -1541,16 +1732,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;
@@ -1565,14 +1756,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
@@ -1581,12 +1774,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
@@ -1594,10 +1789,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
@@ -1606,11 +1804,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
@@ -1619,88 +1820,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
@@ -1710,15 +1941,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;
@@ -1727,16 +1959,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)
@@ -1756,44 +1987,50 @@ 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) {
         throw e.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();
@@ -1805,22 +2042,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
@@ -1829,13 +2071,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
@@ -1844,12 +2088,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
@@ -1858,6 +2105,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. */ @@ -1865,6 +2113,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
@@ -1873,106 +2123,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( @@ -1981,6 +2267,7 @@ public com.google.cloud.domains.v1beta1.DnsSettings.DsRecordOrBuilder getDsRecor } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1992,12 +2279,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++) { @@ -2020,13 +2308,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; @@ -2036,18 +2324,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; } @@ -2075,87 +2362,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 @@ -2165,6 +2459,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
@@ -2174,21 +2470,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()
@@ -2196,17 +2495,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();
@@ -2224,13 +2523,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();
       }
 
@@ -2245,7 +2545,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();
@@ -2270,46 +2571,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_;
@@ -2341,9 +2648,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_);
             }
@@ -2368,7 +2676,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) {
@@ -2377,16 +2687,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
@@ -2395,13 +2710,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
@@ -2410,12 +2727,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
@@ -2424,6 +2744,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. */ @@ -2431,6 +2752,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
@@ -2439,14 +2762,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
@@ -2455,21 +2780,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
@@ -2478,20 +2805,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
@@ -2500,18 +2829,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
@@ -2520,6 +2850,7 @@ public Builder addAllNameServers(
        * 
* * repeated string name_servers = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearNameServers() { @@ -2529,6 +2860,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
@@ -2537,15 +2870,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(); @@ -2554,55 +2887,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. */ @@ -2610,49 +2967,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 { @@ -2660,13 +3033,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) { @@ -2676,13 +3053,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) { @@ -2692,13 +3073,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) { @@ -2715,16 +3100,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()); @@ -2735,13 +3125,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) { @@ -2757,13 +3151,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) { @@ -2780,13 +3178,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) { @@ -2800,16 +3202,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()); @@ -2820,20 +3227,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); @@ -2841,13 +3252,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) { @@ -2860,13 +3275,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) { @@ -2879,45 +3298,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 { @@ -2925,59 +3358,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) { @@ -2990,30 +3440,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; @@ -3025,85 +3477,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
@@ -3112,15 +3587,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;
@@ -3129,16 +3605,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)
@@ -3157,62 +3632,69 @@ 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) {
         throw e.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.
@@ -3220,9 +3702,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.
        * 
@@ -3231,6 +3714,8 @@ public enum Algorithm */ ALGORITHM_UNSPECIFIED(0), /** + * + * *
        * DSA/SHA1. Not recommended for new deployments.
        * 
@@ -3239,6 +3724,8 @@ public enum Algorithm */ DSA(3), /** + * + * *
        * ECC. Not recommended for new deployments.
        * 
@@ -3247,6 +3734,8 @@ public enum Algorithm */ ECC(4), /** + * + * *
        * RSA/SHA-1. Not recommended for new deployments.
        * 
@@ -3255,6 +3744,8 @@ public enum Algorithm */ RSASHA1(5), /** + * + * *
        * DSA-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3263,6 +3754,8 @@ public enum Algorithm */ DSANSEC3SHA1(6), /** + * + * *
        * RSA/SHA1-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3271,6 +3764,8 @@ public enum Algorithm */ RSASHA1NSEC3SHA1(7), /** + * + * *
        * RSA/SHA-256.
        * 
@@ -3279,6 +3774,8 @@ public enum Algorithm */ RSASHA256(8), /** + * + * *
        * RSA/SHA-512.
        * 
@@ -3287,6 +3784,8 @@ public enum Algorithm */ RSASHA512(10), /** + * + * *
        * GOST R 34.10-2001.
        * 
@@ -3295,6 +3794,8 @@ public enum Algorithm */ ECCGOST(12), /** + * + * *
        * ECDSA Curve P-256 with SHA-256.
        * 
@@ -3303,6 +3804,8 @@ public enum Algorithm */ ECDSAP256SHA256(13), /** + * + * *
        * ECDSA Curve P-384 with SHA-384.
        * 
@@ -3311,6 +3814,8 @@ public enum Algorithm */ ECDSAP384SHA384(14), /** + * + * *
        * Ed25519.
        * 
@@ -3319,6 +3824,8 @@ public enum Algorithm */ ED25519(15), /** + * + * *
        * Ed448.
        * 
@@ -3330,6 +3837,8 @@ public enum Algorithm ; /** + * + * *
        * The algorithm is unspecified.
        * 
@@ -3338,6 +3847,8 @@ public enum Algorithm */ public static final int ALGORITHM_UNSPECIFIED_VALUE = 0; /** + * + * *
        * DSA/SHA1. Not recommended for new deployments.
        * 
@@ -3346,6 +3857,8 @@ public enum Algorithm */ public static final int DSA_VALUE = 3; /** + * + * *
        * ECC. Not recommended for new deployments.
        * 
@@ -3354,6 +3867,8 @@ public enum Algorithm */ public static final int ECC_VALUE = 4; /** + * + * *
        * RSA/SHA-1. Not recommended for new deployments.
        * 
@@ -3362,6 +3877,8 @@ public enum Algorithm */ public static final int RSASHA1_VALUE = 5; /** + * + * *
        * DSA-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3370,6 +3887,8 @@ public enum Algorithm */ public static final int DSANSEC3SHA1_VALUE = 6; /** + * + * *
        * RSA/SHA1-NSEC3-SHA1. Not recommended for new deployments.
        * 
@@ -3378,6 +3897,8 @@ public enum Algorithm */ public static final int RSASHA1NSEC3SHA1_VALUE = 7; /** + * + * *
        * RSA/SHA-256.
        * 
@@ -3386,6 +3907,8 @@ public enum Algorithm */ public static final int RSASHA256_VALUE = 8; /** + * + * *
        * RSA/SHA-512.
        * 
@@ -3394,6 +3917,8 @@ public enum Algorithm */ public static final int RSASHA512_VALUE = 10; /** + * + * *
        * GOST R 34.10-2001.
        * 
@@ -3402,6 +3927,8 @@ public enum Algorithm */ public static final int ECCGOST_VALUE = 12; /** + * + * *
        * ECDSA Curve P-256 with SHA-256.
        * 
@@ -3410,6 +3937,8 @@ public enum Algorithm */ public static final int ECDSAP256SHA256_VALUE = 13; /** + * + * *
        * ECDSA Curve P-384 with SHA-384.
        * 
@@ -3418,6 +3947,8 @@ public enum Algorithm */ public static final int ECDSAP384SHA384_VALUE = 14; /** + * + * *
        * Ed25519.
        * 
@@ -3426,6 +3957,8 @@ public enum Algorithm */ public static final int ED25519_VALUE = 15; /** + * + * *
        * Ed448.
        * 
@@ -3434,7 +3967,6 @@ public enum Algorithm */ public static final int ED448_VALUE = 16; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -3459,59 +3991,71 @@ public static Algorithm valueOf(int value) { */ public static Algorithm forNumber(int value) { switch (value) { - case 0: return ALGORITHM_UNSPECIFIED; - 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; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return ALGORITHM_UNSPECIFIED; + 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; + 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; @@ -3529,6 +4073,8 @@ private Algorithm(int value) { } /** + * + * *
      * List of hash functions that may have been used to generate a digest of a
      * DNSKEY.
@@ -3536,9 +4082,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.
        * 
@@ -3547,6 +4094,8 @@ public enum DigestType */ DIGEST_TYPE_UNSPECIFIED(0), /** + * + * *
        * SHA-1. Not recommended for new deployments.
        * 
@@ -3555,6 +4104,8 @@ public enum DigestType */ SHA1(1), /** + * + * *
        * SHA-256.
        * 
@@ -3563,6 +4114,8 @@ public enum DigestType */ SHA256(2), /** + * + * *
        * GOST R 34.11-94.
        * 
@@ -3571,6 +4124,8 @@ public enum DigestType */ GOST3411(3), /** + * + * *
        * SHA-384.
        * 
@@ -3582,6 +4137,8 @@ public enum DigestType ; /** + * + * *
        * The DigestType is unspecified.
        * 
@@ -3590,6 +4147,8 @@ public enum DigestType */ public static final int DIGEST_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * SHA-1. Not recommended for new deployments.
        * 
@@ -3598,6 +4157,8 @@ public enum DigestType */ public static final int SHA1_VALUE = 1; /** + * + * *
        * SHA-256.
        * 
@@ -3606,6 +4167,8 @@ public enum DigestType */ public static final int SHA256_VALUE = 2; /** + * + * *
        * GOST R 34.11-94.
        * 
@@ -3614,6 +4177,8 @@ public enum DigestType */ public static final int GOST3411_VALUE = 3; /** + * + * *
        * SHA-384.
        * 
@@ -3622,7 +4187,6 @@ public enum DigestType */ public static final int SHA384_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -3647,51 +4211,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; @@ -3711,11 +4279,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 @@ -3726,65 +4297,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 @@ -3793,29 +4389,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 { @@ -3824,6 +4420,7 @@ public java.lang.String getDigest() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3835,15 +4432,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 (!getDigestBytes().isEmpty()) { @@ -3859,16 +4460,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 (!getDigestBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, digest_); @@ -3881,19 +4484,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; } @@ -3919,87 +4521,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 @@ -4009,6 +4618,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
@@ -4017,21 +4628,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()
@@ -4039,16 +4653,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();
@@ -4064,9 +4677,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
@@ -4085,7 +4698,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_;
@@ -4098,38 +4712,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;
@@ -4137,7 +4754,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());
         }
@@ -4170,7 +4788,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) {
@@ -4180,13 +4799,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 @@ -4194,30 +4816,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; @@ -4225,73 +4853,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; @@ -4299,73 +4947,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; @@ -4373,18 +5041,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; @@ -4393,20 +5063,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 { @@ -4414,58 +5085,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) { @@ -4478,12 +5157,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(); } @@ -4492,16 +5171,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; @@ -4516,34 +5195,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
@@ -4551,11 +5237,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
@@ -4563,10 +5251,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
@@ -4574,11 +5265,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
@@ -4586,13 +5280,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
@@ -4600,11 +5296,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
@@ -4612,10 +5310,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
@@ -4623,11 +5324,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
@@ -4635,13 +5339,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
@@ -4653,15 +5359,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;
@@ -4670,16 +5377,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)
@@ -4699,44 +5405,46 @@ 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) {
         throw e.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();
@@ -4748,27 +5456,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 @@ -4777,29 +5491,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 { @@ -4810,6 +5524,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
@@ -4817,13 +5533,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
@@ -4831,12 +5549,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
@@ -4844,6 +5565,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. */ @@ -4851,6 +5573,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
@@ -4858,17 +5582,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
@@ -4876,13 +5602,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
@@ -4890,12 +5618,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
@@ -4903,6 +5634,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. */ @@ -4910,6 +5642,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
@@ -4917,15 +5651,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; @@ -4937,8 +5672,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getHostNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, hostName_); } @@ -4984,19 +5718,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; } @@ -5024,87 +5756,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 @@ -5114,6 +5853,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
@@ -5125,21 +5866,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()
@@ -5147,16 +5891,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();
@@ -5170,9 +5913,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
@@ -5191,7 +5934,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)) {
@@ -5212,38 +5956,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;
@@ -5251,7 +5998,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();
@@ -5295,7 +6043,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) {
@@ -5304,22 +6053,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; @@ -5328,20 +6080,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 { @@ -5349,67 +6102,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
@@ -5417,13 +6181,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
@@ -5431,12 +6197,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
@@ -5444,6 +6213,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. */ @@ -5451,6 +6221,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
@@ -5458,14 +6230,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
@@ -5473,21 +6247,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
@@ -5495,20 +6271,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
@@ -5516,18 +6294,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
@@ -5535,6 +6314,7 @@ public Builder addAllIpv4Addresses(
        * 
* * repeated string ipv4_addresses = 2; + * * @return This builder for chaining. */ public Builder clearIpv4Addresses() { @@ -5544,6 +6324,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
@@ -5551,29 +6333,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
@@ -5581,13 +6367,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
@@ -5595,12 +6383,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
@@ -5608,6 +6399,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. */ @@ -5615,6 +6407,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
@@ -5622,14 +6416,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
@@ -5637,21 +6433,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
@@ -5659,20 +6457,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
@@ -5680,18 +6480,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
@@ -5699,6 +6500,7 @@ public Builder addAllIpv6Addresses(
        * 
* * repeated string ipv6_addresses = 3; + * * @return This builder for chaining. */ public Builder clearIpv6Addresses() { @@ -5708,6 +6510,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
@@ -5715,20 +6519,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) { @@ -5741,12 +6546,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(); } @@ -5755,16 +6560,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; @@ -5779,18 +6584,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; } @@ -5806,30 +6613,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 @@ -5837,21 +6650,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.
    * 
@@ -5861,19 +6679,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 @@ -5881,22 +6702,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/).
@@ -5905,9 +6731,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();
   }
@@ -5915,6 +6742,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.
    * 
@@ -5922,10 +6751,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.
    * 
@@ -5933,11 +6765,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.
    * 
@@ -5949,6 +6783,8 @@ public int getGlueRecordsCount() { return glueRecords_.size(); } /** + * + * *
    * The list of glue records for this `Registration`. Commonly empty.
    * 
@@ -5960,6 +6796,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.
    * 
@@ -5973,6 +6811,7 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GlueRecordOrBuilder getGlueR } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5984,13 +6823,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)); @@ -6005,16 +6844,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; @@ -6024,24 +6864,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: @@ -6078,97 +6916,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.
@@ -6176,21 +7021,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()
@@ -6198,17 +7045,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();
@@ -6224,9 +7071,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
@@ -6245,7 +7092,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) {
@@ -6279,38 +7127,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;
@@ -6337,26 +7186,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();
@@ -6386,12 +7239,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() {
@@ -6404,13 +7257,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 @@ -6418,11 +7277,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 @@ -6440,6 +7302,8 @@ public com.google.cloud.domains.v1beta1.DnsSettings.CustomDns getCustomDns() { } } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -6460,6 +7324,8 @@ public Builder setCustomDns(com.google.cloud.domains.v1beta1.DnsSettings.CustomD return this; } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -6478,6 +7344,8 @@ public Builder setCustomDns( return this; } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -6486,10 +7354,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; } @@ -6504,6 +7376,8 @@ public Builder mergeCustomDns(com.google.cloud.domains.v1beta1.DnsSettings.Custo return this; } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -6527,6 +7401,8 @@ public Builder clearCustomDns() { return this; } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -6537,6 +7413,8 @@ public com.google.cloud.domains.v1beta1.DnsSettings.CustomDns.Builder getCustomD return getCustomDnsFieldBuilder().getBuilder(); } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -6555,6 +7433,8 @@ public com.google.cloud.domains.v1beta1.DnsSettings.CustomDnsOrBuilder getCustom } } /** + * + * *
      * An arbitrary DNS provider identified by its name servers.
      * 
@@ -6562,33 +7442,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 @@ -6596,12 +7490,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 @@ -6619,14 +7517,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(); @@ -6640,12 +7542,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) { @@ -6659,19 +7564,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; } @@ -6686,12 +7600,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) { @@ -6710,26 +7627,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 { @@ -6740,52 +7665,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 { @@ -6793,6 +7737,8 @@ public java.util.List g } } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6807,6 +7753,8 @@ public int getGlueRecordsCount() { } } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6821,6 +7769,8 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GlueRecord getGlueRecords(in } } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6842,6 +7792,8 @@ public Builder setGlueRecords( return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6849,7 +7801,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()); @@ -6860,6 +7813,8 @@ public Builder setGlueRecords( return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6880,6 +7835,8 @@ public Builder addGlueRecords(com.google.cloud.domains.v1beta1.DnsSettings.GlueR return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6901,6 +7858,8 @@ public Builder addGlueRecords( return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6919,6 +7878,8 @@ public Builder addGlueRecords( return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6926,7 +7887,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()); @@ -6937,6 +7899,8 @@ public Builder addGlueRecords( return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6944,11 +7908,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); @@ -6956,6 +7920,8 @@ public Builder addAllGlueRecords( return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6973,6 +7939,8 @@ public Builder clearGlueRecords() { return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -6990,6 +7958,8 @@ public Builder removeGlueRecords(int index) { return this; } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7001,6 +7971,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.
      * 
@@ -7010,19 +7982,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 { @@ -7030,6 +8006,8 @@ public com.google.cloud.domains.v1beta1.DnsSettings.GlueRecordOrBuilder getGlueR } } /** + * + * *
      * The list of glue records for this `Registration`. Commonly empty.
      * 
@@ -7037,10 +8015,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.
      * 
@@ -7049,37 +8029,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); } @@ -7089,12 +8075,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(); } @@ -7103,16 +8089,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; @@ -7127,6 +8113,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..aa4bcd2e
--- /dev/null
+++ b/proto-google-cloud-domains-v1beta1/src/main/java/com/google/cloud/domains/v1beta1/DomainsProto.java
@@ -0,0 +1,710 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License 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_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_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\"\347\010\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\"z\n\005State\022\025\n\021STATE_UNSPECIFIE"
+          + "D\020\000\022\030\n\024REGISTRATION_PENDING\020\001\022\027\n\023REGISTR"
+          + "ATION_FAILED\020\002\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_UNSPEC"
+          + "IFIED\020\000\022\023\n\017CONTACT_SUPPORT\020\001\022\024\n\020UNVERIFI"
+          + "ED_EMAIL\020\002:n\352Ak\n#domains.googleapis.com/"
+          + "Registration\022Dprojects/{project}/locatio"
+          + "ns/{location}/registrations/{registratio"
+          + "n}\"\233\002\n\022ManagementSettings\022[\n\016renewal_met"
+          + "hod\030\003 \001(\0162>.google.cloud.domains.v1beta1"
+          + ".ManagementSettings.RenewalMethodB\003\340A\003\022L"
+          + "\n\023transfer_lock_state\030\004 \001(\0162/.google.clo"
+          + "ud.domains.v1beta1.TransferLockState\"Z\n\r"
+          + "RenewalMethod\022\036\n\032RENEWAL_METHOD_UNSPECIF"
+          + "IED\020\000\022\025\n\021AUTOMATIC_RENEWAL\020\001\022\022\n\016MANUAL_R"
+          + "ENEWAL\020\002\"\201\n\n\013DnsSettings\022I\n\ncustom_dns\030\001"
+          + " \001(\01323.google.cloud.domains.v1beta1.DnsS"
+          + "ettings.CustomDnsH\000\022X\n\022google_domains_dn"
+          + "s\030\002 \001(\0132:.google.cloud.domains.v1beta1.D"
+          + "nsSettings.GoogleDomainsDnsH\000\022J\n\014glue_re"
+          + "cords\030\004 \003(\01324.google.cloud.domains.v1bet"
+          + "a1.DnsSettings.GlueRecord\032n\n\tCustomDns\022\031"
+          + "\n\014name_servers\030\001 \003(\tB\003\340A\002\022F\n\nds_records\030"
+          + "\002 \003(\01322.google.cloud.domains.v1beta1.Dns"
+          + "Settings.DsRecord\032\304\001\n\020GoogleDomainsDns\022\031"
+          + "\n\014name_servers\030\001 \003(\tB\003\340A\003\022H\n\010ds_state\030\002 "
+          + "\001(\01621.google.cloud.domains.v1beta1.DnsSe"
+          + "ttings.DsStateB\003\340A\002\022K\n\nds_records\030\003 \003(\0132"
+          + "2.google.cloud.domains.v1beta1.DnsSettin"
+          + "gs.DsRecordB\003\340A\003\032\210\004\n\010DsRecord\022\017\n\007key_tag"
+          + "\030\001 \001(\005\022O\n\talgorithm\030\002 \001(\0162<.google.cloud"
+          + ".domains.v1beta1.DnsSettings.DsRecord.Al"
+          + "gorithm\022R\n\013digest_type\030\003 \001(\0162=.google.cl"
+          + "oud.domains.v1beta1.DnsSettings.DsRecord"
+          + ".DigestType\022\016\n\006digest\030\004 \001(\t\"\332\001\n\tAlgorith"
+          + "m\022\031\n\025ALGORITHM_UNSPECIFIED\020\000\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\tRS"
+          + "ASHA512\020\n\022\013\n\007ECCGOST\020\014\022\023\n\017ECDSAP256SHA25"
+          + "6\020\r\022\023\n\017ECDSAP384SHA384\020\016\022\013\n\007ED25519\020\017\022\t\n"
+          + "\005ED448\020\020\"Y\n\nDigestType\022\033\n\027DIGEST_TYPE_UN"
+          + "SPECIFIED\020\000\022\010\n\004SHA1\020\001\022\n\n\006SHA256\020\002\022\014\n\010GOS"
+          + "T3411\020\003\022\n\n\006SHA384\020\004\032T\n\nGlueRecord\022\026\n\thos"
+          + "t_name\030\001 \001(\tB\003\340A\002\022\026\n\016ipv4_addresses\030\002 \003("
+          + "\t\022\026\n\016ipv6_addresses\030\003 \003(\t\"Y\n\007DsState\022\030\n\024"
+          + "DS_STATE_UNSPECIFIED\020\000\022\032\n\026DS_RECORDS_UNP"
+          + "UBLISHED\020\001\022\030\n\024DS_RECORDS_PUBLISHED\020\002B\016\n\014"
+          + "dns_provider\"\337\003\n\017ContactSettings\022B\n\007priv"
+          + "acy\030\001 \001(\0162,.google.cloud.domains.v1beta1"
+          + ".ContactPrivacyB\003\340A\002\022V\n\022registrant_conta"
+          + "ct\030\002 \001(\01325.google.cloud.domains.v1beta1."
+          + "ContactSettings.ContactB\003\340A\002\022Q\n\radmin_co"
+          + "ntact\030\003 \001(\01325.google.cloud.domains.v1bet"
+          + "a1.ContactSettings.ContactB\003\340A\002\022U\n\021techn"
+          + "ical_contact\030\004 \001(\01325.google.cloud.domain"
+          + "s.v1beta1.ContactSettings.ContactB\003\340A\002\032\205"
+          + "\001\n\007Contact\0227\n\016postal_address\030\001 \001(\0132\032.goo"
+          + "gle.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\nfa"
+          + "x_number\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!locations.googleapis.com/Location\""
+          + "f\n\025SearchDomainsResponse\022M\n\023register_par"
+          + "ameters\030\001 \003(\01320.google.cloud.domains.v1b"
+          + "eta1.RegisterParameters\"z\n!RetrieveRegis"
+          + "terParametersRequest\022\030\n\013domain_name\030\001 \001("
+          + "\tB\003\340A\002\022;\n\010location\030\002 \001(\tB)\340A\002\372A#\n!locati"
+          + "ons.googleapis.com/Location\"s\n\"RetrieveR"
+          + "egisterParametersResponse\022M\n\023register_pa"
+          + "rameters\030\001 \001(\01320.google.cloud.domains.v1"
+          + "beta1.RegisterParameters\"\351\002\n\025RegisterDom"
+          + "ainRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!loca"
+          + "tions.googleapis.com/Location\022E\n\014registr"
+          + "ation\030\002 \001(\0132*.google.cloud.domains.v1bet"
+          + "a1.RegistrationB\003\340A\002\022B\n\016domain_notices\030\003"
+          + " \003(\0162*.google.cloud.domains.v1beta1.Doma"
+          + "inNotice\022D\n\017contact_notices\030\004 \003(\0162+.goog"
+          + "le.cloud.domains.v1beta1.ContactNotice\022-"
+          + "\n\014yearly_price\030\005 \001(\0132\022.google.type.Money"
+          + "B\003\340A\002\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\"w\n\031ListRegistrationsResponse"
+          + "\022A\n\rregistrations\030\001 \003(\0132*.google.cloud.d"
+          + "omains.v1beta1.Registration\022\027\n\017next_page"
+          + "_token\030\002 \001(\t\"S\n\026GetRegistrationRequest\0229"
+          + "\n\004name\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapis"
+          + ".com/Registration\"\223\001\n\031UpdateRegistration"
+          + "Request\022@\n\014registration\030\001 \001(\0132*.google.c"
+          + "loud.domains.v1beta1.Registration\0224\n\013upd"
+          + "ate_mask\030\002 \001(\0132\032.google.protobuf.FieldMa"
+          + "skB\003\340A\002\"\354\001\n\"ConfigureManagementSettingsR"
+          + "equest\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#do"
+          + "mains.googleapis.com/Registration\022M\n\023man"
+          + "agement_settings\030\002 \001(\01320.google.cloud.do"
+          + "mains.v1beta1.ManagementSettings\0224\n\013upda"
+          + "te_mask\030\003 \001(\0132\032.google.protobuf.FieldMas"
+          + "kB\003\340A\002\"\356\001\n\033ConfigureDnsSettingsRequest\022A"
+          + "\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#domains.go"
+          + "ogleapis.com/Registration\022?\n\014dns_setting"
+          + "s\030\002 \001(\0132).google.cloud.domains.v1beta1.D"
+          + "nsSettings\0224\n\013update_mask\030\003 \001(\0132\032.google"
+          + ".protobuf.FieldMaskB\003\340A\002\022\025\n\rvalidate_onl"
+          + "y\030\004 \001(\010\"\300\002\n\037ConfigureContactSettingsRequ"
+          + "est\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#domai"
+          + "ns.googleapis.com/Registration\022G\n\020contac"
+          + "t_settings\030\002 \001(\0132-.google.cloud.domains."
+          + "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.cloud.do"
+          + "mains.v1beta1.ContactNotice\022\025\n\rvalidate_"
+          + "only\030\005 \001(\010\"V\n\031ExportRegistrationRequest\022"
+          + "9\n\004name\030\001 \001(\tB+\340A\002\372A%\n#domains.googleapi"
+          + "s.com/Registration\"V\n\031DeleteRegistration"
+          + "Request\0229\n\004name\030\001 \001(\tB+\340A\002\372A%\n#domains.g"
+          + "oogleapis.com/Registration\"e\n RetrieveAu"
+          + "thorizationCodeRequest\022A\n\014registration\030\001"
+          + " \001(\tB+\340A\002\372A%\n#domains.googleapis.com/Reg"
+          + "istration\"b\n\035ResetAuthorizationCodeReque"
+          + "st\022A\n\014registration\030\001 \001(\tB+\340A\002\372A%\n#domain"
+          + "s.googleapis.com/Registration\"\241\003\n\022Regist"
+          + "erParameters\022\023\n\013domain_name\030\001 \001(\t\022S\n\014ava"
+          + "ilability\030\002 \001(\0162=.google.cloud.domains.v"
+          + "1beta1.RegisterParameters.Availability\022G"
+          + "\n\021supported_privacy\030\003 \003(\0162,.google.cloud"
+          + ".domains.v1beta1.ContactPrivacy\022B\n\016domai"
+          + "n_notices\030\004 \003(\0162*.google.cloud.domains.v"
+          + "1beta1.DomainNotice\022(\n\014yearly_price\030\005 \001("
+          + "\0132\022.google.type.Money\"j\n\014Availability\022\034\n"
+          + "\030AVAILABILITY_UNSPECIFIED\020\000\022\r\n\tAVAILABLE"
+          + "\020\001\022\017\n\013UNAVAILABLE\020\002\022\017\n\013UNSUPPORTED\020\003\022\013\n\007"
+          + "UNKNOWN\020\004\"!\n\021AuthorizationCode\022\014\n\004code\030\001"
+          + " \001(\t\"\274\001\n\021OperationMetadata\022/\n\013create_tim"
+          + "e\030\001 \001(\0132\032.google.protobuf.Timestamp\022,\n\010e"
+          + "nd_time\030\002 \001(\0132\032.google.protobuf.Timestam"
+          + "p\022\016\n\006target\030\003 \001(\t\022\014\n\004verb\030\004 \001(\t\022\025\n\rstatu"
+          + "s_detail\030\005 \001(\t\022\023\n\013api_version\030\006 \001(\t*\177\n\016C"
+          + "ontactPrivacy\022\037\n\033CONTACT_PRIVACY_UNSPECI"
+          + "FIED\020\000\022\027\n\023PUBLIC_CONTACT_DATA\020\001\022\030\n\024PRIVA"
+          + "TE_CONTACT_DATA\020\002\022\031\n\025REDACTED_CONTACT_DA"
+          + "TA\020\003*A\n\014DomainNotice\022\035\n\031DOMAIN_NOTICE_UN"
+          + "SPECIFIED\020\000\022\022\n\016HSTS_PRELOADED\020\001*X\n\rConta"
+          + "ctNotice\022\036\n\032CONTACT_NOTICE_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\010UNLOCKED\020\001\022\n\n\006LOC"
+          + "KED\020\0022\246\032\n\007Domains\022\331\001\n\rSearchDomains\0222.go"
+          + "ogle.cloud.domains.v1beta1.SearchDomains"
+          + "Request\0323.google.cloud.domains.v1beta1.S"
+          + "earchDomainsResponse\"_\202\323\344\223\002H\022F/v1beta1/{"
+          + "location=projects/*/locations/*}/registr"
+          + "ations:searchDomains\332A\016location,query\022\223\002"
+          + "\n\032RetrieveRegisterParameters\022?.google.cl"
+          + "oud.domains.v1beta1.RetrieveRegisterPara"
+          + "metersRequest\032@.google.cloud.domains.v1b"
+          + "eta1.RetrieveRegisterParametersResponse\""
+          + "r\202\323\344\223\002U\022S/v1beta1/{location=projects/*/l"
+          + "ocations/*}/registrations:retrieveRegist"
+          + "erParameters\332A\024location,domain_name\022\370\001\n\016"
+          + "RegisterDomain\0223.google.cloud.domains.v1"
+          + "beta1.RegisterDomainRequest\032\035.google.lon"
+          + "grunning.Operation\"\221\001\202\323\344\223\002D\"?/v1beta1/{p"
+          + "arent=projects/*/locations/*}/registrati"
+          + "ons:register:\001*\332A parent,registration,ye"
+          + "arly_price\312A!\n\014Registration\022\021OperationMe"
+          + "tadata\022\315\001\n\021ListRegistrations\0226.google.cl"
+          + "oud.domains.v1beta1.ListRegistrationsReq"
+          + "uest\0327.google.cloud.domains.v1beta1.List"
+          + "RegistrationsResponse\"G\202\323\344\223\0028\0226/v1beta1/"
+          + "{parent=projects/*/locations/*}/registra"
+          + "tions\332A\006parent\022\272\001\n\017GetRegistration\0224.goo"
+          + "gle.cloud.domains.v1beta1.GetRegistratio"
+          + "nRequest\032*.google.cloud.domains.v1beta1."
+          + "Registration\"E\202\323\344\223\0028\0226/v1beta1/{name=pro"
+          + "jects/*/locations/*/registrations/*}\332A\004n"
+          + "ame\022\207\002\n\022UpdateRegistration\0227.google.clou"
+          + "d.domains.v1beta1.UpdateRegistrationRequ"
+          + "est\032\035.google.longrunning.Operation\"\230\001\202\323\344"
+          + "\223\002S2C/v1beta1/{registration.name=project"
+          + "s/*/locations/*/registrations/*}:\014regist"
+          + "ration\332A\030registration,update_mask\312A!\n\014Re"
+          + "gistration\022\021OperationMetadata\022\271\002\n\033Config"
+          + "ureManagementSettings\022@.google.cloud.dom"
+          + "ains.v1beta1.ConfigureManagementSettings"
+          + "Request\032\035.google.longrunning.Operation\"\270"
+          + "\001\202\323\344\223\002_\"Z/v1beta1/{registration=projects"
+          + "/*/locations/*/registrations/*}:configur"
+          + "eManagementSettings:\001*\332A,registration,ma"
+          + "nagement_settings,update_mask\312A!\n\014Regist"
+          + "ration\022\021OperationMetadata\022\235\002\n\024ConfigureD"
+          + "nsSettings\0229.google.cloud.domains.v1beta"
+          + "1.ConfigureDnsSettingsRequest\032\035.google.l"
+          + "ongrunning.Operation\"\252\001\202\323\344\223\002X\"S/v1beta1/"
+          + "{registration=projects/*/locations/*/reg"
+          + "istrations/*}:configureDnsSettings:\001*\332A%"
+          + "registration,dns_settings,update_mask\312A!"
+          + "\n\014Registration\022\021OperationMetadata\022\255\002\n\030Co"
+          + "nfigureContactSettings\022=.google.cloud.do"
+          + "mains.v1beta1.ConfigureContactSettingsRe"
+          + "quest\032\035.google.longrunning.Operation\"\262\001\202"
+          + "\323\344\223\002\\\"W/v1beta1/{registration=projects/*"
+          + "/locations/*/registrations/*}:configureC"
+          + "ontactSettings:\001*\332A)registration,contact"
+          + "_settings,update_mask\312A!\n\014Registration\022\021"
+          + "OperationMetadata\022\341\001\n\022ExportRegistration"
+          + "\0227.google.cloud.domains.v1beta1.ExportRe"
+          + "gistrationRequest\032\035.google.longrunning.O"
+          + "peration\"s\202\323\344\223\002B\"=/v1beta1/{name=project"
+          + "s/*/locations/*/registrations/*}:export:"
+          + "\001*\332A\004name\312A!\n\014Registration\022\021OperationMet"
+          + "adata\022\340\001\n\022DeleteRegistration\0227.google.cl"
+          + "oud.domains.v1beta1.DeleteRegistrationRe"
+          + "quest\032\035.google.longrunning.Operation\"r\202\323"
+          + "\344\223\0028*6/v1beta1/{name=projects/*/location"
+          + "s/*/registrations/*}\332A\004name\312A*\n\025google.p"
+          + "rotobuf.Empty\022\021OperationMetadata\022\375\001\n\031Ret"
+          + "rieveAuthorizationCode\022>.google.cloud.do"
+          + "mains.v1beta1.RetrieveAuthorizationCodeR"
+          + "equest\032/.google.cloud.domains.v1beta1.Au"
+          + "thorizationCode\"o\202\323\344\223\002Z\022X/v1beta1/{regis"
+          + "tration=projects/*/locations/*/registrat"
+          + "ions/*}:retrieveAuthorizationCode\332A\014regi"
+          + "stration\022\367\001\n\026ResetAuthorizationCode\022;.go"
+          + "ogle.cloud.domains.v1beta1.ResetAuthoriz"
+          + "ationCodeRequest\032/.google.cloud.domains."
+          + "v1beta1.AuthorizationCode\"o\202\323\344\223\002Z\"U/v1be"
+          + "ta1/{registration=projects/*/locations/*"
+          + "/registrations/*}:resetAuthorizationCode"
+          + ":\001*\332A\014registration\032J\312A\026domains.googleapi"
+          + "s.com\322A.https://www.googleapis.com/auth/"
+          + "cloud-platformBw\n com.google.cloud.domai"
+          + "ns.v1beta1B\014DomainsProtoP\001ZCgoogle.golan"
+          + "g.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_ListRegistrationsRequest_descriptor =
+        getDescriptor().getMessageTypes().get(9);
+    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(10);
+    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(11);
+    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(12);
+    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(13);
+    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(14);
+    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(15);
+    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(16);
+    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(17);
+    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(18);
+    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(19);
+    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(20);
+    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_AuthorizationCode_descriptor =
+        getDescriptor().getMessageTypes().get(21);
+    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(22);
+    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 25545967..7c7d7e7b 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,53 +70,61 @@ 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) { throw e.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 @@ -108,30 +133,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -204,117 +231,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() @@ -322,16 +359,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(); @@ -341,9 +377,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 @@ -362,7 +398,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; @@ -372,38 +409,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; @@ -411,7 +449,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(); @@ -435,7 +474,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) { @@ -447,19 +487,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; @@ -468,21 +512,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 { @@ -490,64 +537,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); } @@ -557,12 +617,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(); } @@ -571,16 +631,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; @@ -595,6 +655,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 64% 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 4b4cc5f8..6dcfd5cb 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,53 +70,61 @@ 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) { throw e.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 @@ -108,30 +133,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 { @@ -140,6 +167,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -204,117 +231,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() @@ -322,16 +359,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(); @@ -341,9 +377,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 @@ -362,7 +398,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; @@ -372,38 +409,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; @@ -411,7 +449,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(); @@ -435,7 +474,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) { @@ -447,19 +487,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; @@ -468,21 +512,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 { @@ -490,64 +537,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); } @@ -557,12 +617,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(); } @@ -571,16 +631,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; @@ -595,6 +655,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 3fe37371..a6abd3d7 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,70 +72,80 @@ 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) { throw e.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 @@ -127,30 +154,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 { @@ -161,11 +190,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 @@ -176,12 +208,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 @@ -190,30 +225,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 { @@ -224,6 +259,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
@@ -241,6 +278,7 @@ public java.lang.String getPageToken() {
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -249,14 +287,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
@@ -274,16 +313,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 { @@ -292,6 +330,7 @@ public java.lang.String getFilter() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -303,8 +342,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -330,8 +368,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 (!getPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -347,21 +384,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; } @@ -387,117 +421,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() @@ -505,16 +549,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(); @@ -530,9 +573,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 @@ -551,7 +594,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_; @@ -564,38 +608,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; @@ -603,7 +648,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(); @@ -638,7 +684,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) { @@ -650,19 +697,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; @@ -671,21 +722,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 { @@ -693,69 +747,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 @@ -763,30 +833,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; @@ -794,19 +870,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; @@ -815,21 +893,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 { @@ -837,57 +916,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; @@ -895,6 +981,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
@@ -912,13 +1000,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; @@ -927,6 +1015,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
@@ -944,15 +1034,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 4; + * * @return The bytes for filter. */ - public com.google.protobuf.ByteString - getFilterBytes() { + public com.google.protobuf.ByteString getFilterBytes() { java.lang.Object ref = filter_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); filter_ = b; return b; } else { @@ -960,6 +1049,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
@@ -977,20 +1068,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
@@ -1008,15 +1101,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
@@ -1034,23 +1130,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); } @@ -1060,12 +1156,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(); } @@ -1074,16 +1170,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; @@ -1098,6 +1194,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 1fd502a5..3e1be536 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,35 +72,38 @@ 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) { throw e.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_); @@ -92,22 +112,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.
    * 
@@ -119,6 +144,8 @@ public java.util.List getRegistra return registrations_; } /** + * + * *
    * A list of `Registration`s.
    * 
@@ -126,11 +153,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.
    * 
@@ -142,6 +171,8 @@ public int getRegistrationsCount() { return registrations_.size(); } /** + * + * *
    * A list of `Registration`s.
    * 
@@ -153,6 +184,8 @@ public com.google.cloud.domains.v1beta1.Registration getRegistrations(int index) return registrations_.get(index); } /** + * + * *
    * A list of `Registration`s.
    * 
@@ -168,12 +201,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 @@ -182,30 +218,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 { @@ -214,6 +250,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,8 +262,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < registrations_.size(); i++) { output.writeMessage(1, registrations_.get(i)); } @@ -243,8 +279,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 (!getNextPageTokenBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -257,17 +292,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; } @@ -291,117 +325,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() @@ -409,17 +453,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(); @@ -435,9 +479,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 @@ -456,7 +500,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)) { @@ -476,38 +521,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; @@ -515,7 +561,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()) { @@ -534,9 +581,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_); } @@ -565,7 +613,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) { @@ -574,21 +623,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.
      * 
@@ -603,6 +660,8 @@ public java.util.List getRegistra } } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -617,6 +676,8 @@ public int getRegistrationsCount() { } } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -631,6 +692,8 @@ public com.google.cloud.domains.v1beta1.Registration getRegistrations(int index) } } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -652,6 +715,8 @@ public Builder setRegistrations( return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -670,6 +735,8 @@ public Builder setRegistrations( return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -690,6 +757,8 @@ public Builder addRegistrations(com.google.cloud.domains.v1beta1.Registration va return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -711,6 +780,8 @@ public Builder addRegistrations( return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -729,6 +800,8 @@ public Builder addRegistrations( return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -747,6 +820,8 @@ public Builder addRegistrations( return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -757,8 +832,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); @@ -766,6 +840,8 @@ public Builder addAllRegistrations( return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -783,6 +859,8 @@ public Builder clearRegistrations() { return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -800,6 +878,8 @@ public Builder removeRegistrations(int index) { return this; } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -811,6 +891,8 @@ public com.google.cloud.domains.v1beta1.Registration.Builder getRegistrationsBui return getRegistrationsFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -820,19 +902,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 { @@ -840,6 +925,8 @@ public com.google.cloud.domains.v1beta1.RegistrationOrBuilder getRegistrationsOr } } /** + * + * *
      * A list of `Registration`s.
      * 
@@ -847,10 +934,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.
      * 
@@ -859,26 +948,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(), @@ -890,19 +987,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; @@ -911,21 +1010,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 { @@ -933,64 +1033,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); } @@ -1000,12 +1107,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(); } @@ -1014,16 +1121,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; @@ -1038,6 +1145,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 45cfc2df..134f54a1 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,60 +71,67 @@ 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) { throw e.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.
      * 
@@ -116,6 +140,8 @@ public enum RenewalMethod */ RENEWAL_METHOD_UNSPECIFIED(0), /** + * + * *
      * The domain is automatically renewed each year .
      * To disable automatic renewals, export the domain by calling
@@ -126,6 +152,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`
@@ -141,6 +169,8 @@ public enum RenewalMethod
     ;
 
     /**
+     *
+     *
      * 
      * The renewal method is undefined.
      * 
@@ -149,6 +179,8 @@ public enum RenewalMethod */ public static final int RENEWAL_METHOD_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The domain is automatically renewed each year .
      * To disable automatic renewals, export the domain by calling
@@ -159,6 +191,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`
@@ -171,7 +205,6 @@ public enum RenewalMethod
      */
     public static final int MANUAL_RENEWAL_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -196,49 +229,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;
@@ -258,58 +293,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; @@ -321,12 +383,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); @@ -338,13 +404,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; @@ -354,12 +423,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; @@ -384,117 +454,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() @@ -502,16 +581,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(); @@ -523,9 +601,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 @@ -544,7 +622,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(); @@ -555,38 +634,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; @@ -594,7 +674,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()); } @@ -620,7 +701,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) { @@ -632,73 +714,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; @@ -706,51 +818,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. */ @@ -758,28 +886,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); } @@ -789,12 +920,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(); } @@ -803,16 +934,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; @@ -827,6 +958,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 3ba51317..043c8003 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,96 +73,109 @@ 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) { throw e.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 @@ -153,11 +183,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 @@ -165,6 +198,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time the operation was created.
    * 
@@ -179,11 +214,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 @@ -191,11 +229,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 @@ -203,6 +244,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The time the operation finished running.
    * 
@@ -217,11 +260,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 @@ -230,29 +276,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 { @@ -263,11 +309,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 @@ -276,29 +325,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 { @@ -309,11 +358,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 @@ -322,29 +374,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 { @@ -355,11 +407,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 @@ -368,29 +423,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 { @@ -399,6 +454,7 @@ public java.lang.String getApiVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -410,8 +466,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -440,12 +495,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 (!getTargetBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); @@ -467,31 +520,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; } @@ -525,117 +573,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() @@ -643,16 +700,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(); @@ -680,9 +736,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 @@ -701,7 +757,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 { @@ -724,38 +781,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; @@ -763,7 +821,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()); } @@ -805,7 +864,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) { @@ -817,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.
      * 
@@ -865,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(); @@ -883,6 +957,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -893,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; } @@ -905,6 +981,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -923,6 +1001,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -930,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.
      * 
@@ -945,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.
      * 
@@ -957,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_; @@ -972,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() { @@ -1000,6 +1097,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1020,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(); @@ -1038,6 +1138,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1048,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; } @@ -1060,6 +1162,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1078,6 +1182,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1085,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.
      * 
@@ -1100,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.
      * 
@@ -1112,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_; @@ -1127,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; @@ -1147,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 { @@ -1168,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; @@ -1223,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; @@ -1243,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 { @@ -1264,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; @@ -1319,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; @@ -1339,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 { @@ -1360,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; @@ -1415,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; @@ -1435,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 { @@ -1456,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); } @@ -1520,12 +1672,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(); } @@ -1534,16 +1686,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; @@ -1558,6 +1710,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 97e565c9..77c295e6 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,103 +73,111 @@ 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) { throw e.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_); @@ -164,28 +189,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 @@ -194,30 +227,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 { @@ -228,11 +263,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 @@ -240,23 +280,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() { @@ -266,36 +317,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 @@ -303,12 +365,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. */ @@ -317,26 +382,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. */ @@ -344,21 +414,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
    * required here depend on the values specified in
@@ -366,14 +443,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
    * required here depend on the values specified in
@@ -381,6 +462,7 @@ public java.util.List getContact
    * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @return The count of contactNotices. */ @java.lang.Override @@ -388,6 +470,8 @@ public int getContactNoticesCount() { return contactNotices_.size(); } /** + * + * *
    * The list of contact notices that the caller acknowledges. The notices
    * required here depend on the values specified in
@@ -395,6 +479,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. */ @@ -403,6 +488,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
    * required here depend on the values specified in
@@ -410,14 +497,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
    * required here depend on the values specified in
@@ -425,6 +514,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. */ @@ -432,11 +522,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
@@ -444,6 +537,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 @@ -451,6 +545,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
@@ -458,6 +554,7 @@ public boolean hasYearlyPrice() {
    * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The yearlyPrice. */ @java.lang.Override @@ -465,6 +562,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
@@ -481,6 +580,8 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
   public static final int VALIDATE_ONLY_FIELD_NUMBER = 6;
   private boolean validateOnly_;
   /**
+   *
+   *
    * 
    * When true, only validation will be performed, without actually registering
    * the domain. Follows:
@@ -488,6 +589,7 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
    * 
* * bool validate_only = 6; + * * @return The validateOnly. */ @java.lang.Override @@ -496,6 +598,7 @@ public boolean getValidateOnly() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -507,8 +610,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (!getParentBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); @@ -549,40 +651,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; @@ -592,29 +693,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; } @@ -645,125 +743,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() @@ -771,16 +878,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(); @@ -808,9 +914,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 @@ -829,7 +935,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) { @@ -861,38 +968,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; @@ -900,7 +1008,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(); @@ -953,7 +1062,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) { @@ -962,23 +1072,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; @@ -987,21 +1102,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 { @@ -1009,57 +1127,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; @@ -1067,39 +1198,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) { @@ -1115,11 +1265,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) { @@ -1133,17 +1287,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; } @@ -1155,11 +1315,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) { @@ -1173,55 +1337,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_); @@ -1229,37 +1409,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. */ @@ -1267,12 +1457,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. @@ -1288,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.v1beta1.DomainNotice domain_notices = 3; + * * @param value The domainNotices to add. * @return This builder for chaining. */ @@ -1307,12 +1503,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. */ @@ -1326,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.v1beta1.DomainNotice domain_notices = 3; + * * @return This builder for chaining. */ public Builder clearDomainNotices() { @@ -1341,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.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. */ @@ -1367,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.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. */ @@ -1401,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.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); @@ -1420,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_); @@ -1429,6 +1643,8 @@ private void ensureContactNoticesIsMutable() { } } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * required here depend on the values specified in
@@ -1436,13 +1652,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
      * required here depend on the values specified in
@@ -1450,12 +1670,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
      * required here depend on the values specified in
@@ -1463,6 +1686,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. */ @@ -1470,6 +1694,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
      * required here depend on the values specified in
@@ -1477,6 +1703,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. @@ -1492,6 +1719,8 @@ public Builder setContactNotices( return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * required here depend on the values specified in
@@ -1499,6 +1728,7 @@ public Builder setContactNotices(
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @param value The contactNotices to add. * @return This builder for chaining. */ @@ -1512,6 +1742,8 @@ public Builder addContactNotices(com.google.cloud.domains.v1beta1.ContactNotice return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * required here depend on the values specified in
@@ -1519,6 +1751,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. */ @@ -1532,6 +1765,8 @@ public Builder addAllContactNotices( return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * required here depend on the values specified in
@@ -1539,6 +1774,7 @@ public Builder addAllContactNotices(
      * 
* * repeated .google.cloud.domains.v1beta1.ContactNotice contact_notices = 4; + * * @return This builder for chaining. */ public Builder clearContactNotices() { @@ -1548,6 +1784,8 @@ public Builder clearContactNotices() { return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * required here depend on the values specified in
@@ -1555,13 +1793,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
      * required here depend on the values specified in
@@ -1569,6 +1809,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. */ @@ -1576,6 +1817,8 @@ public int getContactNoticesValue(int index) { return contactNotices_.get(index); } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * required here depend on the values specified in
@@ -1583,18 +1826,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
      * required here depend on the values specified in
@@ -1602,6 +1847,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. */ @@ -1612,6 +1858,8 @@ public Builder addContactNoticesValue(int value) { return this; } /** + * + * *
      * The list of contact notices that the caller acknowledges. The notices
      * required here depend on the values specified in
@@ -1619,11 +1867,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); @@ -1634,8 +1882,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
@@ -1643,12 +1894,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
@@ -1656,6 +1910,7 @@ public boolean hasYearlyPrice() {
      * 
* * .google.type.Money yearly_price = 5 [(.google.api.field_behavior) = REQUIRED]; + * * @return The yearlyPrice. */ public com.google.type.Money getYearlyPrice() { @@ -1666,6 +1921,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
@@ -1688,6 +1945,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
@@ -1696,8 +1955,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();
@@ -1708,6 +1966,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
@@ -1720,7 +1980,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;
         }
@@ -1732,6 +1992,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
@@ -1752,6 +2014,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
@@ -1761,11 +2025,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
@@ -1778,11 +2044,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
@@ -1792,21 +2059,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 will be performed, without actually registering
      * the domain. Follows:
@@ -1814,6 +2084,7 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() {
      * 
* * bool validate_only = 6; + * * @return The validateOnly. */ @java.lang.Override @@ -1821,6 +2092,8 @@ public boolean getValidateOnly() { return validateOnly_; } /** + * + * *
      * When true, only validation will be performed, without actually registering
      * the domain. Follows:
@@ -1828,16 +2101,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 will be performed, without actually registering
      * the domain. Follows:
@@ -1845,17 +2121,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); } @@ -1865,12 +2142,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(); } @@ -1879,16 +2156,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; @@ -1903,6 +2180,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 9a859477..3e235fbb 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
    * required 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
    * required 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
    * required 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
    * required 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
    * required 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 will be 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 77b12eeb..6f5aec65 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,91 +74,97 @@ 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) { throw e.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_); @@ -153,29 +176,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.
      * 
@@ -184,6 +213,8 @@ public enum Availability */ AVAILABILITY_UNSPECIFIED(0), /** + * + * *
      * The domain is available for registration.
      * 
@@ -192,6 +223,8 @@ public enum Availability */ AVAILABLE(1), /** + * + * *
      * The domain is not available for registration. Generally this means it is
      * already registered to another party.
@@ -201,6 +234,8 @@ public enum Availability
      */
     UNAVAILABLE(2),
     /**
+     *
+     *
      * 
      * The domain is not currently supported by Cloud Domains, but may
      * be available elsewhere.
@@ -210,6 +245,8 @@ public enum Availability
      */
     UNSUPPORTED(3),
     /**
+     *
+     *
      * 
      * Cloud Domains is unable to determine domain availability, generally
      * due to system maintenance at the domain name registry.
@@ -222,6 +259,8 @@ public enum Availability
     ;
 
     /**
+     *
+     *
      * 
      * The availability is unspecified.
      * 
@@ -230,6 +269,8 @@ public enum Availability */ public static final int AVAILABILITY_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The domain is available for registration.
      * 
@@ -238,6 +279,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.
@@ -247,6 +290,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.
@@ -256,6 +301,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.
@@ -265,7 +312,6 @@ public enum Availability
      */
     public static final int UNKNOWN_VALUE = 4;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -290,51 +336,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;
@@ -354,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 @@ -367,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 { @@ -400,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
@@ -407,12 +462,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
@@ -420,45 +479,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 @@ -466,11 +541,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. */ @@ -479,24 +557,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. */ @@ -504,39 +587,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 @@ -544,11 +639,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. */ @@ -557,24 +655,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. */ @@ -582,16 +685,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 @@ -599,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 @@ -611,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.
    * 
@@ -623,6 +735,7 @@ public com.google.type.MoneyOrBuilder getYearlyPriceOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -634,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 (!getDomainNameBytes().isEmpty()) { 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) { @@ -672,37 +786,39 @@ public int getSerializedSize() { if (!getDomainNameBytes().isEmpty()) { 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; @@ -712,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.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; @@ -762,117 +877,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() @@ -880,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(); @@ -911,9 +1034,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 @@ -932,7 +1055,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_; @@ -959,38 +1083,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; @@ -998,7 +1123,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(); @@ -1048,7 +1174,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) { @@ -1057,22 +1184,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; @@ -1081,20 +1211,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 { @@ -1102,54 +1233,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; @@ -1157,6 +1295,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
@@ -1164,12 +1304,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
@@ -1177,16 +1321,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
@@ -1194,15 +1341,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
@@ -1210,19 +1363,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
@@ -1230,17 +1387,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_); @@ -1248,34 +1406,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. */ @@ -1283,11 +1452,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. @@ -1303,11 +1475,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. */ @@ -1321,11 +1496,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. */ @@ -1339,11 +1517,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() { @@ -1353,23 +1534,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. */ @@ -1377,28 +1563,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. */ @@ -1409,16 +1600,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); @@ -1427,8 +1620,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_); @@ -1436,34 +1629,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. */ @@ -1471,11 +1674,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. @@ -1491,11 +1697,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. */ @@ -1509,11 +1718,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. */ @@ -1527,11 +1739,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() { @@ -1541,23 +1756,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. */ @@ -1565,28 +1785,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. */ @@ -1597,16 +1822,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); @@ -1617,24 +1844,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() { @@ -1645,6 +1879,8 @@ public com.google.type.Money getYearlyPrice() { } } /** + * + * *
      * Price to register or renew the domain for one year.
      * 
@@ -1665,14 +1901,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(); @@ -1683,6 +1920,8 @@ public Builder setYearlyPrice( return this; } /** + * + * *
      * Price to register or renew the domain for one year.
      * 
@@ -1693,7 +1932,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; } @@ -1705,6 +1944,8 @@ public Builder mergeYearlyPrice(com.google.type.Money value) { return this; } /** + * + * *
      * Price to register or renew the domain for one year.
      * 
@@ -1723,6 +1964,8 @@ public Builder clearYearlyPrice() { return this; } /** + * + * *
      * Price to register or renew the domain for one year.
      * 
@@ -1730,11 +1973,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.
      * 
@@ -1745,11 +1990,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.
      * 
@@ -1757,21 +2003,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); } @@ -1781,12 +2028,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(); } @@ -1795,16 +2042,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; @@ -1819,6 +2066,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 67% 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 903f3ca1..3c0f0c4a 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.
@@ -16,15 +33,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_ = "";
@@ -35,16 +53,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)
@@ -64,175 +81,198 @@ 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) {
       throw e.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_);
@@ -244,41 +284,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.
      * 
@@ -287,6 +332,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The domain is being registered.
      * 
@@ -295,6 +342,8 @@ public enum State */ REGISTRATION_PENDING(1), /** + * + * *
      * The domain registration failed. You can delete resources in this state
      * to allow registration to be retried.
@@ -304,6 +353,8 @@ public enum State
      */
     REGISTRATION_FAILED(2),
     /**
+     *
+     *
      * 
      * The domain is registered and operational. The domain renews automatically
      * as long as it remains in this state.
@@ -313,6 +364,8 @@ public enum State
      */
     ACTIVE(6),
     /**
+     *
+     *
      * 
      * The domain is suspended and inoperative. For more details, see the
      * `issues` field.
@@ -322,6 +375,8 @@ public enum State
      */
     SUSPENDED(7),
     /**
+     *
+     *
      * 
      * The domain has been exported from Cloud Domains to
      * [Google Domains](https://domains.google/). You can no longer update it
@@ -337,6 +392,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * The state is undefined.
      * 
@@ -345,6 +402,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The domain is being registered.
      * 
@@ -353,6 +412,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.
@@ -362,6 +423,8 @@ public enum State
      */
     public static final int REGISTRATION_FAILED_VALUE = 2;
     /**
+     *
+     *
      * 
      * The domain is registered and operational. The domain renews automatically
      * as long as it remains in this state.
@@ -371,6 +434,8 @@ public enum State
      */
     public static final int ACTIVE_VALUE = 6;
     /**
+     *
+     *
      * 
      * The domain is suspended and inoperative. For more details, see the
      * `issues` field.
@@ -380,6 +445,8 @@ public enum State
      */
     public static final int SUSPENDED_VALUE = 7;
     /**
+     *
+     *
      * 
      * The domain has been exported from Cloud Domains to
      * [Google Domains](https://domains.google/). You can no longer update it
@@ -392,7 +459,6 @@ public enum State
      */
     public static final int EXPORTED_VALUE = 8;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -417,52 +483,55 @@ 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 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 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;
@@ -480,15 +549,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.
      * 
@@ -497,6 +569,8 @@ public enum Issue */ ISSUE_UNSPECIFIED(0), /** + * + * *
      * Contact the Cloud Support team to resolve a problem with this domain.
      * 
@@ -505,6 +579,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
@@ -523,6 +599,8 @@ public enum Issue
     ;
 
     /**
+     *
+     *
      * 
      * The issue is undefined.
      * 
@@ -531,6 +609,8 @@ public enum Issue */ public static final int ISSUE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Contact the Cloud Support team to resolve a problem with this domain.
      * 
@@ -539,6 +619,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
@@ -554,7 +636,6 @@ public enum Issue
      */
     public static final int UNVERIFIED_EMAIL_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -579,49 +660,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;
@@ -641,12 +722,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 @@ -655,30 +739,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 { @@ -689,11 +773,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 @@ -702,29 +791,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 { @@ -735,11 +826,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 @@ -747,11 +842,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 @@ -759,11 +858,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() { @@ -773,11 +875,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 @@ -785,11 +891,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 @@ -797,11 +907,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() { @@ -811,61 +924,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 @@ -873,11 +1017,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. */ @@ -886,24 +1035,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. */ @@ -911,27 +1069,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_; } @@ -940,28 +1098,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 java.lang.NullPointerException(); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } 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`.
    * 
@@ -969,11 +1129,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`.
    * 
@@ -981,16 +1142,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 java.lang.NullPointerException(); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Set of labels associated with the `Registration`.
    * 
@@ -998,12 +1159,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 java.lang.NullPointerException(); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1013,6 +1173,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`
@@ -1021,6 +1183,7 @@ public java.lang.String getLabelsOrThrow(
    * 
* * .google.cloud.domains.v1beta1.ManagementSettings management_settings = 10; + * * @return Whether the managementSettings field is set. */ @java.lang.Override @@ -1028,6 +1191,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`
@@ -1036,13 +1201,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`
@@ -1053,13 +1223,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
@@ -1067,6 +1240,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 @@ -1074,6 +1248,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
@@ -1081,13 +1257,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
@@ -1104,13 +1285,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 @@ -1118,27 +1304,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() { @@ -1148,6 +1345,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`
@@ -1158,7 +1357,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 @@ -1166,6 +1368,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`
@@ -1176,14 +1380,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`
@@ -1194,46 +1405,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 @@ -1241,12 +1470,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. */ @@ -1255,26 +1489,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. */ @@ -1282,9 +1525,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; @@ -1296,8 +1541,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 (!getNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); @@ -1311,7 +1555,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) { @@ -1321,12 +1566,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()); } @@ -1362,66 +1603,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; @@ -1431,50 +1668,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; @@ -1535,97 +1764,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.
@@ -1638,43 +1874,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()
@@ -1682,16 +1918,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();
@@ -1746,9 +1981,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
@@ -1767,7 +2002,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_;
@@ -1822,38 +2058,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;
@@ -1889,8 +2126,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());
       }
@@ -1941,23 +2177,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; @@ -1966,21 +2205,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 { @@ -1988,57 +2228,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; @@ -2046,18 +2293,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; @@ -2066,20 +2317,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 { @@ -2087,54 +2341,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; @@ -2142,39 +2409,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) { @@ -2190,14 +2476,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(); @@ -2208,17 +2497,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; } @@ -2230,11 +2523,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) { @@ -2248,48 +2545,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_; @@ -2297,39 +2610,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) { @@ -2345,14 +2677,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(); @@ -2363,17 +2698,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; } @@ -2385,11 +2724,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) { @@ -2403,48 +2746,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_; @@ -2452,51 +2811,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. */ @@ -2504,28 +2887,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_); @@ -2533,34 +2921,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. */ @@ -2568,17 +2972,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(); } @@ -2588,11 +2996,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. */ @@ -2606,11 +3019,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. */ @@ -2624,11 +3042,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() { @@ -2638,23 +3061,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. */ @@ -2662,28 +3094,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. */ @@ -2694,16 +3135,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); @@ -2712,22 +3157,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(); @@ -2739,28 +3183,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 java.lang.NullPointerException(); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } 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`.
      * 
@@ -2768,11 +3214,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`.
      * 
@@ -2780,16 +3227,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 java.lang.NullPointerException(); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Set of labels associated with the `Registration`.
      * 
@@ -2797,12 +3245,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 java.lang.NullPointerException(); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -2810,68 +3257,72 @@ 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 java.lang.NullPointerException(); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + 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 java.lang.NullPointerException(); } - if (value == null) { throw new java.lang.NullPointerException(); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new java.lang.NullPointerException(); + } + if (value == null) { + throw new java.lang.NullPointerException(); + } + 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`
@@ -2880,12 +3331,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`
@@ -2894,16 +3348,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`
@@ -2913,7 +3372,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();
@@ -2927,6 +3387,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`
@@ -2948,6 +3410,8 @@ public Builder setManagementSettings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -2957,11 +3421,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;
         }
@@ -2973,6 +3440,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`
@@ -2994,6 +3463,8 @@ public Builder clearManagementSettings() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Settings for management of the `Registration`, including renewal, billing,
      * and transfer. You cannot update these with the `UpdateRegistration`
@@ -3003,12 +3474,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`
@@ -3018,15 +3492,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`
@@ -3037,14 +3515,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_;
@@ -3052,8 +3533,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
@@ -3061,12 +3547,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
@@ -3074,16 +3563,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
@@ -3106,6 +3600,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
@@ -3126,6 +3622,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
@@ -3138,7 +3636,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;
         }
@@ -3150,6 +3650,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
@@ -3170,6 +3672,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
@@ -3179,11 +3683,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
@@ -3196,11 +3702,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
@@ -3210,14 +3719,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_;
@@ -3225,45 +3737,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) { @@ -3279,13 +3810,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) { @@ -3299,19 +3834,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; } @@ -3323,13 +3864,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) { @@ -3343,54 +3888,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_; @@ -3398,8 +3959,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`
@@ -3410,13 +3976,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`
@@ -3427,17 +3998,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`
@@ -3448,9 +4026,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(); @@ -3464,6 +4045,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`
@@ -3474,7 +4057,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) { @@ -3488,6 +4073,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`
@@ -3498,13 +4085,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; } @@ -3516,6 +4108,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`
@@ -3526,7 +4120,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) { @@ -3540,6 +4136,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`
@@ -3550,14 +4148,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`
@@ -3568,17 +4171,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`
@@ -3589,24 +4198,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_); @@ -3614,37 +4228,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. */ @@ -3652,12 +4283,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. @@ -3673,12 +4309,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. */ @@ -3692,12 +4333,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. */ @@ -3711,12 +4357,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() { @@ -3726,25 +4377,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. */ @@ -3752,30 +4412,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. */ @@ -3786,17 +4455,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); @@ -3804,9 +4477,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); } @@ -3816,12 +4489,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(); } @@ -3830,16 +4503,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; @@ -3854,6 +4527,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 234991a7..e821d899 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,52 +268,52 @@ 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`.
    * 
* * map<string, string> labels = 9; */ - - java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue); + java.lang.String getLabelsOrDefault(java.lang.String key, 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`
@@ -234,10 +322,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`
@@ -246,10 +337,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`
@@ -262,6 +356,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
@@ -269,10 +365,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
@@ -280,10 +379,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
@@ -295,39 +397,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`
@@ -338,11 +456,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`
@@ -353,11 +476,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`
@@ -368,59 +496,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 63% 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 5748cfe9..0d29b4af 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,53 +70,61 @@ 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) { throw e.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 @@ -108,30 +133,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 { @@ -140,6 +167,7 @@ public java.lang.String getRegistration() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +179,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getRegistrationBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -176,15 +203,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; } @@ -204,117 +231,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() @@ -322,16 +359,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(); @@ -341,13 +377,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(); } @@ -362,7 +399,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; @@ -372,38 +410,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; @@ -411,7 +450,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(); @@ -435,7 +476,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) { @@ -447,19 +490,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; @@ -468,21 +515,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 { @@ -490,64 +540,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); } @@ -557,30 +620,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; @@ -592,9 +657,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 3208526d..05b2fbf4 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,53 +71,61 @@ 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) { throw e.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 @@ -108,30 +134,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 { @@ -140,6 +168,7 @@ public java.lang.String getRegistration() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -151,8 +180,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getRegistrationBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, registration_); } @@ -176,15 +204,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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; } @@ -204,134 +232,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(); @@ -341,13 +380,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(); } @@ -362,7 +402,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; @@ -372,46 +413,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(); @@ -435,7 +480,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) { @@ -447,19 +494,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; @@ -468,21 +519,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 { @@ -490,64 +544,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); } @@ -557,30 +624,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; @@ -592,9 +661,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 7c1a8426..287636d1 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,58 +72,65 @@ 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) { throw e.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 @@ -114,29 +139,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 { @@ -147,11 +172,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 @@ -160,29 +190,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 { @@ -191,6 +223,7 @@ public java.lang.String getLocation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,8 +235,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getDomainNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domainName_); } @@ -233,17 +265,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; } @@ -265,134 +296,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(); @@ -404,14 +446,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 @@ -425,7 +469,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(); @@ -436,46 +481,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(); @@ -503,7 +553,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) { @@ -515,18 +567,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; @@ -535,20 +589,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 { @@ -556,54 +611,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; @@ -611,18 +673,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; @@ -631,20 +697,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 { @@ -652,61 +721,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); } @@ -716,30 +798,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; @@ -751,9 +835,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 63% 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 f790b653..552fcf60 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,59 +69,68 @@ 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) { throw e.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 @@ -112,18 +138,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.
    * 
@@ -131,11 +164,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; @@ -147,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()); } @@ -162,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; @@ -173,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.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; @@ -206,134 +239,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(); @@ -347,14 +391,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 @@ -368,7 +414,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 { @@ -382,46 +429,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()); } @@ -444,7 +496,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) { @@ -456,41 +510,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(); @@ -504,6 +572,8 @@ public Builder setRegisterParameters(com.google.cloud.domains.v1beta1.RegisterPa return this; } /** + * + * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
@@ -522,17 +592,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; } @@ -544,6 +619,8 @@ public Builder mergeRegisterParameters(com.google.cloud.domains.v1beta1.Register return this; } /** + * + * *
      * Parameters to use when calling the `RegisterDomain` method.
      * 
@@ -562,33 +639,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.
      * 
@@ -596,21 +682,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); } @@ -620,30 +709,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; @@ -655,9 +746,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/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 4dc7f50e..d4c684e2 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,58 +71,65 @@ 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) { throw e.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 @@ -114,29 +138,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 { @@ -147,11 +171,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 @@ -160,29 +189,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 { @@ -191,6 +222,7 @@ public java.lang.String getLocation() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -202,8 +234,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getQueryBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, query_); } @@ -233,17 +264,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; } @@ -265,117 +295,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() @@ -383,16 +423,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(); @@ -404,9 +443,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 @@ -425,7 +464,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(); @@ -436,38 +476,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; @@ -475,7 +516,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(); @@ -503,7 +545,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) { @@ -515,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; @@ -535,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 { @@ -556,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; @@ -611,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; @@ -631,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 { @@ -652,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); } @@ -716,12 +789,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(); } @@ -730,16 +803,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; @@ -754,6 +827,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 0a4f799d..8f8cd682 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,29 +71,32 @@ 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) { throw e.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_); @@ -85,22 +105,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.
    * 
@@ -108,10 +133,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.
    * 
@@ -119,11 +147,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.
    * 
@@ -135,6 +165,8 @@ public int getRegisterParametersCount() { return registerParameters_.size(); } /** + * + * *
    * Results of the domain name search.
    * 
@@ -146,6 +178,8 @@ public com.google.cloud.domains.v1beta1.RegisterParameters getRegisterParameters return registerParameters_.get(index); } /** + * + * *
    * Results of the domain name search.
    * 
@@ -153,12 +187,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; @@ -170,8 +205,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < registerParameters_.size(); i++) { output.writeMessage(1, registerParameters_.get(i)); } @@ -185,8 +219,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; @@ -196,15 +230,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; } @@ -226,117 +260,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() @@ -344,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(); @@ -368,9 +412,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 @@ -389,7 +433,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)) { @@ -408,38 +453,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; @@ -447,7 +493,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()) { @@ -466,9 +513,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_); } @@ -493,7 +541,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) { @@ -502,28 +551,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 { @@ -531,11 +591,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) { @@ -545,11 +608,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) { @@ -559,11 +625,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) { @@ -580,11 +649,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) { @@ -598,13 +670,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(); @@ -618,11 +694,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) { @@ -639,11 +718,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) { @@ -657,11 +739,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) { @@ -675,18 +760,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); @@ -694,11 +781,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) { @@ -711,11 +801,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) { @@ -728,39 +821,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 { @@ -768,45 +871,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(), @@ -815,9 +935,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); } @@ -827,12 +947,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(); } @@ -841,16 +961,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; @@ -865,6 +985,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/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/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 831fde48..a24da247 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,72 +68,82 @@ 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) { throw e.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 @@ -125,18 +151,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.
    * 
@@ -151,13 +184,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` would
    * be `"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 @@ -165,13 +202,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` would
    * be `"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 @@ -179,13 +220,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` would
    * be `"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() { @@ -193,6 +237,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,8 +249,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (registration_ != null) { output.writeMessage(1, getRegistration()); } @@ -222,12 +266,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; @@ -237,22 +279,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.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; @@ -279,117 +320,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() @@ -397,16 +448,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(); @@ -426,9 +476,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 @@ -447,7 +497,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 { @@ -466,38 +517,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; @@ -505,7 +557,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()); } @@ -531,7 +584,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) { @@ -543,34 +597,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.
      * 
@@ -591,6 +658,8 @@ public Builder setRegistration(com.google.cloud.domains.v1beta1.Registration val return this; } /** + * + * *
      * Fields of the `Registration` to update.
      * 
@@ -609,6 +678,8 @@ public Builder setRegistration( return this; } /** + * + * *
      * Fields of the `Registration` to update.
      * 
@@ -619,7 +690,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; } @@ -631,6 +704,8 @@ public Builder mergeRegistration(com.google.cloud.domains.v1beta1.Registration v return this; } /** + * + * *
      * Fields of the `Registration` to update.
      * 
@@ -649,6 +724,8 @@ public Builder clearRegistration() { return this; } /** + * + * *
      * Fields of the `Registration` to update.
      * 
@@ -656,11 +733,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.
      * 
@@ -671,11 +750,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.
      * 
@@ -683,14 +765,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_; @@ -698,45 +783,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` would
      * be `"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` would
      * be `"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` would
      * be `"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) { @@ -752,16 +853,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` would
      * be `"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(); @@ -772,19 +875,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` would
      * be `"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; } @@ -796,13 +902,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` would
      * be `"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) { @@ -816,61 +925,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` would
      * be `"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` would
      * be `"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` would
      * be `"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); } @@ -880,12 +1002,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(); } @@ -894,16 +1016,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; @@ -918,6 +1040,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 d054d2b7..0044b211 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` would
    * be `"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` would
    * be `"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` would
    * be `"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