From 079dfb69b3d1116e7a25facc90f67973009ef8fa Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 3 Oct 2022 06:05:24 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20post-p?= =?UTF-8?q?rocessor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- java-certificate-manager/README.md | 6 +- .../pom.xml | 6 +- .../v1/CertificateManagerClient.java | 0 .../v1/CertificateManagerSettings.java | 1 - .../certificatemanager/v1/gapic_metadata.json | 0 .../certificatemanager/v1/package-info.java | 0 .../v1/stub/CertificateManagerStub.java | 0 .../stub/CertificateManagerStubSettings.java | 0 ...GrpcCertificateManagerCallableFactory.java | 0 .../v1/stub/GrpcCertificateManagerStub.java | 1 - ...JsonCertificateManagerCallableFactory.java | 0 .../stub/HttpJsonCertificateManagerStub.java | 1 - .../CertificateManagerClientHttpJsonTest.java | 0 .../v1/CertificateManagerClientTest.java | 0 .../v1/MockCertificateManager.java | 0 .../v1/MockCertificateManagerImpl.java | 0 .../certificatemanager/v1/MockLocations.java | 0 .../v1/MockLocationsImpl.java | 0 .../v1/CertificateManagerGrpc.java | 3310 ++++++++++ .../certificatemanager/v1/Certificate.java | 5413 +++++++++++------ .../v1/CertificateIssuanceConfig.java | 2628 +++++--- .../v1/CertificateIssuanceConfigName.java | 0 .../CertificateIssuanceConfigOrBuilder.java | 153 +- .../v1/CertificateIssuanceConfigProto.java | 253 + .../v1/CertificateManagerProto.java | 1002 +++ .../certificatemanager/v1/CertificateMap.java | 2610 +++++--- .../v1/CertificateMapEntry.java | 1404 +++-- .../v1/CertificateMapEntryName.java | 0 .../v1/CertificateMapEntryOrBuilder.java | 154 +- .../v1/CertificateMapName.java | 0 .../v1/CertificateMapOrBuilder.java | 136 +- .../v1/CertificateName.java | 0 .../v1/CertificateOrBuilder.java | 190 +- ...reateCertificateIssuanceConfigRequest.java | 729 ++- ...ificateIssuanceConfigRequestOrBuilder.java | 73 +- .../v1/CreateCertificateMapEntryRequest.java | 627 +- ...teCertificateMapEntryRequestOrBuilder.java | 67 +- .../v1/CreateCertificateMapRequest.java | 609 +- .../CreateCertificateMapRequestOrBuilder.java | 64 +- .../v1/CreateCertificateRequest.java | 585 +- .../v1/CreateCertificateRequestOrBuilder.java | 64 +- .../v1/CreateDnsAuthorizationRequest.java | 613 +- ...reateDnsAuthorizationRequestOrBuilder.java | 64 +- ...eleteCertificateIssuanceConfigRequest.java | 465 +- ...ificateIssuanceConfigRequestOrBuilder.java | 56 + .../v1/DeleteCertificateMapEntryRequest.java | 403 +- ...teCertificateMapEntryRequestOrBuilder.java | 56 + .../v1/DeleteCertificateMapRequest.java | 390 +- .../DeleteCertificateMapRequestOrBuilder.java | 56 + .../v1/DeleteCertificateRequest.java | 378 +- .../v1/DeleteCertificateRequestOrBuilder.java | 56 + .../v1/DeleteDnsAuthorizationRequest.java | 390 +- ...eleteDnsAuthorizationRequestOrBuilder.java | 56 + .../v1/DnsAuthorization.java | 1780 +++--- .../v1/DnsAuthorizationName.java | 0 .../v1/DnsAuthorizationOrBuilder.java | 141 +- .../GetCertificateIssuanceConfigRequest.java | 464 +- ...ificateIssuanceConfigRequestOrBuilder.java | 56 + .../v1/GetCertificateMapEntryRequest.java | 390 +- ...etCertificateMapEntryRequestOrBuilder.java | 56 + .../v1/GetCertificateMapRequest.java | 378 +- .../v1/GetCertificateMapRequestOrBuilder.java | 56 + .../v1/GetCertificateRequest.java | 365 +- .../v1/GetCertificateRequestOrBuilder.java | 56 + .../v1/GetDnsAuthorizationRequest.java | 386 +- .../GetDnsAuthorizationRequestOrBuilder.java | 56 + ...ListCertificateIssuanceConfigsRequest.java | 718 ++- ...ficateIssuanceConfigsRequestOrBuilder.java | 65 +- ...istCertificateIssuanceConfigsResponse.java | 823 ++- ...icateIssuanceConfigsResponseOrBuilder.java | 87 +- .../v1/ListCertificateMapEntriesRequest.java | 667 +- ...CertificateMapEntriesRequestOrBuilder.java | 65 +- .../v1/ListCertificateMapEntriesResponse.java | 766 ++- ...ertificateMapEntriesResponseOrBuilder.java | 83 +- .../v1/ListCertificateMapsRequest.java | 650 +- .../ListCertificateMapsRequestOrBuilder.java | 65 +- .../v1/ListCertificateMapsResponse.java | 674 +- .../ListCertificateMapsResponseOrBuilder.java | 60 +- .../v1/ListCertificatesRequest.java | 639 +- .../v1/ListCertificatesRequestOrBuilder.java | 65 +- .../v1/ListCertificatesResponse.java | 600 +- .../v1/ListCertificatesResponseOrBuilder.java | 63 +- .../v1/ListDnsAuthorizationsRequest.java | 654 +- ...ListDnsAuthorizationsRequestOrBuilder.java | 65 +- .../v1/ListDnsAuthorizationsResponse.java | 717 ++- ...istDnsAuthorizationsResponseOrBuilder.java | 74 +- .../certificatemanager/v1/LocationName.java | 0 .../v1/OperationMetadata.java | 767 ++- .../v1/OperationMetadataOrBuilder.java | 73 +- .../certificatemanager/v1/ServingState.java | 86 +- .../v1/UpdateCertificateMapEntryRequest.java | 565 +- ...teCertificateMapEntryRequestOrBuilder.java | 58 +- .../v1/UpdateCertificateMapRequest.java | 547 +- .../UpdateCertificateMapRequestOrBuilder.java | 55 +- .../v1/UpdateCertificateRequest.java | 523 +- .../v1/UpdateCertificateRequestOrBuilder.java | 55 +- .../v1/UpdateDnsAuthorizationRequest.java | 551 +- ...pdateDnsAuthorizationRequestOrBuilder.java | 55 +- .../v1/certificate_issuance_config.proto | 0 .../v1/certificate_manager.proto | 0 .../samples/install-without-bom/pom.xml | 84 + java-certificate-manager/samples/pom.xml | 56 + .../samples/snapshot/pom.xml | 83 + .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateCertificate.java | 0 .../AsyncCreateCertificateLRO.java | 0 .../SyncCreateCertificate.java | 0 ...tificateLocationnameCertificateString.java | 0 ...ateCertificateStringCertificateString.java | 0 .../AsyncCreateCertificateIssuanceConfig.java | 0 ...yncCreateCertificateIssuanceConfigLRO.java | 0 .../SyncCreateCertificateIssuanceConfig.java | 0 ...onnameCertificateissuanceconfigString.java | 0 ...StringCertificateissuanceconfigString.java | 0 .../AsyncCreateCertificateMap.java | 0 .../AsyncCreateCertificateMapLRO.java | 0 .../SyncCreateCertificateMap.java | 0 ...teMapLocationnameCertificatemapString.java | 0 ...tificateMapStringCertificatemapString.java | 0 .../AsyncCreateCertificateMapEntry.java | 0 .../AsyncCreateCertificateMapEntryLRO.java | 0 .../SyncCreateCertificateMapEntry.java | 0 ...icatemapnameCertificatemapentryString.java | 0 ...pEntryStringCertificatemapentryString.java | 0 .../AsyncCreateDnsAuthorization.java | 0 .../AsyncCreateDnsAuthorizationLRO.java | 0 .../SyncCreateDnsAuthorization.java | 0 ...ionLocationnameDnsauthorizationString.java | 0 ...orizationStringDnsauthorizationString.java | 0 .../AsyncDeleteCertificate.java | 0 .../AsyncDeleteCertificateLRO.java | 0 .../SyncDeleteCertificate.java | 0 .../SyncDeleteCertificateCertificatename.java | 0 .../SyncDeleteCertificateString.java | 0 .../AsyncDeleteCertificateIssuanceConfig.java | 0 ...yncDeleteCertificateIssuanceConfigLRO.java | 0 .../SyncDeleteCertificateIssuanceConfig.java | 0 ...ceConfigCertificateissuanceconfigname.java | 0 ...DeleteCertificateIssuanceConfigString.java | 0 .../AsyncDeleteCertificateMap.java | 0 .../AsyncDeleteCertificateMapLRO.java | 0 .../SyncDeleteCertificateMap.java | 0 ...eleteCertificateMapCertificatemapname.java | 0 .../SyncDeleteCertificateMapString.java | 0 .../AsyncDeleteCertificateMapEntry.java | 0 .../AsyncDeleteCertificateMapEntryLRO.java | 0 .../SyncDeleteCertificateMapEntry.java | 0 ...ficateMapEntryCertificatemapentryname.java | 0 .../SyncDeleteCertificateMapEntryString.java | 0 .../AsyncDeleteDnsAuthorization.java | 0 .../AsyncDeleteDnsAuthorizationLRO.java | 0 .../SyncDeleteDnsAuthorization.java | 0 ...eDnsAuthorizationDnsauthorizationname.java | 0 .../SyncDeleteDnsAuthorizationString.java | 0 .../getcertificate/AsyncGetCertificate.java | 0 .../getcertificate/SyncGetCertificate.java | 0 .../SyncGetCertificateCertificatename.java | 0 .../SyncGetCertificateString.java | 0 .../AsyncGetCertificateIssuanceConfig.java | 0 .../SyncGetCertificateIssuanceConfig.java | 0 ...ceConfigCertificateissuanceconfigname.java | 0 ...yncGetCertificateIssuanceConfigString.java | 0 .../AsyncGetCertificateMap.java | 0 .../SyncGetCertificateMap.java | 0 ...ncGetCertificateMapCertificatemapname.java | 0 .../SyncGetCertificateMapString.java | 0 .../AsyncGetCertificateMapEntry.java | 0 .../SyncGetCertificateMapEntry.java | 0 ...ficateMapEntryCertificatemapentryname.java | 0 .../SyncGetCertificateMapEntryString.java | 0 .../AsyncGetDnsAuthorization.java | 0 .../SyncGetDnsAuthorization.java | 0 ...tDnsAuthorizationDnsauthorizationname.java | 0 .../SyncGetDnsAuthorizationString.java | 0 .../getlocation/AsyncGetLocation.java | 0 .../getlocation/SyncGetLocation.java | 0 .../AsyncListCertificateIssuanceConfigs.java | 0 ...ncListCertificateIssuanceConfigsPaged.java | 0 .../SyncListCertificateIssuanceConfigs.java | 0 ...ertificateIssuanceConfigsLocationname.java | 0 ...cListCertificateIssuanceConfigsString.java | 0 .../AsyncListCertificateMapEntries.java | 0 .../AsyncListCertificateMapEntriesPaged.java | 0 .../SyncListCertificateMapEntries.java | 0 ...rtificateMapEntriesCertificatemapname.java | 0 .../SyncListCertificateMapEntriesString.java | 0 .../AsyncListCertificateMaps.java | 0 .../AsyncListCertificateMapsPaged.java | 0 .../SyncListCertificateMaps.java | 0 .../SyncListCertificateMapsLocationname.java | 0 .../SyncListCertificateMapsString.java | 0 .../AsyncListCertificates.java | 0 .../AsyncListCertificatesPaged.java | 0 .../SyncListCertificates.java | 0 .../SyncListCertificatesLocationname.java | 0 .../SyncListCertificatesString.java | 0 .../AsyncListDnsAuthorizations.java | 0 .../AsyncListDnsAuthorizationsPaged.java | 0 .../SyncListDnsAuthorizations.java | 0 ...SyncListDnsAuthorizationsLocationname.java | 0 .../SyncListDnsAuthorizationsString.java | 0 .../listlocations/AsyncListLocations.java | 0 .../AsyncListLocationsPaged.java | 0 .../listlocations/SyncListLocations.java | 0 .../AsyncUpdateCertificate.java | 0 .../AsyncUpdateCertificateLRO.java | 0 .../SyncUpdateCertificate.java | 0 ...UpdateCertificateCertificateFieldmask.java | 0 .../AsyncUpdateCertificateMap.java | 0 .../AsyncUpdateCertificateMapLRO.java | 0 .../SyncUpdateCertificateMap.java | 0 ...CertificateMapCertificatemapFieldmask.java | 0 .../AsyncUpdateCertificateMapEntry.java | 0 .../AsyncUpdateCertificateMapEntryLRO.java | 0 .../SyncUpdateCertificateMapEntry.java | 0 ...eMapEntryCertificatemapentryFieldmask.java | 0 .../AsyncUpdateDnsAuthorization.java | 0 .../AsyncUpdateDnsAuthorizationLRO.java | 0 .../SyncUpdateDnsAuthorization.java | 0 ...uthorizationDnsauthorizationFieldmask.java | 0 .../getcertificate/SyncGetCertificate.java | 0 .../getcertificate/SyncGetCertificate.java | 0 .../samples/snippets/pom.xml | 47 + .../v1/CertificateManagerGrpc.java | 2379 -------- .../v1/CertificateIssuanceConfigProto.java | 216 - .../v1/CertificateManagerProto.java | 889 --- ...ificateIssuanceConfigRequestOrBuilder.java | 31 - ...teCertificateMapEntryRequestOrBuilder.java | 31 - .../DeleteCertificateMapRequestOrBuilder.java | 31 - .../v1/DeleteCertificateRequestOrBuilder.java | 31 - ...eleteDnsAuthorizationRequestOrBuilder.java | 31 - ...ificateIssuanceConfigRequestOrBuilder.java | 31 - ...etCertificateMapEntryRequestOrBuilder.java | 31 - .../v1/GetCertificateMapRequestOrBuilder.java | 31 - .../v1/GetCertificateRequestOrBuilder.java | 31 - .../GetDnsAuthorizationRequestOrBuilder.java | 31 - 238 files changed, 26271 insertions(+), 15981 deletions(-) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerClient.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerSettings.java (99%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/gapic_metadata.json (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/package-info.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/CertificateManagerStub.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/CertificateManagerStubSettings.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/GrpcCertificateManagerCallableFactory.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/GrpcCertificateManagerStub.java (99%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/HttpJsonCertificateManagerCallableFactory.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/HttpJsonCertificateManagerStub.java (99%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/CertificateManagerClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/CertificateManagerClientTest.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/MockCertificateManager.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/MockCertificateManagerImpl.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/MockLocations.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/MockLocationsImpl.java (100%) create mode 100644 java-certificate-manager/grpc-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerGrpc.java rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/Certificate.java (63%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateIssuanceConfig.java (58%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateIssuanceConfigName.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateIssuanceConfigOrBuilder.java (69%) create mode 100644 java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateIssuanceConfigProto.java create mode 100644 java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerProto.java rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMap.java (65%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntry.java (69%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntryName.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntryOrBuilder.java (78%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapName.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapOrBuilder.java (66%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateName.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateOrBuilder.java (76%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateIssuanceConfigRequest.java (56%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateIssuanceConfigRequestOrBuilder.java (53%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequest.java (61%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequestOrBuilder.java (54%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequest.java (62%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequestOrBuilder.java (54%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequest.java (62%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequestOrBuilder.java (53%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequest.java (61%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequestOrBuilder.java (54%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateIssuanceConfigRequest.java (53%) create mode 100644 java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateIssuanceConfigRequestOrBuilder.java rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequest.java (58%) create mode 100644 java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequestOrBuilder.java rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequest.java (60%) create mode 100644 java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequestOrBuilder.java rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequest.java (61%) create mode 100644 java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequestOrBuilder.java rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequest.java (60%) create mode 100644 java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequestOrBuilder.java rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorization.java (64%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationName.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationOrBuilder.java (66%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateIssuanceConfigRequest.java (53%) create mode 100644 java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateIssuanceConfigRequestOrBuilder.java rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequest.java (60%) create mode 100644 java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequestOrBuilder.java rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequest.java (61%) create mode 100644 java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequestOrBuilder.java rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequest.java (62%) create mode 100644 java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequestOrBuilder.java rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequest.java (60%) create mode 100644 java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequestOrBuilder.java rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateIssuanceConfigsRequest.java (64%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateIssuanceConfigsRequestOrBuilder.java (68%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateIssuanceConfigsResponse.java (61%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateIssuanceConfigsResponseOrBuilder.java (61%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequest.java (68%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequestOrBuilder.java (71%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponse.java (64%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponseOrBuilder.java (63%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequest.java (68%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequestOrBuilder.java (68%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponse.java (71%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponseOrBuilder.java (76%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequest.java (69%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequestOrBuilder.java (68%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponse.java (73%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponseOrBuilder.java (75%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequest.java (68%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequestOrBuilder.java (68%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponse.java (69%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponseOrBuilder.java (72%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/LocationName.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadata.java (73%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadataOrBuilder.java (76%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ServingState.java (66%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequest.java (61%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequestOrBuilder.java (59%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequest.java (63%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequestOrBuilder.java (60%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequest.java (64%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequestOrBuilder.java (60%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequest.java (62%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequestOrBuilder.java (60%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/proto/google/cloud/certificatemanager/v1/certificate_issuance_config.proto (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/proto-google-cloud-certificate-manager-v1/src/main/proto/google/cloud/certificatemanager/v1/certificate_manager.proto (100%) create mode 100644 java-certificate-manager/samples/install-without-bom/pom.xml create mode 100644 java-certificate-manager/samples/pom.xml create mode 100644 java-certificate-manager/samples/snapshot/pom.xml rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/AsyncCreateCertificate.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/AsyncCreateCertificateLRO.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificate.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateLocationnameCertificateString.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateStringCertificateString.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificateissuanceconfig/AsyncCreateCertificateIssuanceConfig.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificateissuanceconfig/AsyncCreateCertificateIssuanceConfigLRO.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificateissuanceconfig/SyncCreateCertificateIssuanceConfig.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificateissuanceconfig/SyncCreateCertificateIssuanceConfigLocationnameCertificateissuanceconfigString.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificateissuanceconfig/SyncCreateCertificateIssuanceConfigStringCertificateissuanceconfigString.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/AsyncCreateCertificateMap.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/AsyncCreateCertificateMapLRO.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMap.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapLocationnameCertificatemapString.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapStringCertificatemapString.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/AsyncCreateCertificateMapEntry.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/AsyncCreateCertificateMapEntryLRO.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntry.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryCertificatemapnameCertificatemapentryString.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryStringCertificatemapentryString.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/AsyncCreateDnsAuthorization.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/AsyncCreateDnsAuthorizationLRO.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorization.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationLocationnameDnsauthorizationString.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationStringDnsauthorizationString.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/AsyncDeleteCertificate.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/AsyncDeleteCertificateLRO.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificate.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateCertificatename.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateString.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificateissuanceconfig/AsyncDeleteCertificateIssuanceConfig.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificateissuanceconfig/AsyncDeleteCertificateIssuanceConfigLRO.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificateissuanceconfig/SyncDeleteCertificateIssuanceConfig.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificateissuanceconfig/SyncDeleteCertificateIssuanceConfigCertificateissuanceconfigname.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificateissuanceconfig/SyncDeleteCertificateIssuanceConfigString.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/AsyncDeleteCertificateMap.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/AsyncDeleteCertificateMapLRO.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMap.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapCertificatemapname.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapString.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/AsyncDeleteCertificateMapEntry.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/AsyncDeleteCertificateMapEntryLRO.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntry.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryCertificatemapentryname.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryString.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/AsyncDeleteDnsAuthorization.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/AsyncDeleteDnsAuthorizationLRO.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorization.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationDnsauthorizationname.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationString.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/AsyncGetCertificate.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificate.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificateCertificatename.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificateString.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificateissuanceconfig/AsyncGetCertificateIssuanceConfig.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificateissuanceconfig/SyncGetCertificateIssuanceConfig.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificateissuanceconfig/SyncGetCertificateIssuanceConfigCertificateissuanceconfigname.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificateissuanceconfig/SyncGetCertificateIssuanceConfigString.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/AsyncGetCertificateMap.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMap.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMapCertificatemapname.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMapString.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/AsyncGetCertificateMapEntry.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntry.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryCertificatemapentryname.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryString.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/AsyncGetDnsAuthorization.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorization.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorizationDnsauthorizationname.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorizationString.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getlocation/AsyncGetLocation.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getlocation/SyncGetLocation.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificateissuanceconfigs/AsyncListCertificateIssuanceConfigs.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificateissuanceconfigs/AsyncListCertificateIssuanceConfigsPaged.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificateissuanceconfigs/SyncListCertificateIssuanceConfigs.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificateissuanceconfigs/SyncListCertificateIssuanceConfigsLocationname.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificateissuanceconfigs/SyncListCertificateIssuanceConfigsString.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/AsyncListCertificateMapEntries.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/AsyncListCertificateMapEntriesPaged.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntries.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesCertificatemapname.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesString.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/AsyncListCertificateMaps.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/AsyncListCertificateMapsPaged.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMaps.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMapsLocationname.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMapsString.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/AsyncListCertificates.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/AsyncListCertificatesPaged.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificates.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificatesLocationname.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificatesString.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/AsyncListDnsAuthorizations.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/AsyncListDnsAuthorizationsPaged.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizations.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsLocationname.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsString.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listlocations/AsyncListLocations.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listlocations/AsyncListLocationsPaged.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listlocations/SyncListLocations.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/AsyncUpdateCertificate.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/AsyncUpdateCertificateLRO.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/SyncUpdateCertificate.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/SyncUpdateCertificateCertificateFieldmask.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/AsyncUpdateCertificateMap.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/AsyncUpdateCertificateMapLRO.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/SyncUpdateCertificateMap.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/SyncUpdateCertificateMapCertificatemapFieldmask.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/AsyncUpdateCertificateMapEntry.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/AsyncUpdateCertificateMapEntryLRO.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/SyncUpdateCertificateMapEntry.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/SyncUpdateCertificateMapEntryCertificatemapentryFieldmask.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/AsyncUpdateDnsAuthorization.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/AsyncUpdateDnsAuthorizationLRO.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/SyncUpdateDnsAuthorization.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/SyncUpdateDnsAuthorizationDnsauthorizationFieldmask.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagersettings/getcertificate/SyncGetCertificate.java (100%) rename {owl-bot-staging/java-certificate-manager/v1 => java-certificate-manager}/samples/snippets/generated/com/google/cloud/certificatemanager/v1/stub/certificatemanagerstubsettings/getcertificate/SyncGetCertificate.java (100%) create mode 100644 java-certificate-manager/samples/snippets/pom.xml delete mode 100644 owl-bot-staging/java-certificate-manager/v1/grpc-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerGrpc.java delete mode 100644 owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateIssuanceConfigProto.java delete mode 100644 owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerProto.java delete mode 100644 owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateIssuanceConfigRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateIssuanceConfigRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequestOrBuilder.java diff --git a/java-certificate-manager/README.md b/java-certificate-manager/README.md index 44cb18004899..78fe8bee4ed7 100644 --- a/java-certificate-manager/README.md +++ b/java-certificate-manager/README.md @@ -22,20 +22,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-certificate-manager - 0.5.0 + 0.5.2 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-certificate-manager:0.5.0' +implementation 'com.google.cloud:google-cloud-certificate-manager:0.5.2' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-certificate-manager" % "0.5.0" +libraryDependencies += "com.google.cloud" % "google-cloud-certificate-manager" % "0.5.2" ``` ## Authentication diff --git a/java-certificate-manager/google-cloud-certificate-manager-bom/pom.xml b/java-certificate-manager/google-cloud-certificate-manager-bom/pom.xml index b8a02cef5255..c79c8a5b1c1f 100644 --- a/java-certificate-manager/google-cloud-certificate-manager-bom/pom.xml +++ b/java-certificate-manager/google-cloud-certificate-manager-bom/pom.xml @@ -66,17 +66,17 @@ com.google.cloud google-cloud-certificate-manager - 0.5.1-SNAPSHOT + 0.5.3-SNAPSHOT com.google.api.grpc grpc-google-cloud-certificate-manager-v1 - 0.5.1-SNAPSHOT + 0.5.3-SNAPSHOT com.google.api.grpc proto-google-cloud-certificate-manager-v1 - 0.5.1-SNAPSHOT + 0.5.3-SNAPSHOT diff --git a/owl-bot-staging/java-certificate-manager/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerClient.java b/java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerClient.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerClient.java rename to java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerClient.java diff --git a/owl-bot-staging/java-certificate-manager/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerSettings.java b/java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerSettings.java similarity index 99% rename from owl-bot-staging/java-certificate-manager/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerSettings.java rename to java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerSettings.java index 7864f09f7b57..313e8c9f620f 100644 --- a/owl-bot-staging/java-certificate-manager/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerSettings.java +++ b/java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerSettings.java @@ -34,7 +34,6 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.certificatemanager.v1.stub.CertificateManagerStubSettings; diff --git a/owl-bot-staging/java-certificate-manager/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/gapic_metadata.json b/java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/gapic_metadata.json rename to java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/gapic_metadata.json diff --git a/owl-bot-staging/java-certificate-manager/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/package-info.java b/java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/package-info.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/package-info.java rename to java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/package-info.java diff --git a/owl-bot-staging/java-certificate-manager/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/CertificateManagerStub.java b/java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/CertificateManagerStub.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/CertificateManagerStub.java rename to java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/CertificateManagerStub.java diff --git a/owl-bot-staging/java-certificate-manager/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/CertificateManagerStubSettings.java b/java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/CertificateManagerStubSettings.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/CertificateManagerStubSettings.java rename to java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/CertificateManagerStubSettings.java diff --git a/owl-bot-staging/java-certificate-manager/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/GrpcCertificateManagerCallableFactory.java b/java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/GrpcCertificateManagerCallableFactory.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/GrpcCertificateManagerCallableFactory.java rename to java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/GrpcCertificateManagerCallableFactory.java diff --git a/owl-bot-staging/java-certificate-manager/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/GrpcCertificateManagerStub.java b/java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/GrpcCertificateManagerStub.java similarity index 99% rename from owl-bot-staging/java-certificate-manager/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/GrpcCertificateManagerStub.java rename to java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/GrpcCertificateManagerStub.java index 79825d9d3548..7db912b0f907 100644 --- a/owl-bot-staging/java-certificate-manager/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/GrpcCertificateManagerStub.java +++ b/java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/GrpcCertificateManagerStub.java @@ -76,7 +76,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/java-certificate-manager/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/HttpJsonCertificateManagerCallableFactory.java b/java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/HttpJsonCertificateManagerCallableFactory.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/HttpJsonCertificateManagerCallableFactory.java rename to java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/HttpJsonCertificateManagerCallableFactory.java diff --git a/owl-bot-staging/java-certificate-manager/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/HttpJsonCertificateManagerStub.java b/java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/HttpJsonCertificateManagerStub.java similarity index 99% rename from owl-bot-staging/java-certificate-manager/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/HttpJsonCertificateManagerStub.java rename to java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/HttpJsonCertificateManagerStub.java index 8367b5d7232f..9ce7e109bf9d 100644 --- a/owl-bot-staging/java-certificate-manager/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/HttpJsonCertificateManagerStub.java +++ b/java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/HttpJsonCertificateManagerStub.java @@ -35,7 +35,6 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; -import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/owl-bot-staging/java-certificate-manager/v1/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/CertificateManagerClientHttpJsonTest.java b/java-certificate-manager/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/CertificateManagerClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/CertificateManagerClientHttpJsonTest.java rename to java-certificate-manager/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/CertificateManagerClientHttpJsonTest.java diff --git a/owl-bot-staging/java-certificate-manager/v1/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/CertificateManagerClientTest.java b/java-certificate-manager/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/CertificateManagerClientTest.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/CertificateManagerClientTest.java rename to java-certificate-manager/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/CertificateManagerClientTest.java diff --git a/owl-bot-staging/java-certificate-manager/v1/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/MockCertificateManager.java b/java-certificate-manager/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/MockCertificateManager.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/MockCertificateManager.java rename to java-certificate-manager/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/MockCertificateManager.java diff --git a/owl-bot-staging/java-certificate-manager/v1/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/MockCertificateManagerImpl.java b/java-certificate-manager/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/MockCertificateManagerImpl.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/MockCertificateManagerImpl.java rename to java-certificate-manager/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/MockCertificateManagerImpl.java diff --git a/owl-bot-staging/java-certificate-manager/v1/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/MockLocations.java b/java-certificate-manager/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/MockLocations.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/MockLocations.java rename to java-certificate-manager/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/MockLocations.java diff --git a/owl-bot-staging/java-certificate-manager/v1/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/MockLocationsImpl.java b/java-certificate-manager/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/MockLocationsImpl.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/MockLocationsImpl.java rename to java-certificate-manager/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/MockLocationsImpl.java diff --git a/java-certificate-manager/grpc-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerGrpc.java b/java-certificate-manager/grpc-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerGrpc.java new file mode 100644 index 000000000000..4c463db360ad --- /dev/null +++ b/java-certificate-manager/grpc-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerGrpc.java @@ -0,0 +1,3310 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.certificatemanager.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * API Overview
+ * Certificates Manager API allows customers to see and manage all their TLS
+ * certificates.
+ * Certificates Manager API service provides methods to manage certificates,
+ * group them into collections, and create serving configuration that can be
+ * easily applied to other Cloud resources e.g. Target Proxies.
+ * Data Model
+ * The Certificates Manager service exposes the following resources:
+ * * `Certificate` which describes a single TLS certificate.
+ * * `CertificateMap` which describes a collection of certificates that can be
+ * attached to a target resource.
+ * * `CertificateMapEntry` which describes a single configuration entry that
+ * consists of a SNI and a group of certificates. It's a subresource of
+ * CertificateMap.
+ * Certificate, CertificateMap and CertificateMapEntry IDs
+ * have to match "^[a-z0-9-]{1,63}$" regexp, which means that
+ * - only lower case letters, digits, and hyphen are allowed
+ * - length of the resource ID has to be in [1,63] range.
+ * Provides methods to manage Cloud Certificate Manager entities.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/certificatemanager/v1/certificate_manager.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class CertificateManagerGrpc { + + private CertificateManagerGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.certificatemanager.v1.CertificateManager"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.ListCertificatesRequest, + com.google.cloud.certificatemanager.v1.ListCertificatesResponse> + getListCertificatesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListCertificates", + requestType = com.google.cloud.certificatemanager.v1.ListCertificatesRequest.class, + responseType = com.google.cloud.certificatemanager.v1.ListCertificatesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.ListCertificatesRequest, + com.google.cloud.certificatemanager.v1.ListCertificatesResponse> + getListCertificatesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.ListCertificatesRequest, + com.google.cloud.certificatemanager.v1.ListCertificatesResponse> + getListCertificatesMethod; + if ((getListCertificatesMethod = CertificateManagerGrpc.getListCertificatesMethod) == null) { + synchronized (CertificateManagerGrpc.class) { + if ((getListCertificatesMethod = CertificateManagerGrpc.getListCertificatesMethod) + == null) { + CertificateManagerGrpc.getListCertificatesMethod = + getListCertificatesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCertificates")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.certificatemanager.v1.ListCertificatesRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.certificatemanager.v1.ListCertificatesResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new CertificateManagerMethodDescriptorSupplier("ListCertificates")) + .build(); + } + } + } + return getListCertificatesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.GetCertificateRequest, + com.google.cloud.certificatemanager.v1.Certificate> + getGetCertificateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCertificate", + requestType = com.google.cloud.certificatemanager.v1.GetCertificateRequest.class, + responseType = com.google.cloud.certificatemanager.v1.Certificate.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.GetCertificateRequest, + com.google.cloud.certificatemanager.v1.Certificate> + getGetCertificateMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.GetCertificateRequest, + com.google.cloud.certificatemanager.v1.Certificate> + getGetCertificateMethod; + if ((getGetCertificateMethod = CertificateManagerGrpc.getGetCertificateMethod) == null) { + synchronized (CertificateManagerGrpc.class) { + if ((getGetCertificateMethod = CertificateManagerGrpc.getGetCertificateMethod) == null) { + CertificateManagerGrpc.getGetCertificateMethod = + getGetCertificateMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCertificate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.certificatemanager.v1.GetCertificateRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.certificatemanager.v1.Certificate + .getDefaultInstance())) + .setSchemaDescriptor( + new CertificateManagerMethodDescriptorSupplier("GetCertificate")) + .build(); + } + } + } + return getGetCertificateMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.CreateCertificateRequest, + com.google.longrunning.Operation> + getCreateCertificateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCertificate", + requestType = com.google.cloud.certificatemanager.v1.CreateCertificateRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.CreateCertificateRequest, + com.google.longrunning.Operation> + getCreateCertificateMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.CreateCertificateRequest, + com.google.longrunning.Operation> + getCreateCertificateMethod; + if ((getCreateCertificateMethod = CertificateManagerGrpc.getCreateCertificateMethod) == null) { + synchronized (CertificateManagerGrpc.class) { + if ((getCreateCertificateMethod = CertificateManagerGrpc.getCreateCertificateMethod) + == null) { + CertificateManagerGrpc.getCreateCertificateMethod = + getCreateCertificateMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCertificate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.certificatemanager.v1.CreateCertificateRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new CertificateManagerMethodDescriptorSupplier("CreateCertificate")) + .build(); + } + } + } + return getCreateCertificateMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.UpdateCertificateRequest, + com.google.longrunning.Operation> + getUpdateCertificateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCertificate", + requestType = com.google.cloud.certificatemanager.v1.UpdateCertificateRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.UpdateCertificateRequest, + com.google.longrunning.Operation> + getUpdateCertificateMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.UpdateCertificateRequest, + com.google.longrunning.Operation> + getUpdateCertificateMethod; + if ((getUpdateCertificateMethod = CertificateManagerGrpc.getUpdateCertificateMethod) == null) { + synchronized (CertificateManagerGrpc.class) { + if ((getUpdateCertificateMethod = CertificateManagerGrpc.getUpdateCertificateMethod) + == null) { + CertificateManagerGrpc.getUpdateCertificateMethod = + getUpdateCertificateMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCertificate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.certificatemanager.v1.UpdateCertificateRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new CertificateManagerMethodDescriptorSupplier("UpdateCertificate")) + .build(); + } + } + } + return getUpdateCertificateMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.DeleteCertificateRequest, + com.google.longrunning.Operation> + getDeleteCertificateMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteCertificate", + requestType = com.google.cloud.certificatemanager.v1.DeleteCertificateRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.DeleteCertificateRequest, + com.google.longrunning.Operation> + getDeleteCertificateMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.DeleteCertificateRequest, + com.google.longrunning.Operation> + getDeleteCertificateMethod; + if ((getDeleteCertificateMethod = CertificateManagerGrpc.getDeleteCertificateMethod) == null) { + synchronized (CertificateManagerGrpc.class) { + if ((getDeleteCertificateMethod = CertificateManagerGrpc.getDeleteCertificateMethod) + == null) { + CertificateManagerGrpc.getDeleteCertificateMethod = + getDeleteCertificateMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCertificate")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.certificatemanager.v1.DeleteCertificateRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new CertificateManagerMethodDescriptorSupplier("DeleteCertificate")) + .build(); + } + } + } + return getDeleteCertificateMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest, + com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse> + getListCertificateMapsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListCertificateMaps", + requestType = com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest.class, + responseType = com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest, + com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse> + getListCertificateMapsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest, + com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse> + getListCertificateMapsMethod; + if ((getListCertificateMapsMethod = CertificateManagerGrpc.getListCertificateMapsMethod) + == null) { + synchronized (CertificateManagerGrpc.class) { + if ((getListCertificateMapsMethod = CertificateManagerGrpc.getListCertificateMapsMethod) + == null) { + CertificateManagerGrpc.getListCertificateMapsMethod = + getListCertificateMapsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListCertificateMaps")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new CertificateManagerMethodDescriptorSupplier("ListCertificateMaps")) + .build(); + } + } + } + return getListCertificateMapsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.GetCertificateMapRequest, + com.google.cloud.certificatemanager.v1.CertificateMap> + getGetCertificateMapMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCertificateMap", + requestType = com.google.cloud.certificatemanager.v1.GetCertificateMapRequest.class, + responseType = com.google.cloud.certificatemanager.v1.CertificateMap.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.GetCertificateMapRequest, + com.google.cloud.certificatemanager.v1.CertificateMap> + getGetCertificateMapMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.GetCertificateMapRequest, + com.google.cloud.certificatemanager.v1.CertificateMap> + getGetCertificateMapMethod; + if ((getGetCertificateMapMethod = CertificateManagerGrpc.getGetCertificateMapMethod) == null) { + synchronized (CertificateManagerGrpc.class) { + if ((getGetCertificateMapMethod = CertificateManagerGrpc.getGetCertificateMapMethod) + == null) { + CertificateManagerGrpc.getGetCertificateMapMethod = + getGetCertificateMapMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCertificateMap")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.certificatemanager.v1.GetCertificateMapRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.certificatemanager.v1.CertificateMap + .getDefaultInstance())) + .setSchemaDescriptor( + new CertificateManagerMethodDescriptorSupplier("GetCertificateMap")) + .build(); + } + } + } + return getGetCertificateMapMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest, + com.google.longrunning.Operation> + getCreateCertificateMapMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCertificateMap", + requestType = com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest, + com.google.longrunning.Operation> + getCreateCertificateMapMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest, + com.google.longrunning.Operation> + getCreateCertificateMapMethod; + if ((getCreateCertificateMapMethod = CertificateManagerGrpc.getCreateCertificateMapMethod) + == null) { + synchronized (CertificateManagerGrpc.class) { + if ((getCreateCertificateMapMethod = CertificateManagerGrpc.getCreateCertificateMapMethod) + == null) { + CertificateManagerGrpc.getCreateCertificateMapMethod = + getCreateCertificateMapMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateCertificateMap")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new CertificateManagerMethodDescriptorSupplier("CreateCertificateMap")) + .build(); + } + } + } + return getCreateCertificateMapMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest, + com.google.longrunning.Operation> + getUpdateCertificateMapMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCertificateMap", + requestType = com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest, + com.google.longrunning.Operation> + getUpdateCertificateMapMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest, + com.google.longrunning.Operation> + getUpdateCertificateMapMethod; + if ((getUpdateCertificateMapMethod = CertificateManagerGrpc.getUpdateCertificateMapMethod) + == null) { + synchronized (CertificateManagerGrpc.class) { + if ((getUpdateCertificateMapMethod = CertificateManagerGrpc.getUpdateCertificateMapMethod) + == null) { + CertificateManagerGrpc.getUpdateCertificateMapMethod = + getUpdateCertificateMapMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateCertificateMap")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new CertificateManagerMethodDescriptorSupplier("UpdateCertificateMap")) + .build(); + } + } + } + return getUpdateCertificateMapMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest, + com.google.longrunning.Operation> + getDeleteCertificateMapMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteCertificateMap", + requestType = com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest, + com.google.longrunning.Operation> + getDeleteCertificateMapMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest, + com.google.longrunning.Operation> + getDeleteCertificateMapMethod; + if ((getDeleteCertificateMapMethod = CertificateManagerGrpc.getDeleteCertificateMapMethod) + == null) { + synchronized (CertificateManagerGrpc.class) { + if ((getDeleteCertificateMapMethod = CertificateManagerGrpc.getDeleteCertificateMapMethod) + == null) { + CertificateManagerGrpc.getDeleteCertificateMapMethod = + getDeleteCertificateMapMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteCertificateMap")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new CertificateManagerMethodDescriptorSupplier("DeleteCertificateMap")) + .build(); + } + } + } + return getDeleteCertificateMapMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest, + com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse> + getListCertificateMapEntriesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListCertificateMapEntries", + requestType = com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest.class, + responseType = com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest, + com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse> + getListCertificateMapEntriesMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest, + com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse> + getListCertificateMapEntriesMethod; + if ((getListCertificateMapEntriesMethod = + CertificateManagerGrpc.getListCertificateMapEntriesMethod) + == null) { + synchronized (CertificateManagerGrpc.class) { + if ((getListCertificateMapEntriesMethod = + CertificateManagerGrpc.getListCertificateMapEntriesMethod) + == null) { + CertificateManagerGrpc.getListCertificateMapEntriesMethod = + getListCertificateMapEntriesMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListCertificateMapEntries")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.certificatemanager.v1 + .ListCertificateMapEntriesRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.certificatemanager.v1 + .ListCertificateMapEntriesResponse.getDefaultInstance())) + .setSchemaDescriptor( + new CertificateManagerMethodDescriptorSupplier( + "ListCertificateMapEntries")) + .build(); + } + } + } + return getListCertificateMapEntriesMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest, + com.google.cloud.certificatemanager.v1.CertificateMapEntry> + getGetCertificateMapEntryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCertificateMapEntry", + requestType = com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest.class, + responseType = com.google.cloud.certificatemanager.v1.CertificateMapEntry.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest, + com.google.cloud.certificatemanager.v1.CertificateMapEntry> + getGetCertificateMapEntryMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest, + com.google.cloud.certificatemanager.v1.CertificateMapEntry> + getGetCertificateMapEntryMethod; + if ((getGetCertificateMapEntryMethod = CertificateManagerGrpc.getGetCertificateMapEntryMethod) + == null) { + synchronized (CertificateManagerGrpc.class) { + if ((getGetCertificateMapEntryMethod = + CertificateManagerGrpc.getGetCertificateMapEntryMethod) + == null) { + CertificateManagerGrpc.getGetCertificateMapEntryMethod = + getGetCertificateMapEntryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetCertificateMapEntry")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.certificatemanager.v1.CertificateMapEntry + .getDefaultInstance())) + .setSchemaDescriptor( + new CertificateManagerMethodDescriptorSupplier("GetCertificateMapEntry")) + .build(); + } + } + } + return getGetCertificateMapEntryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest, + com.google.longrunning.Operation> + getCreateCertificateMapEntryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCertificateMapEntry", + requestType = com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest, + com.google.longrunning.Operation> + getCreateCertificateMapEntryMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest, + com.google.longrunning.Operation> + getCreateCertificateMapEntryMethod; + if ((getCreateCertificateMapEntryMethod = + CertificateManagerGrpc.getCreateCertificateMapEntryMethod) + == null) { + synchronized (CertificateManagerGrpc.class) { + if ((getCreateCertificateMapEntryMethod = + CertificateManagerGrpc.getCreateCertificateMapEntryMethod) + == null) { + CertificateManagerGrpc.getCreateCertificateMapEntryMethod = + getCreateCertificateMapEntryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateCertificateMapEntry")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.certificatemanager.v1 + .CreateCertificateMapEntryRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new CertificateManagerMethodDescriptorSupplier( + "CreateCertificateMapEntry")) + .build(); + } + } + } + return getCreateCertificateMapEntryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest, + com.google.longrunning.Operation> + getUpdateCertificateMapEntryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateCertificateMapEntry", + requestType = com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest, + com.google.longrunning.Operation> + getUpdateCertificateMapEntryMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest, + com.google.longrunning.Operation> + getUpdateCertificateMapEntryMethod; + if ((getUpdateCertificateMapEntryMethod = + CertificateManagerGrpc.getUpdateCertificateMapEntryMethod) + == null) { + synchronized (CertificateManagerGrpc.class) { + if ((getUpdateCertificateMapEntryMethod = + CertificateManagerGrpc.getUpdateCertificateMapEntryMethod) + == null) { + CertificateManagerGrpc.getUpdateCertificateMapEntryMethod = + getUpdateCertificateMapEntryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateCertificateMapEntry")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.certificatemanager.v1 + .UpdateCertificateMapEntryRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new CertificateManagerMethodDescriptorSupplier( + "UpdateCertificateMapEntry")) + .build(); + } + } + } + return getUpdateCertificateMapEntryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest, + com.google.longrunning.Operation> + getDeleteCertificateMapEntryMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteCertificateMapEntry", + requestType = com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest, + com.google.longrunning.Operation> + getDeleteCertificateMapEntryMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest, + com.google.longrunning.Operation> + getDeleteCertificateMapEntryMethod; + if ((getDeleteCertificateMapEntryMethod = + CertificateManagerGrpc.getDeleteCertificateMapEntryMethod) + == null) { + synchronized (CertificateManagerGrpc.class) { + if ((getDeleteCertificateMapEntryMethod = + CertificateManagerGrpc.getDeleteCertificateMapEntryMethod) + == null) { + CertificateManagerGrpc.getDeleteCertificateMapEntryMethod = + getDeleteCertificateMapEntryMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteCertificateMapEntry")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.certificatemanager.v1 + .DeleteCertificateMapEntryRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new CertificateManagerMethodDescriptorSupplier( + "DeleteCertificateMapEntry")) + .build(); + } + } + } + return getDeleteCertificateMapEntryMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest, + com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse> + getListDnsAuthorizationsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListDnsAuthorizations", + requestType = com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest.class, + responseType = com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest, + com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse> + getListDnsAuthorizationsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest, + com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse> + getListDnsAuthorizationsMethod; + if ((getListDnsAuthorizationsMethod = CertificateManagerGrpc.getListDnsAuthorizationsMethod) + == null) { + synchronized (CertificateManagerGrpc.class) { + if ((getListDnsAuthorizationsMethod = CertificateManagerGrpc.getListDnsAuthorizationsMethod) + == null) { + CertificateManagerGrpc.getListDnsAuthorizationsMethod = + getListDnsAuthorizationsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListDnsAuthorizations")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse + .getDefaultInstance())) + .setSchemaDescriptor( + new CertificateManagerMethodDescriptorSupplier("ListDnsAuthorizations")) + .build(); + } + } + } + return getListDnsAuthorizationsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest, + com.google.cloud.certificatemanager.v1.DnsAuthorization> + getGetDnsAuthorizationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetDnsAuthorization", + requestType = com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest.class, + responseType = com.google.cloud.certificatemanager.v1.DnsAuthorization.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest, + com.google.cloud.certificatemanager.v1.DnsAuthorization> + getGetDnsAuthorizationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest, + com.google.cloud.certificatemanager.v1.DnsAuthorization> + getGetDnsAuthorizationMethod; + if ((getGetDnsAuthorizationMethod = CertificateManagerGrpc.getGetDnsAuthorizationMethod) + == null) { + synchronized (CertificateManagerGrpc.class) { + if ((getGetDnsAuthorizationMethod = CertificateManagerGrpc.getGetDnsAuthorizationMethod) + == null) { + CertificateManagerGrpc.getGetDnsAuthorizationMethod = + getGetDnsAuthorizationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetDnsAuthorization")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.certificatemanager.v1.DnsAuthorization + .getDefaultInstance())) + .setSchemaDescriptor( + new CertificateManagerMethodDescriptorSupplier("GetDnsAuthorization")) + .build(); + } + } + } + return getGetDnsAuthorizationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest, + com.google.longrunning.Operation> + getCreateDnsAuthorizationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateDnsAuthorization", + requestType = com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest, + com.google.longrunning.Operation> + getCreateDnsAuthorizationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest, + com.google.longrunning.Operation> + getCreateDnsAuthorizationMethod; + if ((getCreateDnsAuthorizationMethod = CertificateManagerGrpc.getCreateDnsAuthorizationMethod) + == null) { + synchronized (CertificateManagerGrpc.class) { + if ((getCreateDnsAuthorizationMethod = + CertificateManagerGrpc.getCreateDnsAuthorizationMethod) + == null) { + CertificateManagerGrpc.getCreateDnsAuthorizationMethod = + getCreateDnsAuthorizationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateDnsAuthorization")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new CertificateManagerMethodDescriptorSupplier("CreateDnsAuthorization")) + .build(); + } + } + } + return getCreateDnsAuthorizationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest, + com.google.longrunning.Operation> + getUpdateDnsAuthorizationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "UpdateDnsAuthorization", + requestType = com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest, + com.google.longrunning.Operation> + getUpdateDnsAuthorizationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest, + com.google.longrunning.Operation> + getUpdateDnsAuthorizationMethod; + if ((getUpdateDnsAuthorizationMethod = CertificateManagerGrpc.getUpdateDnsAuthorizationMethod) + == null) { + synchronized (CertificateManagerGrpc.class) { + if ((getUpdateDnsAuthorizationMethod = + CertificateManagerGrpc.getUpdateDnsAuthorizationMethod) + == null) { + CertificateManagerGrpc.getUpdateDnsAuthorizationMethod = + getUpdateDnsAuthorizationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "UpdateDnsAuthorization")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new CertificateManagerMethodDescriptorSupplier("UpdateDnsAuthorization")) + .build(); + } + } + } + return getUpdateDnsAuthorizationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest, + com.google.longrunning.Operation> + getDeleteDnsAuthorizationMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteDnsAuthorization", + requestType = com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest, + com.google.longrunning.Operation> + getDeleteDnsAuthorizationMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest, + com.google.longrunning.Operation> + getDeleteDnsAuthorizationMethod; + if ((getDeleteDnsAuthorizationMethod = CertificateManagerGrpc.getDeleteDnsAuthorizationMethod) + == null) { + synchronized (CertificateManagerGrpc.class) { + if ((getDeleteDnsAuthorizationMethod = + CertificateManagerGrpc.getDeleteDnsAuthorizationMethod) + == null) { + CertificateManagerGrpc.getDeleteDnsAuthorizationMethod = + getDeleteDnsAuthorizationMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteDnsAuthorization")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new CertificateManagerMethodDescriptorSupplier("DeleteDnsAuthorization")) + .build(); + } + } + } + return getDeleteDnsAuthorizationMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest, + com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse> + getListCertificateIssuanceConfigsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListCertificateIssuanceConfigs", + requestType = + com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest.class, + responseType = + com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest, + com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse> + getListCertificateIssuanceConfigsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest, + com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse> + getListCertificateIssuanceConfigsMethod; + if ((getListCertificateIssuanceConfigsMethod = + CertificateManagerGrpc.getListCertificateIssuanceConfigsMethod) + == null) { + synchronized (CertificateManagerGrpc.class) { + if ((getListCertificateIssuanceConfigsMethod = + CertificateManagerGrpc.getListCertificateIssuanceConfigsMethod) + == null) { + CertificateManagerGrpc.getListCertificateIssuanceConfigsMethod = + getListCertificateIssuanceConfigsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "ListCertificateIssuanceConfigs")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.certificatemanager.v1 + .ListCertificateIssuanceConfigsRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.certificatemanager.v1 + .ListCertificateIssuanceConfigsResponse.getDefaultInstance())) + .setSchemaDescriptor( + new CertificateManagerMethodDescriptorSupplier( + "ListCertificateIssuanceConfigs")) + .build(); + } + } + } + return getListCertificateIssuanceConfigsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig> + getGetCertificateIssuanceConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetCertificateIssuanceConfig", + requestType = + com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest.class, + responseType = com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig> + getGetCertificateIssuanceConfigMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig> + getGetCertificateIssuanceConfigMethod; + if ((getGetCertificateIssuanceConfigMethod = + CertificateManagerGrpc.getGetCertificateIssuanceConfigMethod) + == null) { + synchronized (CertificateManagerGrpc.class) { + if ((getGetCertificateIssuanceConfigMethod = + CertificateManagerGrpc.getGetCertificateIssuanceConfigMethod) + == null) { + CertificateManagerGrpc.getGetCertificateIssuanceConfigMethod = + getGetCertificateIssuanceConfigMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "GetCertificateIssuanceConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.certificatemanager.v1 + .GetCertificateIssuanceConfigRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .getDefaultInstance())) + .setSchemaDescriptor( + new CertificateManagerMethodDescriptorSupplier( + "GetCertificateIssuanceConfig")) + .build(); + } + } + } + return getGetCertificateIssuanceConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest, + com.google.longrunning.Operation> + getCreateCertificateIssuanceConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateCertificateIssuanceConfig", + requestType = + com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest, + com.google.longrunning.Operation> + getCreateCertificateIssuanceConfigMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest, + com.google.longrunning.Operation> + getCreateCertificateIssuanceConfigMethod; + if ((getCreateCertificateIssuanceConfigMethod = + CertificateManagerGrpc.getCreateCertificateIssuanceConfigMethod) + == null) { + synchronized (CertificateManagerGrpc.class) { + if ((getCreateCertificateIssuanceConfigMethod = + CertificateManagerGrpc.getCreateCertificateIssuanceConfigMethod) + == null) { + CertificateManagerGrpc.getCreateCertificateIssuanceConfigMethod = + getCreateCertificateIssuanceConfigMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "CreateCertificateIssuanceConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.certificatemanager.v1 + .CreateCertificateIssuanceConfigRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new CertificateManagerMethodDescriptorSupplier( + "CreateCertificateIssuanceConfig")) + .build(); + } + } + } + return getCreateCertificateIssuanceConfigMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest, + com.google.longrunning.Operation> + getDeleteCertificateIssuanceConfigMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteCertificateIssuanceConfig", + requestType = + com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest, + com.google.longrunning.Operation> + getDeleteCertificateIssuanceConfigMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest, + com.google.longrunning.Operation> + getDeleteCertificateIssuanceConfigMethod; + if ((getDeleteCertificateIssuanceConfigMethod = + CertificateManagerGrpc.getDeleteCertificateIssuanceConfigMethod) + == null) { + synchronized (CertificateManagerGrpc.class) { + if ((getDeleteCertificateIssuanceConfigMethod = + CertificateManagerGrpc.getDeleteCertificateIssuanceConfigMethod) + == null) { + CertificateManagerGrpc.getDeleteCertificateIssuanceConfigMethod = + getDeleteCertificateIssuanceConfigMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName( + generateFullMethodName(SERVICE_NAME, "DeleteCertificateIssuanceConfig")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.certificatemanager.v1 + .DeleteCertificateIssuanceConfigRequest.getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor( + new CertificateManagerMethodDescriptorSupplier( + "DeleteCertificateIssuanceConfig")) + .build(); + } + } + } + return getDeleteCertificateIssuanceConfigMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static CertificateManagerStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CertificateManagerStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CertificateManagerStub(channel, callOptions); + } + }; + return CertificateManagerStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static CertificateManagerBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CertificateManagerBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CertificateManagerBlockingStub(channel, callOptions); + } + }; + return CertificateManagerBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static CertificateManagerFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public CertificateManagerFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CertificateManagerFutureStub(channel, callOptions); + } + }; + return CertificateManagerFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * API Overview
+   * Certificates Manager API allows customers to see and manage all their TLS
+   * certificates.
+   * Certificates Manager API service provides methods to manage certificates,
+   * group them into collections, and create serving configuration that can be
+   * easily applied to other Cloud resources e.g. Target Proxies.
+   * Data Model
+   * The Certificates Manager service exposes the following resources:
+   * * `Certificate` which describes a single TLS certificate.
+   * * `CertificateMap` which describes a collection of certificates that can be
+   * attached to a target resource.
+   * * `CertificateMapEntry` which describes a single configuration entry that
+   * consists of a SNI and a group of certificates. It's a subresource of
+   * CertificateMap.
+   * Certificate, CertificateMap and CertificateMapEntry IDs
+   * have to match "^[a-z0-9-]{1,63}$" regexp, which means that
+   * - only lower case letters, digits, and hyphen are allowed
+   * - length of the resource ID has to be in [1,63] range.
+   * Provides methods to manage Cloud Certificate Manager entities.
+   * 
+ */ + public abstract static class CertificateManagerImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * Lists Certificates in a given project and location.
+     * 
+ */ + public void listCertificates( + com.google.cloud.certificatemanager.v1.ListCertificatesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListCertificatesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Certificate.
+     * 
+ */ + public void getCertificate( + com.google.cloud.certificatemanager.v1.GetCertificateRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetCertificateMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new Certificate in a given project and location.
+     * 
+ */ + public void createCertificate( + com.google.cloud.certificatemanager.v1.CreateCertificateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateCertificateMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a Certificate.
+     * 
+ */ + public void updateCertificate( + com.google.cloud.certificatemanager.v1.UpdateCertificateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateCertificateMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single Certificate.
+     * 
+ */ + public void deleteCertificate( + com.google.cloud.certificatemanager.v1.DeleteCertificateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteCertificateMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists CertificateMaps in a given project and location.
+     * 
+ */ + public void listCertificateMaps( + com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListCertificateMapsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single CertificateMap.
+     * 
+ */ + public void getCertificateMap( + com.google.cloud.certificatemanager.v1.GetCertificateMapRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetCertificateMapMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new CertificateMap in a given project and location.
+     * 
+ */ + public void createCertificateMap( + com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateCertificateMapMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a CertificateMap.
+     * 
+ */ + public void updateCertificateMap( + com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateCertificateMapMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single CertificateMap. A Certificate Map can't be deleted
+     * if it contains Certificate Map Entries. Remove all the entries from
+     * the map before calling this method.
+     * 
+ */ + public void deleteCertificateMap( + com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteCertificateMapMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists CertificateMapEntries in a given project and location.
+     * 
+ */ + public void listCertificateMapEntries( + com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListCertificateMapEntriesMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single CertificateMapEntry.
+     * 
+ */ + public void getCertificateMapEntry( + com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetCertificateMapEntryMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new CertificateMapEntry in a given project and location.
+     * 
+ */ + public void createCertificateMapEntry( + com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateCertificateMapEntryMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a CertificateMapEntry.
+     * 
+ */ + public void updateCertificateMapEntry( + com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateCertificateMapEntryMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single CertificateMapEntry.
+     * 
+ */ + public void deleteCertificateMapEntry( + com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteCertificateMapEntryMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists DnsAuthorizations in a given project and location.
+     * 
+ */ + public void listDnsAuthorizations( + com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListDnsAuthorizationsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single DnsAuthorization.
+     * 
+ */ + public void getDnsAuthorization( + com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetDnsAuthorizationMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new DnsAuthorization in a given project and location.
+     * 
+ */ + public void createDnsAuthorization( + com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateDnsAuthorizationMethod(), responseObserver); + } + + /** + * + * + *
+     * Updates a DnsAuthorization.
+     * 
+ */ + public void updateDnsAuthorization( + com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getUpdateDnsAuthorizationMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single DnsAuthorization.
+     * 
+ */ + public void deleteDnsAuthorization( + com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteDnsAuthorizationMethod(), responseObserver); + } + + /** + * + * + *
+     * Lists CertificateIssuanceConfigs in a given project and location.
+     * 
+ */ + public void listCertificateIssuanceConfigs( + com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListCertificateIssuanceConfigsMethod(), responseObserver); + } + + /** + * + * + *
+     * Gets details of a single CertificateIssuanceConfig.
+     * 
+ */ + public void getCertificateIssuanceConfig( + com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetCertificateIssuanceConfigMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new CertificateIssuanceConfig in a given project and location.
+     * 
+ */ + public void createCertificateIssuanceConfig( + com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateCertificateIssuanceConfigMethod(), responseObserver); + } + + /** + * + * + *
+     * Deletes a single CertificateIssuanceConfig.
+     * 
+ */ + public void deleteCertificateIssuanceConfig( + com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getDeleteCertificateIssuanceConfigMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListCertificatesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.certificatemanager.v1.ListCertificatesRequest, + com.google.cloud.certificatemanager.v1.ListCertificatesResponse>( + this, METHODID_LIST_CERTIFICATES))) + .addMethod( + getGetCertificateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.certificatemanager.v1.GetCertificateRequest, + com.google.cloud.certificatemanager.v1.Certificate>( + this, METHODID_GET_CERTIFICATE))) + .addMethod( + getCreateCertificateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.certificatemanager.v1.CreateCertificateRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_CERTIFICATE))) + .addMethod( + getUpdateCertificateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.certificatemanager.v1.UpdateCertificateRequest, + com.google.longrunning.Operation>(this, METHODID_UPDATE_CERTIFICATE))) + .addMethod( + getDeleteCertificateMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.certificatemanager.v1.DeleteCertificateRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_CERTIFICATE))) + .addMethod( + getListCertificateMapsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest, + com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse>( + this, METHODID_LIST_CERTIFICATE_MAPS))) + .addMethod( + getGetCertificateMapMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.certificatemanager.v1.GetCertificateMapRequest, + com.google.cloud.certificatemanager.v1.CertificateMap>( + this, METHODID_GET_CERTIFICATE_MAP))) + .addMethod( + getCreateCertificateMapMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_CERTIFICATE_MAP))) + .addMethod( + getUpdateCertificateMapMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest, + com.google.longrunning.Operation>(this, METHODID_UPDATE_CERTIFICATE_MAP))) + .addMethod( + getDeleteCertificateMapMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_CERTIFICATE_MAP))) + .addMethod( + getListCertificateMapEntriesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest, + com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse>( + this, METHODID_LIST_CERTIFICATE_MAP_ENTRIES))) + .addMethod( + getGetCertificateMapEntryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest, + com.google.cloud.certificatemanager.v1.CertificateMapEntry>( + this, METHODID_GET_CERTIFICATE_MAP_ENTRY))) + .addMethod( + getCreateCertificateMapEntryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_CERTIFICATE_MAP_ENTRY))) + .addMethod( + getUpdateCertificateMapEntryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest, + com.google.longrunning.Operation>( + this, METHODID_UPDATE_CERTIFICATE_MAP_ENTRY))) + .addMethod( + getDeleteCertificateMapEntryMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_CERTIFICATE_MAP_ENTRY))) + .addMethod( + getListDnsAuthorizationsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest, + com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse>( + this, METHODID_LIST_DNS_AUTHORIZATIONS))) + .addMethod( + getGetDnsAuthorizationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest, + com.google.cloud.certificatemanager.v1.DnsAuthorization>( + this, METHODID_GET_DNS_AUTHORIZATION))) + .addMethod( + getCreateDnsAuthorizationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest, + com.google.longrunning.Operation>(this, METHODID_CREATE_DNS_AUTHORIZATION))) + .addMethod( + getUpdateDnsAuthorizationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest, + com.google.longrunning.Operation>(this, METHODID_UPDATE_DNS_AUTHORIZATION))) + .addMethod( + getDeleteDnsAuthorizationMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest, + com.google.longrunning.Operation>(this, METHODID_DELETE_DNS_AUTHORIZATION))) + .addMethod( + getListCertificateIssuanceConfigsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest, + com.google.cloud.certificatemanager.v1 + .ListCertificateIssuanceConfigsResponse>( + this, METHODID_LIST_CERTIFICATE_ISSUANCE_CONFIGS))) + .addMethod( + getGetCertificateIssuanceConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig>( + this, METHODID_GET_CERTIFICATE_ISSUANCE_CONFIG))) + .addMethod( + getCreateCertificateIssuanceConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest, + com.google.longrunning.Operation>( + this, METHODID_CREATE_CERTIFICATE_ISSUANCE_CONFIG))) + .addMethod( + getDeleteCertificateIssuanceConfigMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest, + com.google.longrunning.Operation>( + this, METHODID_DELETE_CERTIFICATE_ISSUANCE_CONFIG))) + .build(); + } + } + + /** + * + * + *
+   * API Overview
+   * Certificates Manager API allows customers to see and manage all their TLS
+   * certificates.
+   * Certificates Manager API service provides methods to manage certificates,
+   * group them into collections, and create serving configuration that can be
+   * easily applied to other Cloud resources e.g. Target Proxies.
+   * Data Model
+   * The Certificates Manager service exposes the following resources:
+   * * `Certificate` which describes a single TLS certificate.
+   * * `CertificateMap` which describes a collection of certificates that can be
+   * attached to a target resource.
+   * * `CertificateMapEntry` which describes a single configuration entry that
+   * consists of a SNI and a group of certificates. It's a subresource of
+   * CertificateMap.
+   * Certificate, CertificateMap and CertificateMapEntry IDs
+   * have to match "^[a-z0-9-]{1,63}$" regexp, which means that
+   * - only lower case letters, digits, and hyphen are allowed
+   * - length of the resource ID has to be in [1,63] range.
+   * Provides methods to manage Cloud Certificate Manager entities.
+   * 
+ */ + public static final class CertificateManagerStub + extends io.grpc.stub.AbstractAsyncStub { + private CertificateManagerStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CertificateManagerStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CertificateManagerStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists Certificates in a given project and location.
+     * 
+ */ + public void listCertificates( + com.google.cloud.certificatemanager.v1.ListCertificatesRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListCertificatesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single Certificate.
+     * 
+ */ + public void getCertificate( + com.google.cloud.certificatemanager.v1.GetCertificateRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetCertificateMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new Certificate in a given project and location.
+     * 
+ */ + public void createCertificate( + com.google.cloud.certificatemanager.v1.CreateCertificateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateCertificateMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a Certificate.
+     * 
+ */ + public void updateCertificate( + com.google.cloud.certificatemanager.v1.UpdateCertificateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateCertificateMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single Certificate.
+     * 
+ */ + public void deleteCertificate( + com.google.cloud.certificatemanager.v1.DeleteCertificateRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteCertificateMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists CertificateMaps in a given project and location.
+     * 
+ */ + public void listCertificateMaps( + com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListCertificateMapsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single CertificateMap.
+     * 
+ */ + public void getCertificateMap( + com.google.cloud.certificatemanager.v1.GetCertificateMapRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetCertificateMapMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new CertificateMap in a given project and location.
+     * 
+ */ + public void createCertificateMap( + com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateCertificateMapMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a CertificateMap.
+     * 
+ */ + public void updateCertificateMap( + com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateCertificateMapMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single CertificateMap. A Certificate Map can't be deleted
+     * if it contains Certificate Map Entries. Remove all the entries from
+     * the map before calling this method.
+     * 
+ */ + public void deleteCertificateMap( + com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteCertificateMapMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists CertificateMapEntries in a given project and location.
+     * 
+ */ + public void listCertificateMapEntries( + com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListCertificateMapEntriesMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single CertificateMapEntry.
+     * 
+ */ + public void getCertificateMapEntry( + com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetCertificateMapEntryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new CertificateMapEntry in a given project and location.
+     * 
+ */ + public void createCertificateMapEntry( + com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateCertificateMapEntryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a CertificateMapEntry.
+     * 
+ */ + public void updateCertificateMapEntry( + com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateCertificateMapEntryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single CertificateMapEntry.
+     * 
+ */ + public void deleteCertificateMapEntry( + com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteCertificateMapEntryMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists DnsAuthorizations in a given project and location.
+     * 
+ */ + public void listDnsAuthorizations( + com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListDnsAuthorizationsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single DnsAuthorization.
+     * 
+ */ + public void getDnsAuthorization( + com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetDnsAuthorizationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new DnsAuthorization in a given project and location.
+     * 
+ */ + public void createDnsAuthorization( + com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateDnsAuthorizationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Updates a DnsAuthorization.
+     * 
+ */ + public void updateDnsAuthorization( + com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getUpdateDnsAuthorizationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single DnsAuthorization.
+     * 
+ */ + public void deleteDnsAuthorization( + com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteDnsAuthorizationMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Lists CertificateIssuanceConfigs in a given project and location.
+     * 
+ */ + public void listCertificateIssuanceConfigs( + com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListCertificateIssuanceConfigsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Gets details of a single CertificateIssuanceConfig.
+     * 
+ */ + public void getCertificateIssuanceConfig( + com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetCertificateIssuanceConfigMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new CertificateIssuanceConfig in a given project and location.
+     * 
+ */ + public void createCertificateIssuanceConfig( + com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateCertificateIssuanceConfigMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Deletes a single CertificateIssuanceConfig.
+     * 
+ */ + public void deleteCertificateIssuanceConfig( + com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteCertificateIssuanceConfigMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * + * + *
+   * API Overview
+   * Certificates Manager API allows customers to see and manage all their TLS
+   * certificates.
+   * Certificates Manager API service provides methods to manage certificates,
+   * group them into collections, and create serving configuration that can be
+   * easily applied to other Cloud resources e.g. Target Proxies.
+   * Data Model
+   * The Certificates Manager service exposes the following resources:
+   * * `Certificate` which describes a single TLS certificate.
+   * * `CertificateMap` which describes a collection of certificates that can be
+   * attached to a target resource.
+   * * `CertificateMapEntry` which describes a single configuration entry that
+   * consists of a SNI and a group of certificates. It's a subresource of
+   * CertificateMap.
+   * Certificate, CertificateMap and CertificateMapEntry IDs
+   * have to match "^[a-z0-9-]{1,63}$" regexp, which means that
+   * - only lower case letters, digits, and hyphen are allowed
+   * - length of the resource ID has to be in [1,63] range.
+   * Provides methods to manage Cloud Certificate Manager entities.
+   * 
+ */ + public static final class CertificateManagerBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private CertificateManagerBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CertificateManagerBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CertificateManagerBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists Certificates in a given project and location.
+     * 
+ */ + public com.google.cloud.certificatemanager.v1.ListCertificatesResponse listCertificates( + com.google.cloud.certificatemanager.v1.ListCertificatesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListCertificatesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single Certificate.
+     * 
+ */ + public com.google.cloud.certificatemanager.v1.Certificate getCertificate( + com.google.cloud.certificatemanager.v1.GetCertificateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetCertificateMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new Certificate in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createCertificate( + com.google.cloud.certificatemanager.v1.CreateCertificateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateCertificateMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a Certificate.
+     * 
+ */ + public com.google.longrunning.Operation updateCertificate( + com.google.cloud.certificatemanager.v1.UpdateCertificateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateCertificateMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single Certificate.
+     * 
+ */ + public com.google.longrunning.Operation deleteCertificate( + com.google.cloud.certificatemanager.v1.DeleteCertificateRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteCertificateMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists CertificateMaps in a given project and location.
+     * 
+ */ + public com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse listCertificateMaps( + com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListCertificateMapsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single CertificateMap.
+     * 
+ */ + public com.google.cloud.certificatemanager.v1.CertificateMap getCertificateMap( + com.google.cloud.certificatemanager.v1.GetCertificateMapRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetCertificateMapMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new CertificateMap in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createCertificateMap( + com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateCertificateMapMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a CertificateMap.
+     * 
+ */ + public com.google.longrunning.Operation updateCertificateMap( + com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateCertificateMapMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single CertificateMap. A Certificate Map can't be deleted
+     * if it contains Certificate Map Entries. Remove all the entries from
+     * the map before calling this method.
+     * 
+ */ + public com.google.longrunning.Operation deleteCertificateMap( + com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteCertificateMapMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists CertificateMapEntries in a given project and location.
+     * 
+ */ + public com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse + listCertificateMapEntries( + com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListCertificateMapEntriesMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single CertificateMapEntry.
+     * 
+ */ + public com.google.cloud.certificatemanager.v1.CertificateMapEntry getCertificateMapEntry( + com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetCertificateMapEntryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new CertificateMapEntry in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createCertificateMapEntry( + com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateCertificateMapEntryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a CertificateMapEntry.
+     * 
+ */ + public com.google.longrunning.Operation updateCertificateMapEntry( + com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateCertificateMapEntryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single CertificateMapEntry.
+     * 
+ */ + public com.google.longrunning.Operation deleteCertificateMapEntry( + com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteCertificateMapEntryMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists DnsAuthorizations in a given project and location.
+     * 
+ */ + public com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse + listDnsAuthorizations( + com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListDnsAuthorizationsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single DnsAuthorization.
+     * 
+ */ + public com.google.cloud.certificatemanager.v1.DnsAuthorization getDnsAuthorization( + com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetDnsAuthorizationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new DnsAuthorization in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createDnsAuthorization( + com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateDnsAuthorizationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates a DnsAuthorization.
+     * 
+ */ + public com.google.longrunning.Operation updateDnsAuthorization( + com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateDnsAuthorizationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single DnsAuthorization.
+     * 
+ */ + public com.google.longrunning.Operation deleteDnsAuthorization( + com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteDnsAuthorizationMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Lists CertificateIssuanceConfigs in a given project and location.
+     * 
+ */ + public com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse + listCertificateIssuanceConfigs( + com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListCertificateIssuanceConfigsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets details of a single CertificateIssuanceConfig.
+     * 
+ */ + public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + getCertificateIssuanceConfig( + com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetCertificateIssuanceConfigMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new CertificateIssuanceConfig in a given project and location.
+     * 
+ */ + public com.google.longrunning.Operation createCertificateIssuanceConfig( + com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateCertificateIssuanceConfigMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a single CertificateIssuanceConfig.
+     * 
+ */ + public com.google.longrunning.Operation deleteCertificateIssuanceConfig( + com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteCertificateIssuanceConfigMethod(), getCallOptions(), request); + } + } + + /** + * + * + *
+   * API Overview
+   * Certificates Manager API allows customers to see and manage all their TLS
+   * certificates.
+   * Certificates Manager API service provides methods to manage certificates,
+   * group them into collections, and create serving configuration that can be
+   * easily applied to other Cloud resources e.g. Target Proxies.
+   * Data Model
+   * The Certificates Manager service exposes the following resources:
+   * * `Certificate` which describes a single TLS certificate.
+   * * `CertificateMap` which describes a collection of certificates that can be
+   * attached to a target resource.
+   * * `CertificateMapEntry` which describes a single configuration entry that
+   * consists of a SNI and a group of certificates. It's a subresource of
+   * CertificateMap.
+   * Certificate, CertificateMap and CertificateMapEntry IDs
+   * have to match "^[a-z0-9-]{1,63}$" regexp, which means that
+   * - only lower case letters, digits, and hyphen are allowed
+   * - length of the resource ID has to be in [1,63] range.
+   * Provides methods to manage Cloud Certificate Manager entities.
+   * 
+ */ + public static final class CertificateManagerFutureStub + extends io.grpc.stub.AbstractFutureStub { + private CertificateManagerFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected CertificateManagerFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new CertificateManagerFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Lists Certificates in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.certificatemanager.v1.ListCertificatesResponse> + listCertificates(com.google.cloud.certificatemanager.v1.ListCertificatesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListCertificatesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single Certificate.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.certificatemanager.v1.Certificate> + getCertificate(com.google.cloud.certificatemanager.v1.GetCertificateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetCertificateMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new Certificate in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createCertificate(com.google.cloud.certificatemanager.v1.CreateCertificateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateCertificateMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a Certificate.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateCertificate(com.google.cloud.certificatemanager.v1.UpdateCertificateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateCertificateMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single Certificate.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteCertificate(com.google.cloud.certificatemanager.v1.DeleteCertificateRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteCertificateMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists CertificateMaps in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse> + listCertificateMaps( + com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListCertificateMapsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single CertificateMap.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.certificatemanager.v1.CertificateMap> + getCertificateMap(com.google.cloud.certificatemanager.v1.GetCertificateMapRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetCertificateMapMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new CertificateMap in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createCertificateMap( + com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateCertificateMapMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a CertificateMap.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateCertificateMap( + com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateCertificateMapMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single CertificateMap. A Certificate Map can't be deleted
+     * if it contains Certificate Map Entries. Remove all the entries from
+     * the map before calling this method.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteCertificateMap( + com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteCertificateMapMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists CertificateMapEntries in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse> + listCertificateMapEntries( + com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListCertificateMapEntriesMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single CertificateMapEntry.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.certificatemanager.v1.CertificateMapEntry> + getCertificateMapEntry( + com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetCertificateMapEntryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new CertificateMapEntry in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createCertificateMapEntry( + com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateCertificateMapEntryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a CertificateMapEntry.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateCertificateMapEntry( + com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateCertificateMapEntryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single CertificateMapEntry.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteCertificateMapEntry( + com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteCertificateMapEntryMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists DnsAuthorizations in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse> + listDnsAuthorizations( + com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListDnsAuthorizationsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Gets details of a single DnsAuthorization.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.certificatemanager.v1.DnsAuthorization> + getDnsAuthorization( + com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetDnsAuthorizationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new DnsAuthorization in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createDnsAuthorization( + com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateDnsAuthorizationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Updates a DnsAuthorization.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + updateDnsAuthorization( + com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getUpdateDnsAuthorizationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Deletes a single DnsAuthorization.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteDnsAuthorization( + com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteDnsAuthorizationMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Lists CertificateIssuanceConfigs in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse> + listCertificateIssuanceConfigs( + com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListCertificateIssuanceConfigsMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Gets details of a single CertificateIssuanceConfig.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig> + getCertificateIssuanceConfig( + com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetCertificateIssuanceConfigMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new CertificateIssuanceConfig in a given project and location.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + createCertificateIssuanceConfig( + com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateCertificateIssuanceConfigMethod(), getCallOptions()), + request); + } + + /** + * + * + *
+     * Deletes a single CertificateIssuanceConfig.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture + deleteCertificateIssuanceConfig( + com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteCertificateIssuanceConfigMethod(), getCallOptions()), + request); + } + } + + private static final int METHODID_LIST_CERTIFICATES = 0; + private static final int METHODID_GET_CERTIFICATE = 1; + private static final int METHODID_CREATE_CERTIFICATE = 2; + private static final int METHODID_UPDATE_CERTIFICATE = 3; + private static final int METHODID_DELETE_CERTIFICATE = 4; + private static final int METHODID_LIST_CERTIFICATE_MAPS = 5; + private static final int METHODID_GET_CERTIFICATE_MAP = 6; + private static final int METHODID_CREATE_CERTIFICATE_MAP = 7; + private static final int METHODID_UPDATE_CERTIFICATE_MAP = 8; + private static final int METHODID_DELETE_CERTIFICATE_MAP = 9; + private static final int METHODID_LIST_CERTIFICATE_MAP_ENTRIES = 10; + private static final int METHODID_GET_CERTIFICATE_MAP_ENTRY = 11; + private static final int METHODID_CREATE_CERTIFICATE_MAP_ENTRY = 12; + private static final int METHODID_UPDATE_CERTIFICATE_MAP_ENTRY = 13; + private static final int METHODID_DELETE_CERTIFICATE_MAP_ENTRY = 14; + private static final int METHODID_LIST_DNS_AUTHORIZATIONS = 15; + private static final int METHODID_GET_DNS_AUTHORIZATION = 16; + private static final int METHODID_CREATE_DNS_AUTHORIZATION = 17; + private static final int METHODID_UPDATE_DNS_AUTHORIZATION = 18; + private static final int METHODID_DELETE_DNS_AUTHORIZATION = 19; + private static final int METHODID_LIST_CERTIFICATE_ISSUANCE_CONFIGS = 20; + private static final int METHODID_GET_CERTIFICATE_ISSUANCE_CONFIG = 21; + private static final int METHODID_CREATE_CERTIFICATE_ISSUANCE_CONFIG = 22; + private static final int METHODID_DELETE_CERTIFICATE_ISSUANCE_CONFIG = 23; + + 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 CertificateManagerImplBase serviceImpl; + private final int methodId; + + MethodHandlers(CertificateManagerImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_LIST_CERTIFICATES: + serviceImpl.listCertificates( + (com.google.cloud.certificatemanager.v1.ListCertificatesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.certificatemanager.v1.ListCertificatesResponse>) + responseObserver); + break; + case METHODID_GET_CERTIFICATE: + serviceImpl.getCertificate( + (com.google.cloud.certificatemanager.v1.GetCertificateRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_CERTIFICATE: + serviceImpl.createCertificate( + (com.google.cloud.certificatemanager.v1.CreateCertificateRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_CERTIFICATE: + serviceImpl.updateCertificate( + (com.google.cloud.certificatemanager.v1.UpdateCertificateRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_CERTIFICATE: + serviceImpl.deleteCertificate( + (com.google.cloud.certificatemanager.v1.DeleteCertificateRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_CERTIFICATE_MAPS: + serviceImpl.listCertificateMaps( + (com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse>) + responseObserver); + break; + case METHODID_GET_CERTIFICATE_MAP: + serviceImpl.getCertificateMap( + (com.google.cloud.certificatemanager.v1.GetCertificateMapRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_CERTIFICATE_MAP: + serviceImpl.createCertificateMap( + (com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_CERTIFICATE_MAP: + serviceImpl.updateCertificateMap( + (com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_CERTIFICATE_MAP: + serviceImpl.deleteCertificateMap( + (com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_CERTIFICATE_MAP_ENTRIES: + serviceImpl.listCertificateMapEntries( + (com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse>) + responseObserver); + break; + case METHODID_GET_CERTIFICATE_MAP_ENTRY: + serviceImpl.getCertificateMapEntry( + (com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.certificatemanager.v1.CertificateMapEntry>) + responseObserver); + break; + case METHODID_CREATE_CERTIFICATE_MAP_ENTRY: + serviceImpl.createCertificateMapEntry( + (com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_CERTIFICATE_MAP_ENTRY: + serviceImpl.updateCertificateMapEntry( + (com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_CERTIFICATE_MAP_ENTRY: + serviceImpl.deleteCertificateMapEntry( + (com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_DNS_AUTHORIZATIONS: + serviceImpl.listDnsAuthorizations( + (com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse>) + responseObserver); + break; + case METHODID_GET_DNS_AUTHORIZATION: + serviceImpl.getDnsAuthorization( + (com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CREATE_DNS_AUTHORIZATION: + serviceImpl.createDnsAuthorization( + (com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_UPDATE_DNS_AUTHORIZATION: + serviceImpl.updateDnsAuthorization( + (com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_DNS_AUTHORIZATION: + serviceImpl.deleteDnsAuthorization( + (com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_CERTIFICATE_ISSUANCE_CONFIGS: + serviceImpl.listCertificateIssuanceConfigs( + (com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest) + request, + (io.grpc.stub.StreamObserver< + com.google.cloud.certificatemanager.v1 + .ListCertificateIssuanceConfigsResponse>) + responseObserver); + break; + case METHODID_GET_CERTIFICATE_ISSUANCE_CONFIG: + serviceImpl.getCertificateIssuanceConfig( + (com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig>) + responseObserver); + break; + case METHODID_CREATE_CERTIFICATE_ISSUANCE_CONFIG: + serviceImpl.createCertificateIssuanceConfig( + (com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest) + request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_CERTIFICATE_ISSUANCE_CONFIG: + serviceImpl.deleteCertificateIssuanceConfig( + (com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest) + 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 CertificateManagerBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + CertificateManagerBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("CertificateManager"); + } + } + + private static final class CertificateManagerFileDescriptorSupplier + extends CertificateManagerBaseDescriptorSupplier { + CertificateManagerFileDescriptorSupplier() {} + } + + private static final class CertificateManagerMethodDescriptorSupplier + extends CertificateManagerBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + CertificateManagerMethodDescriptorSupplier(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 (CertificateManagerGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new CertificateManagerFileDescriptorSupplier()) + .addMethod(getListCertificatesMethod()) + .addMethod(getGetCertificateMethod()) + .addMethod(getCreateCertificateMethod()) + .addMethod(getUpdateCertificateMethod()) + .addMethod(getDeleteCertificateMethod()) + .addMethod(getListCertificateMapsMethod()) + .addMethod(getGetCertificateMapMethod()) + .addMethod(getCreateCertificateMapMethod()) + .addMethod(getUpdateCertificateMapMethod()) + .addMethod(getDeleteCertificateMapMethod()) + .addMethod(getListCertificateMapEntriesMethod()) + .addMethod(getGetCertificateMapEntryMethod()) + .addMethod(getCreateCertificateMapEntryMethod()) + .addMethod(getUpdateCertificateMapEntryMethod()) + .addMethod(getDeleteCertificateMapEntryMethod()) + .addMethod(getListDnsAuthorizationsMethod()) + .addMethod(getGetDnsAuthorizationMethod()) + .addMethod(getCreateDnsAuthorizationMethod()) + .addMethod(getUpdateDnsAuthorizationMethod()) + .addMethod(getDeleteDnsAuthorizationMethod()) + .addMethod(getListCertificateIssuanceConfigsMethod()) + .addMethod(getGetCertificateIssuanceConfigMethod()) + .addMethod(getCreateCertificateIssuanceConfigMethod()) + .addMethod(getDeleteCertificateIssuanceConfigMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/Certificate.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/Certificate.java similarity index 63% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/Certificate.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/Certificate.java index dec57a6baf7d..6930f3012fd8 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/Certificate.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/Certificate.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/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; /** + * + * *
  * Defines TLS certificate.
  * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.Certificate} */ -public final class Certificate extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Certificate extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.Certificate) CertificateOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Certificate.newBuilder() to construct. private Certificate(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Certificate() { name_ = ""; description_ = ""; @@ -29,51 +47,54 @@ private Certificate() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Certificate(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_Certificate_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_Certificate_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 4: 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.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_Certificate_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_Certificate_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.Certificate.class, com.google.cloud.certificatemanager.v1.Certificate.Builder.class); + com.google.cloud.certificatemanager.v1.Certificate.class, + com.google.cloud.certificatemanager.v1.Certificate.Builder.class); } /** + * + * *
    * Certificate scope.
    * 
* * Protobuf enum {@code google.cloud.certificatemanager.v1.Certificate.Scope} */ - public enum Scope - implements com.google.protobuf.ProtocolMessageEnum { + public enum Scope implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Certificates with default scope are served from core Google data centers.
      * If unsure, choose this option.
@@ -83,6 +104,8 @@ public enum Scope
      */
     DEFAULT(0),
     /**
+     *
+     *
      * 
      * Certificates with scope EDGE_CACHE are special-purposed certificates,
      * served from non-core Google data centers.
@@ -95,6 +118,8 @@ public enum Scope
     ;
 
     /**
+     *
+     *
      * 
      * Certificates with default scope are served from core Google data centers.
      * If unsure, choose this option.
@@ -104,6 +129,8 @@ public enum Scope
      */
     public static final int DEFAULT_VALUE = 0;
     /**
+     *
+     *
      * 
      * Certificates with scope EDGE_CACHE are special-purposed certificates,
      * served from non-core Google data centers.
@@ -113,7 +140,6 @@ public enum Scope
      */
     public static final int EDGE_CACHE_VALUE = 1;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -138,48 +164,49 @@ public static Scope valueOf(int value) {
      */
     public static Scope forNumber(int value) {
       switch (value) {
-        case 0: return DEFAULT;
-        case 1: return EDGE_CACHE;
-        default: return null;
+        case 0:
+          return DEFAULT;
+        case 1:
+          return EDGE_CACHE;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        Scope> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Scope findValueByNumber(int number) {
-              return Scope.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 Scope findValueByNumber(int number) {
+            return Scope.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.certificatemanager.v1.Certificate.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.certificatemanager.v1.Certificate.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final Scope[] VALUES = values();
 
-    public static Scope valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Scope valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -196,53 +223,66 @@ private Scope(int value) {
     // @@protoc_insertion_point(enum_scope:google.cloud.certificatemanager.v1.Certificate.Scope)
   }
 
-  public interface SelfManagedCertificateOrBuilder extends
+  public interface SelfManagedCertificateOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Input only. The PEM-encoded certificate chain.
      * Leaf certificate comes first, followed by intermediate ones if any.
      * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The pemCertificate. */ java.lang.String getPemCertificate(); /** + * + * *
      * Input only. The PEM-encoded certificate chain.
      * Leaf certificate comes first, followed by intermediate ones if any.
      * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The bytes for pemCertificate. */ - com.google.protobuf.ByteString - getPemCertificateBytes(); + com.google.protobuf.ByteString getPemCertificateBytes(); /** + * + * *
      * Input only. The PEM-encoded private key of the leaf certificate.
      * 
* * string pem_private_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The pemPrivateKey. */ java.lang.String getPemPrivateKey(); /** + * + * *
      * Input only. The PEM-encoded private key of the leaf certificate.
      * 
* * string pem_private_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The bytes for pemPrivateKey. */ - com.google.protobuf.ByteString - getPemPrivateKeyBytes(); + com.google.protobuf.ByteString getPemPrivateKeyBytes(); } /** + * + * *
    * Certificate data for a SelfManaged Certificate.
    * SelfManaged Certificates are uploaded by the user. Updating such
@@ -251,15 +291,16 @@ public interface SelfManagedCertificateOrBuilder extends
    *
    * Protobuf type {@code google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate}
    */
-  public static final class SelfManagedCertificate extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class SelfManagedCertificate extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate)
       SelfManagedCertificateOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use SelfManagedCertificate.newBuilder() to construct.
     private SelfManagedCertificate(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private SelfManagedCertificate() {
       pemCertificate_ = "";
       pemPrivateKey_ = "";
@@ -267,38 +308,43 @@ private SelfManagedCertificate() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new SelfManagedCertificate();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_Certificate_SelfManagedCertificate_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.certificatemanager.v1.CertificateManagerProto
+          .internal_static_google_cloud_certificatemanager_v1_Certificate_SelfManagedCertificate_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_Certificate_SelfManagedCertificate_fieldAccessorTable
+      return com.google.cloud.certificatemanager.v1.CertificateManagerProto
+          .internal_static_google_cloud_certificatemanager_v1_Certificate_SelfManagedCertificate_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.class, com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.Builder.class);
+              com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.class,
+              com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.Builder
+                  .class);
     }
 
     public static final int PEM_CERTIFICATE_FIELD_NUMBER = 1;
     private volatile java.lang.Object pemCertificate_;
     /**
+     *
+     *
      * 
      * Input only. The PEM-encoded certificate chain.
      * Leaf certificate comes first, followed by intermediate ones if any.
      * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The pemCertificate. */ @java.lang.Override @@ -307,30 +353,30 @@ public java.lang.String getPemCertificate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pemCertificate_ = s; return s; } } /** + * + * *
      * Input only. The PEM-encoded certificate chain.
      * Leaf certificate comes first, followed by intermediate ones if any.
      * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The bytes for pemCertificate. */ @java.lang.Override - public com.google.protobuf.ByteString - getPemCertificateBytes() { + public com.google.protobuf.ByteString getPemCertificateBytes() { java.lang.Object ref = pemCertificate_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pemCertificate_ = b; return b; } else { @@ -341,11 +387,14 @@ public java.lang.String getPemCertificate() { public static final int PEM_PRIVATE_KEY_FIELD_NUMBER = 2; private volatile java.lang.Object pemPrivateKey_; /** + * + * *
      * Input only. The PEM-encoded private key of the leaf certificate.
      * 
* * string pem_private_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The pemPrivateKey. */ @java.lang.Override @@ -354,29 +403,29 @@ public java.lang.String getPemPrivateKey() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pemPrivateKey_ = s; return s; } } /** + * + * *
      * Input only. The PEM-encoded private key of the leaf certificate.
      * 
* * string pem_private_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The bytes for pemPrivateKey. */ @java.lang.Override - public com.google.protobuf.ByteString - getPemPrivateKeyBytes() { + public com.google.protobuf.ByteString getPemPrivateKeyBytes() { java.lang.Object ref = pemPrivateKey_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pemPrivateKey_ = b; return b; } else { @@ -385,6 +434,7 @@ public java.lang.String getPemPrivateKey() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -396,8 +446,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pemCertificate_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, pemCertificate_); } @@ -427,17 +476,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.certificatemanager.v1.Certificate.SelfManagedCertificate)) { + if (!(obj + instanceof com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate other = (com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate) obj; + com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate other = + (com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate) obj; - if (!getPemCertificate() - .equals(other.getPemCertificate())) return false; - if (!getPemPrivateKey() - .equals(other.getPemPrivateKey())) return false; + if (!getPemCertificate().equals(other.getPemCertificate())) return false; + if (!getPemPrivateKey().equals(other.getPemPrivateKey())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -458,88 +507,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate parseDelimitedFrom( - java.io.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.certificatemanager.v1.Certificate.SelfManagedCertificate + parseDelimitedFrom( + java.io.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.certificatemanager.v1.Certificate.SelfManagedCertificate parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -549,6 +611,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Certificate data for a SelfManaged Certificate.
      * SelfManaged Certificates are uploaded by the user. Updating such
@@ -557,33 +621,35 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate)
         com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificateOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_Certificate_SelfManagedCertificate_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.certificatemanager.v1.CertificateManagerProto
+            .internal_static_google_cloud_certificatemanager_v1_Certificate_SelfManagedCertificate_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_Certificate_SelfManagedCertificate_fieldAccessorTable
+        return com.google.cloud.certificatemanager.v1.CertificateManagerProto
+            .internal_static_google_cloud_certificatemanager_v1_Certificate_SelfManagedCertificate_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.class, com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.Builder.class);
+                com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.class,
+                com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.Builder
+                    .class);
       }
 
-      // Construct using com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.newBuilder()
-      private Builder() {
+      // Construct using
+      // com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.newBuilder()
+      private Builder() {}
 
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -595,19 +661,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_Certificate_SelfManagedCertificate_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.certificatemanager.v1.CertificateManagerProto
+            .internal_static_google_cloud_certificatemanager_v1_Certificate_SelfManagedCertificate_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate getDefaultInstanceForType() {
-        return com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.getDefaultInstance();
+      public com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate
+          getDefaultInstanceForType() {
+        return com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate build() {
-        com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate result = buildPartial();
+        com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -615,8 +684,10 @@ public com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate
       }
 
       @java.lang.Override
-      public com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate buildPartial() {
-        com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate result = new com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate(this);
+      public com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate
+          buildPartial() {
+        com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate result =
+            new com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate(this);
         result.pemCertificate_ = pemCertificate_;
         result.pemPrivateKey_ = pemPrivateKey_;
         onBuilt();
@@ -627,46 +698,54 @@ public com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.certificatemanager.v1.Certificate.SelfManagedCertificate) {
-          return mergeFrom((com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate)other);
+        if (other
+            instanceof com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate) {
+          return mergeFrom(
+              (com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate other) {
-        if (other == com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate other) {
+        if (other
+            == com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate
+                .getDefaultInstance()) return this;
         if (!other.getPemCertificate().isEmpty()) {
           pemCertificate_ = other.pemCertificate_;
           onChanged();
@@ -701,22 +780,25 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                pemCertificate_ = input.readStringRequireUtf8();
+              case 10:
+                {
+                  pemCertificate_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 10
-              case 18: {
-                pemPrivateKey_ = input.readStringRequireUtf8();
+                  break;
+                } // case 10
+              case 18:
+                {
+                  pemPrivateKey_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 18
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+                  break;
+                } // case 18
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -729,19 +811,21 @@ public Builder mergeFrom(
 
       private java.lang.Object pemCertificate_ = "";
       /**
+       *
+       *
        * 
        * Input only. The PEM-encoded certificate chain.
        * Leaf certificate comes first, followed by intermediate ones if any.
        * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The pemCertificate. */ public java.lang.String getPemCertificate() { java.lang.Object ref = pemCertificate_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pemCertificate_ = s; return s; @@ -750,21 +834,22 @@ public java.lang.String getPemCertificate() { } } /** + * + * *
        * Input only. The PEM-encoded certificate chain.
        * Leaf certificate comes first, followed by intermediate ones if any.
        * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The bytes for pemCertificate. */ - public com.google.protobuf.ByteString - getPemCertificateBytes() { + public com.google.protobuf.ByteString getPemCertificateBytes() { java.lang.Object ref = pemCertificate_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pemCertificate_ = b; return b; } else { @@ -772,57 +857,64 @@ public java.lang.String getPemCertificate() { } } /** + * + * *
        * Input only. The PEM-encoded certificate chain.
        * Leaf certificate comes first, followed by intermediate ones if any.
        * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @param value The pemCertificate to set. * @return This builder for chaining. */ - public Builder setPemCertificate( - java.lang.String value) { + public Builder setPemCertificate(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pemCertificate_ = value; onChanged(); return this; } /** + * + * *
        * Input only. The PEM-encoded certificate chain.
        * Leaf certificate comes first, followed by intermediate ones if any.
        * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPemCertificate() { - + pemCertificate_ = getDefaultInstance().getPemCertificate(); onChanged(); return this; } /** + * + * *
        * Input only. The PEM-encoded certificate chain.
        * Leaf certificate comes first, followed by intermediate ones if any.
        * 
* * string pem_certificate = 1 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @param value The bytes for pemCertificate to set. * @return This builder for chaining. */ - public Builder setPemCertificateBytes( - com.google.protobuf.ByteString value) { + public Builder setPemCertificateBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pemCertificate_ = value; onChanged(); return this; @@ -830,18 +922,20 @@ public Builder setPemCertificateBytes( private java.lang.Object pemPrivateKey_ = ""; /** + * + * *
        * Input only. The PEM-encoded private key of the leaf certificate.
        * 
* * string pem_private_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The pemPrivateKey. */ public java.lang.String getPemPrivateKey() { java.lang.Object ref = pemPrivateKey_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pemPrivateKey_ = s; return s; @@ -850,20 +944,21 @@ public java.lang.String getPemPrivateKey() { } } /** + * + * *
        * Input only. The PEM-encoded private key of the leaf certificate.
        * 
* * string pem_private_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return The bytes for pemPrivateKey. */ - public com.google.protobuf.ByteString - getPemPrivateKeyBytes() { + public com.google.protobuf.ByteString getPemPrivateKeyBytes() { java.lang.Object ref = pemPrivateKey_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pemPrivateKey_ = b; return b; } else { @@ -871,58 +966,66 @@ public java.lang.String getPemPrivateKey() { } } /** + * + * *
        * Input only. The PEM-encoded private key of the leaf certificate.
        * 
* * string pem_private_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @param value The pemPrivateKey to set. * @return This builder for chaining. */ - public Builder setPemPrivateKey( - java.lang.String value) { + public Builder setPemPrivateKey(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pemPrivateKey_ = value; onChanged(); return this; } /** + * + * *
        * Input only. The PEM-encoded private key of the leaf certificate.
        * 
* * string pem_private_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPemPrivateKey() { - + pemPrivateKey_ = getDefaultInstance().getPemPrivateKey(); onChanged(); return this; } /** + * + * *
        * Input only. The PEM-encoded private key of the leaf certificate.
        * 
* * string pem_private_key = 2 [(.google.api.field_behavior) = INPUT_ONLY]; + * * @param value The bytes for pemPrivateKey to set. * @return This builder for chaining. */ - public Builder setPemPrivateKeyBytes( - com.google.protobuf.ByteString value) { + public Builder setPemPrivateKeyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pemPrivateKey_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -935,41 +1038,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate) - private static final com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate(); + DEFAULT_INSTANCE = + new com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate(); } - public static com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public SelfManagedCertificate parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public SelfManagedCertificate parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -981,17 +1088,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ManagedCertificateOrBuilder extends + public interface ManagedCertificateOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.Certificate.ManagedCertificate) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Immutable. The domains for which a managed SSL certificate will be
      * generated. Wildcard domains are only supported with DNS challenge
@@ -999,11 +1109,13 @@ public interface ManagedCertificateOrBuilder extends
      * 
* * repeated string domains = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return A list containing the domains. */ - java.util.List - getDomainsList(); + java.util.List getDomainsList(); /** + * + * *
      * Immutable. The domains for which a managed SSL certificate will be
      * generated. Wildcard domains are only supported with DNS challenge
@@ -1011,10 +1123,13 @@ public interface ManagedCertificateOrBuilder extends
      * 
* * repeated string domains = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The count of domains. */ int getDomainsCount(); /** + * + * *
      * Immutable. The domains for which a managed SSL certificate will be
      * generated. Wildcard domains are only supported with DNS challenge
@@ -1022,11 +1137,14 @@ public interface ManagedCertificateOrBuilder extends
      * 
* * repeated string domains = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param index The index of the element to return. * @return The domains at the given index. */ java.lang.String getDomains(int index); /** + * + * *
      * Immutable. The domains for which a managed SSL certificate will be
      * generated. Wildcard domains are only supported with DNS challenge
@@ -1034,58 +1152,78 @@ public interface ManagedCertificateOrBuilder extends
      * 
* * repeated string domains = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param index The index of the value to return. * @return The bytes of the domains at the given index. */ - com.google.protobuf.ByteString - getDomainsBytes(int index); + com.google.protobuf.ByteString getDomainsBytes(int index); /** + * + * *
      * Immutable. Authorizations that will be used for performing domain
      * authorization.
      * 
* - * repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return A list containing the dnsAuthorizations. */ - java.util.List - getDnsAuthorizationsList(); + java.util.List getDnsAuthorizationsList(); /** + * + * *
      * Immutable. Authorizations that will be used for performing domain
      * authorization.
      * 
* - * repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The count of dnsAuthorizations. */ int getDnsAuthorizationsCount(); /** + * + * *
      * Immutable. Authorizations that will be used for performing domain
      * authorization.
      * 
* - * repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the element to return. * @return The dnsAuthorizations at the given index. */ java.lang.String getDnsAuthorizations(int index); /** + * + * *
      * Immutable. Authorizations that will be used for performing domain
      * authorization.
      * 
* - * repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the value to return. * @return The bytes of the dnsAuthorizations at the given index. */ - com.google.protobuf.ByteString - getDnsAuthorizationsBytes(int index); + com.google.protobuf.ByteString getDnsAuthorizationsBytes(int index); /** + * + * *
      * The resource name for a
      * [CertificateIssuanceConfig][google.cloud.certificatemanager.v1.CertificateIssuanceConfig]
@@ -1096,11 +1234,16 @@ public interface ManagedCertificateOrBuilder extends
      * https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
      * 
* - * string issuance_config = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string issuance_config = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The issuanceConfig. */ java.lang.String getIssuanceConfig(); /** + * + * *
      * The resource name for a
      * [CertificateIssuanceConfig][google.cloud.certificatemanager.v1.CertificateIssuanceConfig]
@@ -1111,111 +1254,168 @@ public interface ManagedCertificateOrBuilder extends
      * https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
      * 
* - * string issuance_config = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string issuance_config = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for issuanceConfig. */ - com.google.protobuf.ByteString - getIssuanceConfigBytes(); + com.google.protobuf.ByteString getIssuanceConfigBytes(); /** + * + * *
      * Output only. State of the managed certificate resource.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
      * Output only. State of the managed certificate resource.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State getState(); /** + * + * *
      * Output only. Information about issues with provisioning a Managed
      * Certificate.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the provisioningIssue field is set. */ boolean hasProvisioningIssue(); /** + * + * *
      * Output only. Information about issues with provisioning a Managed
      * Certificate.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The provisioningIssue. */ - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue getProvisioningIssue(); + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue + getProvisioningIssue(); /** + * + * *
      * Output only. Information about issues with provisioning a Managed
      * Certificate.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssueOrBuilder getProvisioningIssueOrBuilder(); + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssueOrBuilder + getProvisioningIssueOrBuilder(); /** + * + * *
      * Output only. Detailed state of the latest authorization attempt for each
      * domain specified for managed certificate resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List< + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo> getAuthorizationAttemptInfoList(); /** + * + * *
      * Output only. Detailed state of the latest authorization attempt for each
      * domain specified for managed certificate resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo getAuthorizationAttemptInfo(int index); + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo + getAuthorizationAttemptInfo(int index); /** + * + * *
      * Output only. Detailed state of the latest authorization attempt for each
      * domain specified for managed certificate resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getAuthorizationAttemptInfoCount(); /** + * + * *
      * Output only. Detailed state of the latest authorization attempt for each
      * domain specified for managed certificate resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfoOrBuilder> getAuthorizationAttemptInfoOrBuilderList(); /** + * + * *
      * Output only. Detailed state of the latest authorization attempt for each
      * domain specified for managed certificate resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfoOrBuilder getAuthorizationAttemptInfoOrBuilder( - int index); + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfoOrBuilder + getAuthorizationAttemptInfoOrBuilder(int index); } /** + * + * *
    * Configuration and state of a Managed Certificate.
    * Certificate Manager provisions and renews Managed Certificates
@@ -1224,15 +1424,16 @@ com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.Authorizat
    *
    * Protobuf type {@code google.cloud.certificatemanager.v1.Certificate.ManagedCertificate}
    */
-  public static final class ManagedCertificate extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class ManagedCertificate extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.Certificate.ManagedCertificate)
       ManagedCertificateOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use ManagedCertificate.newBuilder() to construct.
     private ManagedCertificate(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private ManagedCertificate() {
       domains_ = com.google.protobuf.LazyStringArrayList.EMPTY;
       dnsAuthorizations_ = com.google.protobuf.LazyStringArrayList.EMPTY;
@@ -1243,39 +1444,39 @@ private ManagedCertificate() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new ManagedCertificate();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.certificatemanager.v1.CertificateManagerProto
+          .internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_fieldAccessorTable
+      return com.google.cloud.certificatemanager.v1.CertificateManagerProto
+          .internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.class, com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.Builder.class);
+              com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.class,
+              com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.Builder.class);
     }
 
     /**
      * Protobuf enum {@code google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State}
      */
-    public enum State
-        implements com.google.protobuf.ProtocolMessageEnum {
-      /**
-       * STATE_UNSPECIFIED = 0;
-       */
+    public enum State implements com.google.protobuf.ProtocolMessageEnum {
+      /** STATE_UNSPECIFIED = 0; */
       STATE_UNSPECIFIED(0),
       /**
+       *
+       *
        * 
        * Certificate Manager attempts to provision or renew the certificate.
        * If the process takes longer than expected, consult the
@@ -1286,6 +1487,8 @@ public enum State
        */
       PROVISIONING(1),
       /**
+       *
+       *
        * 
        * Multiple certificate provisioning attempts failed and Certificate
        * Manager gave up. To try again, delete and create a new managed
@@ -1297,6 +1500,8 @@ public enum State
        */
       FAILED(2),
       /**
+       *
+       *
        * 
        * The certificate management is working, and a certificate has been
        * provisioned.
@@ -1308,11 +1513,11 @@ public enum State
       UNRECOGNIZED(-1),
       ;
 
-      /**
-       * STATE_UNSPECIFIED = 0;
-       */
+      /** STATE_UNSPECIFIED = 0; */
       public static final int STATE_UNSPECIFIED_VALUE = 0;
       /**
+       *
+       *
        * 
        * Certificate Manager attempts to provision or renew the certificate.
        * If the process takes longer than expected, consult the
@@ -1323,6 +1528,8 @@ public enum State
        */
       public static final int PROVISIONING_VALUE = 1;
       /**
+       *
+       *
        * 
        * Multiple certificate provisioning attempts failed and Certificate
        * Manager gave up. To try again, delete and create a new managed
@@ -1334,6 +1541,8 @@ public enum State
        */
       public static final int FAILED_VALUE = 2;
       /**
+       *
+       *
        * 
        * The certificate management is working, and a certificate has been
        * provisioned.
@@ -1343,7 +1552,6 @@ public enum State
        */
       public static final int ACTIVE_VALUE = 3;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -1368,50 +1576,53 @@ public static State valueOf(int value) {
        */
       public static State forNumber(int value) {
         switch (value) {
-          case 0: return STATE_UNSPECIFIED;
-          case 1: return PROVISIONING;
-          case 2: return FAILED;
-          case 3: return ACTIVE;
-          default: return null;
+          case 0:
+            return STATE_UNSPECIFIED;
+          case 1:
+            return PROVISIONING;
+          case 2:
+            return FAILED;
+          case 3:
+            return ACTIVE;
+          default:
+            return null;
         }
       }
 
-      public static com.google.protobuf.Internal.EnumLiteMap
-          internalGetValueMap() {
+      public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
         return internalValueMap;
       }
-      private static final com.google.protobuf.Internal.EnumLiteMap<
-          State> internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public State findValueByNumber(int number) {
-                return State.forNumber(number);
-              }
-            };
 
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor
-          getValueDescriptor() {
+      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+          new com.google.protobuf.Internal.EnumLiteMap() {
+            public State findValueByNumber(int number) {
+              return State.forNumber(number);
+            }
+          };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-      public final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptorForType() {
+
+      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
         return getDescriptor();
       }
-      public static final com.google.protobuf.Descriptors.EnumDescriptor
-          getDescriptor() {
-        return com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.getDescriptor().getEnumTypes().get(0);
+
+      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+        return com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.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;
@@ -1428,30 +1639,44 @@ private State(int value) {
       // @@protoc_insertion_point(enum_scope:google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State)
     }
 
-    public interface ProvisioningIssueOrBuilder extends
+    public interface ProvisioningIssueOrBuilder
+        extends
         // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue)
         com.google.protobuf.MessageOrBuilder {
 
       /**
+       *
+       *
        * 
        * Output only. Reason for provisioning failures.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for reason. */ int getReasonValue(); /** + * + * *
        * Output only. Reason for provisioning failures.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The reason. */ - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason getReason(); + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason + getReason(); /** + * + * *
        * Output only. Human readable explanation about the issue. Provided to
        * help address the configuration issues. Not guaranteed to be stable. For
@@ -1459,10 +1684,13 @@ public interface ProvisioningIssueOrBuilder extends
        * 
* * string details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The details. */ java.lang.String getDetails(); /** + * + * *
        * Output only. Human readable explanation about the issue. Provided to
        * help address the configuration issues. Not guaranteed to be stable. For
@@ -1470,27 +1698,31 @@ public interface ProvisioningIssueOrBuilder extends
        * 
* * string details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for details. */ - com.google.protobuf.ByteString - getDetailsBytes(); + com.google.protobuf.ByteString getDetailsBytes(); } /** + * + * *
      * Information about issues with provisioning a Managed Certificate.
      * 
* - * Protobuf type {@code google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue} + * Protobuf type {@code + * google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue} */ - public static final class ProvisioningIssue extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ProvisioningIssue extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue) ProvisioningIssueOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProvisioningIssue.newBuilder() to construct. private ProvisioningIssue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ProvisioningIssue() { reason_ = 0; details_ = ""; @@ -1498,39 +1730,42 @@ private ProvisioningIssue() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ProvisioningIssue(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_ProvisioningIssue_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_ProvisioningIssue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_ProvisioningIssue_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_ProvisioningIssue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.class, com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Builder.class); + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue.class, + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue.Builder.class); } /** - * Protobuf enum {@code google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason} + * Protobuf enum {@code + * google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason} */ - public enum Reason - implements com.google.protobuf.ProtocolMessageEnum { - /** - * REASON_UNSPECIFIED = 0; - */ + public enum Reason implements com.google.protobuf.ProtocolMessageEnum { + /** REASON_UNSPECIFIED = 0; */ REASON_UNSPECIFIED(0), /** + * + * *
          * Certificate provisioning failed due to an issue with one or more of
          * the domains on the certificate.
@@ -1542,6 +1777,8 @@ public enum Reason
          */
         AUTHORIZATION_ISSUE(1),
         /**
+         *
+         *
          * 
          * Exceeded Certificate Authority quotas or internal rate limits of the
          * system. Provisioning may take longer to complete.
@@ -1553,11 +1790,11 @@ public enum Reason
         UNRECOGNIZED(-1),
         ;
 
-        /**
-         * REASON_UNSPECIFIED = 0;
-         */
+        /** REASON_UNSPECIFIED = 0; */
         public static final int REASON_UNSPECIFIED_VALUE = 0;
         /**
+         *
+         *
          * 
          * Certificate provisioning failed due to an issue with one or more of
          * the domains on the certificate.
@@ -1569,6 +1806,8 @@ public enum Reason
          */
         public static final int AUTHORIZATION_ISSUE_VALUE = 1;
         /**
+         *
+         *
          * 
          * Exceeded Certificate Authority quotas or internal rate limits of the
          * system. Provisioning may take longer to complete.
@@ -1578,7 +1817,6 @@ public enum Reason
          */
         public static final int RATE_LIMITED_VALUE = 2;
 
-
         public final int getNumber() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalArgumentException(
@@ -1603,49 +1841,53 @@ public static Reason valueOf(int value) {
          */
         public static Reason forNumber(int value) {
           switch (value) {
-            case 0: return REASON_UNSPECIFIED;
-            case 1: return AUTHORIZATION_ISSUE;
-            case 2: return RATE_LIMITED;
-            default: return null;
+            case 0:
+              return REASON_UNSPECIFIED;
+            case 1:
+              return AUTHORIZATION_ISSUE;
+            case 2:
+              return RATE_LIMITED;
+            default:
+              return null;
           }
         }
 
-        public static com.google.protobuf.Internal.EnumLiteMap
-            internalGetValueMap() {
+        public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
           return internalValueMap;
         }
-        private static final com.google.protobuf.Internal.EnumLiteMap<
-            Reason> internalValueMap =
-              new com.google.protobuf.Internal.EnumLiteMap() {
-                public Reason findValueByNumber(int number) {
-                  return Reason.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 Reason findValueByNumber(int number) {
+                return Reason.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.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.getDescriptor().getEnumTypes().get(0);
+
+        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+          return com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate
+              .ProvisioningIssue.getDescriptor()
+              .getEnumTypes()
+              .get(0);
         }
 
         private static final Reason[] VALUES = values();
 
-        public static Reason valueOf(
-            com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+        public static Reason valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
           if (desc.getType() != getDescriptor()) {
             throw new java.lang.IllegalArgumentException(
-              "EnumValueDescriptor is not for this type.");
+                "EnumValueDescriptor is not for this type.");
           }
           if (desc.getIndex() == -1) {
             return UNRECOGNIZED;
@@ -1665,33 +1907,56 @@ private Reason(int value) {
       public static final int REASON_FIELD_NUMBER = 1;
       private int reason_;
       /**
+       *
+       *
        * 
        * Output only. Reason for provisioning failures.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for reason. */ - @java.lang.Override public int getReasonValue() { + @java.lang.Override + public int getReasonValue() { return reason_; } /** + * + * *
        * Output only. Reason for provisioning failures.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The reason. */ - @java.lang.Override public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason getReason() { + @java.lang.Override + public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue + .Reason + getReason() { @SuppressWarnings("deprecation") - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason result = com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason.valueOf(reason_); - return result == null ? com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason.UNRECOGNIZED : result; + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue + .Reason + result = + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue.Reason.valueOf(reason_); + return result == null + ? com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue.Reason.UNRECOGNIZED + : result; } public static final int DETAILS_FIELD_NUMBER = 2; private volatile java.lang.Object details_; /** + * + * *
        * Output only. Human readable explanation about the issue. Provided to
        * help address the configuration issues. Not guaranteed to be stable. For
@@ -1699,6 +1964,7 @@ private Reason(int value) {
        * 
* * string details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The details. */ @java.lang.Override @@ -1707,14 +1973,15 @@ public java.lang.String getDetails() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); details_ = s; return s; } } /** + * + * *
        * Output only. Human readable explanation about the issue. Provided to
        * help address the configuration issues. Not guaranteed to be stable. For
@@ -1722,16 +1989,15 @@ public java.lang.String getDetails() {
        * 
* * string details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for details. */ @java.lang.Override - public com.google.protobuf.ByteString - getDetailsBytes() { + public com.google.protobuf.ByteString getDetailsBytes() { java.lang.Object ref = details_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); details_ = b; return b; } else { @@ -1740,6 +2006,7 @@ public java.lang.String getDetails() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1751,9 +2018,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (reason_ != com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason.REASON_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (reason_ + != com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue.Reason.REASON_UNSPECIFIED + .getNumber()) { output.writeEnum(1, reason_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(details_)) { @@ -1768,9 +2037,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (reason_ != com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason.REASON_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, reason_); + if (reason_ + != com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue.Reason.REASON_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, reason_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(details_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, details_); @@ -1783,16 +2054,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.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue)) { + if (!(obj + instanceof + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue other = (com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue) obj; + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue + other = + (com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue) + obj; if (reason_ != other.reason_) return false; - if (!getDetails() - .equals(other.getDetails())) return false; + if (!getDetails().equals(other.getDetails())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1813,88 +2090,116 @@ public int hashCode() { return hash; } - public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue parseDelimitedFrom( - java.io.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.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue + parseDelimitedFrom( + java.io.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.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1904,39 +2209,46 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Information about issues with provisioning a Managed Certificate.
        * 
* - * Protobuf type {@code google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue} + * Protobuf type {@code + * google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue) - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_ProvisioningIssue_descriptor; + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssueOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_ProvisioningIssue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_ProvisioningIssue_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_ProvisioningIssue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.class, com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Builder.class); + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue.class, + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue.Builder.class); } - // Construct using com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1948,19 +2260,25 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_ProvisioningIssue_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_ProvisioningIssue_descriptor; } @java.lang.Override - public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue getDefaultInstanceForType() { - return com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.getDefaultInstance(); + public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue + getDefaultInstanceForType() { + return com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue build() { - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue result = buildPartial(); + public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue + build() { + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1968,8 +2286,13 @@ public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.Pro } @java.lang.Override - public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue buildPartial() { - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue result = new com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue(this); + public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue + buildPartial() { + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue + result = + new com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue(this); result.reason_ = reason_; result.details_ = details_; onBuilt(); @@ -1980,46 +2303,59 @@ public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.Pro public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue) { - return mergeFrom((com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue)other); + if (other + instanceof + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue) { + return mergeFrom( + (com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue other) { - if (other == com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue + other) { + if (other + == com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue.getDefaultInstance()) return this; if (other.reason_ != 0) { setReasonValue(other.getReasonValue()); } @@ -2053,22 +2389,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - reason_ = input.readEnum(); - - break; - } // case 8 - case 18: { - details_ = input.readStringRequireUtf8(); - - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + reason_ = input.readEnum(); + + break; + } // case 8 + case 18: + { + details_ = input.readStringRequireUtf8(); + + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2081,73 +2420,111 @@ public Builder mergeFrom( private int reason_ = 0; /** + * + * *
          * Output only. Reason for provisioning failures.
          * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for reason. */ - @java.lang.Override public int getReasonValue() { + @java.lang.Override + public int getReasonValue() { return reason_; } /** + * + * *
          * Output only. Reason for provisioning failures.
          * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for reason to set. * @return This builder for chaining. */ public Builder setReasonValue(int value) { - + reason_ = value; onChanged(); return this; } /** + * + * *
          * Output only. Reason for provisioning failures.
          * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The reason. */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason getReason() { + public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue.Reason + getReason() { @SuppressWarnings("deprecation") - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason result = com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason.valueOf(reason_); - return result == null ? com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason.UNRECOGNIZED : result; + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue + .Reason + result = + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue.Reason.valueOf(reason_); + return result == null + ? com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue.Reason.UNRECOGNIZED + : result; } /** + * + * *
          * Output only. Reason for provisioning failures.
          * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The reason to set. * @return This builder for chaining. */ - public Builder setReason(com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason value) { + public Builder setReason( + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue + .Reason + value) { if (value == null) { throw new NullPointerException(); } - + reason_ = value.getNumber(); onChanged(); return this; } /** + * + * *
          * Output only. Reason for provisioning failures.
          * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearReason() { - + reason_ = 0; onChanged(); return this; @@ -2155,6 +2532,8 @@ public Builder clearReason() { private java.lang.Object details_ = ""; /** + * + * *
          * Output only. Human readable explanation about the issue. Provided to
          * help address the configuration issues. Not guaranteed to be stable. For
@@ -2162,13 +2541,13 @@ public Builder clearReason() {
          * 
* * string details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The details. */ public java.lang.String getDetails() { java.lang.Object ref = details_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); details_ = s; return s; @@ -2177,6 +2556,8 @@ public java.lang.String getDetails() { } } /** + * + * *
          * Output only. Human readable explanation about the issue. Provided to
          * help address the configuration issues. Not guaranteed to be stable. For
@@ -2184,15 +2565,14 @@ public java.lang.String getDetails() {
          * 
* * string details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for details. */ - public com.google.protobuf.ByteString - getDetailsBytes() { + public com.google.protobuf.ByteString getDetailsBytes() { java.lang.Object ref = details_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); details_ = b; return b; } else { @@ -2200,6 +2580,8 @@ public java.lang.String getDetails() { } } /** + * + * *
          * Output only. Human readable explanation about the issue. Provided to
          * help address the configuration issues. Not guaranteed to be stable. For
@@ -2207,20 +2589,22 @@ public java.lang.String getDetails() {
          * 
* * string details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The details to set. * @return This builder for chaining. */ - public Builder setDetails( - java.lang.String value) { + public Builder setDetails(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + details_ = value; onChanged(); return this; } /** + * + * *
          * Output only. Human readable explanation about the issue. Provided to
          * help address the configuration issues. Not guaranteed to be stable. For
@@ -2228,15 +2612,18 @@ public Builder setDetails(
          * 
* * string details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDetails() { - + details_ = getDefaultInstance().getDetails(); onChanged(); return this; } /** + * + * *
          * Output only. Human readable explanation about the issue. Provided to
          * help address the configuration issues. Not guaranteed to be stable. For
@@ -2244,20 +2631,21 @@ public Builder clearDetails() {
          * 
* * string details = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for details to set. * @return This builder for chaining. */ - public Builder setDetailsBytes( - com.google.protobuf.ByteString value) { + public Builder setDetailsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + details_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2270,41 +2658,48 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue) - private static final com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue(); + DEFAULT_INSTANCE = + new com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue(); } - public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ProvisioningIssue parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ProvisioningIssue parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2316,77 +2711,109 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface AuthorizationAttemptInfoOrBuilder extends + public interface AuthorizationAttemptInfoOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Domain name of the authorization attempt.
        * 
* * string domain = 1; + * * @return The domain. */ java.lang.String getDomain(); /** + * + * *
        * Domain name of the authorization attempt.
        * 
* * string domain = 1; + * * @return The bytes for domain. */ - com.google.protobuf.ByteString - getDomainBytes(); + com.google.protobuf.ByteString getDomainBytes(); /** + * + * *
        * Output only. State of the domain for managed certificate issuance.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
        * Output only. State of the domain for managed certificate issuance.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State getState(); + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo + .State + getState(); /** + * + * *
        * Output only. Reason for failure of the authorization attempt for the
        * domain.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason failure_reason = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason failure_reason = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for failureReason. */ int getFailureReasonValue(); /** + * + * *
        * Output only. Reason for failure of the authorization attempt for the
        * domain.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason failure_reason = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason failure_reason = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The failureReason. */ - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason getFailureReason(); + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo + .FailureReason + getFailureReason(); /** + * + * *
        * Output only. Human readable explanation for reaching the state.
        * Provided to help address the configuration issues. Not guaranteed to be
@@ -2394,10 +2821,13 @@ public interface AuthorizationAttemptInfoOrBuilder extends
        * 
* * string details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The details. */ java.lang.String getDetails(); /** + * + * *
        * Output only. Human readable explanation for reaching the state.
        * Provided to help address the configuration issues. Not guaranteed to be
@@ -2405,28 +2835,33 @@ public interface AuthorizationAttemptInfoOrBuilder extends
        * 
* * string details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for details. */ - com.google.protobuf.ByteString - getDetailsBytes(); + com.google.protobuf.ByteString getDetailsBytes(); } /** + * + * *
      * State of the latest attempt to authorize a domain for certificate
      * issuance.
      * 
* - * Protobuf type {@code google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo} + * Protobuf type {@code + * google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo} */ - public static final class AuthorizationAttemptInfo extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class AuthorizationAttemptInfo + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo) AuthorizationAttemptInfoOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AuthorizationAttemptInfo.newBuilder() to construct. private AuthorizationAttemptInfo(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AuthorizationAttemptInfo() { domain_ = ""; state_ = 0; @@ -2436,39 +2871,42 @@ private AuthorizationAttemptInfo() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AuthorizationAttemptInfo(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_AuthorizationAttemptInfo_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_AuthorizationAttemptInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_AuthorizationAttemptInfo_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_AuthorizationAttemptInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.class, com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder.class); + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.class, + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.Builder.class); } /** - * Protobuf enum {@code google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State} + * Protobuf enum {@code + * google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { - /** - * STATE_UNSPECIFIED = 0; - */ + public enum State implements com.google.protobuf.ProtocolMessageEnum { + /** STATE_UNSPECIFIED = 0; */ STATE_UNSPECIFIED(0), /** + * + * *
          * Certificate provisioning for this domain is under way. GCP will
          * attempt to authorize the domain.
@@ -2478,6 +2916,8 @@ public enum State
          */
         AUTHORIZING(1),
         /**
+         *
+         *
          * 
          * A managed certificate can be provisioned, no issues for this domain.
          * 
@@ -2486,6 +2926,8 @@ public enum State */ AUTHORIZED(6), /** + * + * *
          * Attempt to authorize the domain failed. This prevents the Managed
          * Certificate from being issued.
@@ -2498,11 +2940,11 @@ public enum State
         UNRECOGNIZED(-1),
         ;
 
-        /**
-         * STATE_UNSPECIFIED = 0;
-         */
+        /** STATE_UNSPECIFIED = 0; */
         public static final int STATE_UNSPECIFIED_VALUE = 0;
         /**
+         *
+         *
          * 
          * Certificate provisioning for this domain is under way. GCP will
          * attempt to authorize the domain.
@@ -2512,6 +2954,8 @@ public enum State
          */
         public static final int AUTHORIZING_VALUE = 1;
         /**
+         *
+         *
          * 
          * A managed certificate can be provisioned, no issues for this domain.
          * 
@@ -2520,6 +2964,8 @@ public enum State */ public static final int AUTHORIZED_VALUE = 6; /** + * + * *
          * Attempt to authorize the domain failed. This prevents the Managed
          * Certificate from being issued.
@@ -2530,7 +2976,6 @@ public enum State
          */
         public static final int FAILED_VALUE = 7;
 
-
         public final int getNumber() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalArgumentException(
@@ -2555,50 +3000,55 @@ public static State valueOf(int value) {
          */
         public static State forNumber(int value) {
           switch (value) {
-            case 0: return STATE_UNSPECIFIED;
-            case 1: return AUTHORIZING;
-            case 6: return AUTHORIZED;
-            case 7: return FAILED;
-            default: return null;
+            case 0:
+              return STATE_UNSPECIFIED;
+            case 1:
+              return AUTHORIZING;
+            case 6:
+              return AUTHORIZED;
+            case 7:
+              return FAILED;
+            default:
+              return null;
           }
         }
 
-        public static com.google.protobuf.Internal.EnumLiteMap
-            internalGetValueMap() {
+        public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
           return internalValueMap;
         }
-        private static final com.google.protobuf.Internal.EnumLiteMap<
-            State> internalValueMap =
-              new com.google.protobuf.Internal.EnumLiteMap() {
-                public State findValueByNumber(int number) {
-                  return State.forNumber(number);
-                }
-              };
 
-        public final com.google.protobuf.Descriptors.EnumValueDescriptor
-            getValueDescriptor() {
+        private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap() {
+              public State findValueByNumber(int number) {
+                return State.forNumber(number);
+              }
+            };
+
+        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalStateException(
                 "Can't get the descriptor of an unrecognized enum value.");
           }
           return getDescriptor().getValues().get(ordinal());
         }
-        public final com.google.protobuf.Descriptors.EnumDescriptor
-            getDescriptorForType() {
+
+        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
           return getDescriptor();
         }
-        public static final com.google.protobuf.Descriptors.EnumDescriptor
-            getDescriptor() {
-          return com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.getDescriptor().getEnumTypes().get(0);
+
+        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+          return com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate
+              .AuthorizationAttemptInfo.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.");
+                "EnumValueDescriptor is not for this type.");
           }
           if (desc.getIndex() == -1) {
             return UNRECOGNIZED;
@@ -2616,15 +3066,15 @@ private State(int value) {
       }
 
       /**
-       * Protobuf enum {@code google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason}
+       * Protobuf enum {@code
+       * google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason}
        */
-      public enum FailureReason
-          implements com.google.protobuf.ProtocolMessageEnum {
-        /**
-         * FAILURE_REASON_UNSPECIFIED = 0;
-         */
+      public enum FailureReason implements com.google.protobuf.ProtocolMessageEnum {
+        /** FAILURE_REASON_UNSPECIFIED = 0; */
         FAILURE_REASON_UNSPECIFIED(0),
         /**
+         *
+         *
          * 
          * There was a problem with the user's DNS or load balancer
          * configuration for this domain.
@@ -2634,6 +3084,8 @@ public enum FailureReason
          */
         CONFIG(1),
         /**
+         *
+         *
          * 
          * Certificate issuance forbidden by an explicit CAA record for the
          * domain or a failure to check CAA records for the domain.
@@ -2643,6 +3095,8 @@ public enum FailureReason
          */
         CAA(2),
         /**
+         *
+         *
          * 
          * Reached a CA or internal rate-limit for the domain,
          * e.g. for certificates per top-level private domain.
@@ -2654,11 +3108,11 @@ public enum FailureReason
         UNRECOGNIZED(-1),
         ;
 
-        /**
-         * FAILURE_REASON_UNSPECIFIED = 0;
-         */
+        /** FAILURE_REASON_UNSPECIFIED = 0; */
         public static final int FAILURE_REASON_UNSPECIFIED_VALUE = 0;
         /**
+         *
+         *
          * 
          * There was a problem with the user's DNS or load balancer
          * configuration for this domain.
@@ -2668,6 +3122,8 @@ public enum FailureReason
          */
         public static final int CONFIG_VALUE = 1;
         /**
+         *
+         *
          * 
          * Certificate issuance forbidden by an explicit CAA record for the
          * domain or a failure to check CAA records for the domain.
@@ -2677,6 +3133,8 @@ public enum FailureReason
          */
         public static final int CAA_VALUE = 2;
         /**
+         *
+         *
          * 
          * Reached a CA or internal rate-limit for the domain,
          * e.g. for certificates per top-level private domain.
@@ -2686,7 +3144,6 @@ public enum FailureReason
          */
         public static final int RATE_LIMITED_VALUE = 3;
 
-
         public final int getNumber() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalArgumentException(
@@ -2711,11 +3168,16 @@ public static FailureReason valueOf(int value) {
          */
         public static FailureReason forNumber(int value) {
           switch (value) {
-            case 0: return FAILURE_REASON_UNSPECIFIED;
-            case 1: return CONFIG;
-            case 2: return CAA;
-            case 3: return RATE_LIMITED;
-            default: return null;
+            case 0:
+              return FAILURE_REASON_UNSPECIFIED;
+            case 1:
+              return CONFIG;
+            case 2:
+              return CAA;
+            case 3:
+              return RATE_LIMITED;
+            default:
+              return null;
           }
         }
 
@@ -2723,29 +3185,32 @@ public static FailureReason forNumber(int value) {
             internalGetValueMap() {
           return internalValueMap;
         }
-        private static final com.google.protobuf.Internal.EnumLiteMap<
-            FailureReason> internalValueMap =
-              new com.google.protobuf.Internal.EnumLiteMap() {
-                public FailureReason findValueByNumber(int number) {
-                  return FailureReason.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 FailureReason findValueByNumber(int number) {
+                    return FailureReason.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.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.getDescriptor().getEnumTypes().get(1);
+
+        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+          return com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate
+              .AuthorizationAttemptInfo.getDescriptor()
+              .getEnumTypes()
+              .get(1);
         }
 
         private static final FailureReason[] VALUES = values();
@@ -2754,7 +3219,7 @@ public static FailureReason valueOf(
             com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
           if (desc.getType() != getDescriptor()) {
             throw new java.lang.IllegalArgumentException(
-              "EnumValueDescriptor is not for this type.");
+                "EnumValueDescriptor is not for this type.");
           }
           if (desc.getIndex() == -1) {
             return UNRECOGNIZED;
@@ -2774,11 +3239,14 @@ private FailureReason(int value) {
       public static final int DOMAIN_FIELD_NUMBER = 1;
       private volatile java.lang.Object domain_;
       /**
+       *
+       *
        * 
        * Domain name of the authorization attempt.
        * 
* * string domain = 1; + * * @return The domain. */ @java.lang.Override @@ -2787,29 +3255,29 @@ public java.lang.String getDomain() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domain_ = s; return s; } } /** + * + * *
        * Domain name of the authorization attempt.
        * 
* * string domain = 1; + * * @return The bytes for domain. */ @java.lang.Override - public com.google.protobuf.ByteString - getDomainBytes() { + public com.google.protobuf.ByteString getDomainBytes() { java.lang.Object ref = domain_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domain_ = b; return b; } else { @@ -2820,62 +3288,106 @@ public java.lang.String getDomain() { public static final int STATE_FIELD_NUMBER = 2; private int state_; /** + * + * *
        * Output only. State of the domain for managed certificate issuance.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
        * Output only. State of the domain for managed certificate issuance.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State getState() { + @java.lang.Override + public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.State + getState() { @SuppressWarnings("deprecation") - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State result = com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State.valueOf(state_); - return result == null ? com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State.UNRECOGNIZED : result; + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.State + result = + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.State.valueOf(state_); + return result == null + ? com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.State.UNRECOGNIZED + : result; } public static final int FAILURE_REASON_FIELD_NUMBER = 3; private int failureReason_; /** + * + * *
        * Output only. Reason for failure of the authorization attempt for the
        * domain.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason failure_reason = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason failure_reason = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for failureReason. */ - @java.lang.Override public int getFailureReasonValue() { + @java.lang.Override + public int getFailureReasonValue() { return failureReason_; } /** + * + * *
        * Output only. Reason for failure of the authorization attempt for the
        * domain.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason failure_reason = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason failure_reason = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The failureReason. */ - @java.lang.Override public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason getFailureReason() { + @java.lang.Override + public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.FailureReason + getFailureReason() { @SuppressWarnings("deprecation") - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason result = com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason.valueOf(failureReason_); - return result == null ? com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason.UNRECOGNIZED : result; + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.FailureReason + result = + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.FailureReason.valueOf(failureReason_); + return result == null + ? com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.FailureReason.UNRECOGNIZED + : result; } public static final int DETAILS_FIELD_NUMBER = 4; private volatile java.lang.Object details_; /** + * + * *
        * Output only. Human readable explanation for reaching the state.
        * Provided to help address the configuration issues. Not guaranteed to be
@@ -2883,6 +3395,7 @@ public java.lang.String getDomain() {
        * 
* * string details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The details. */ @java.lang.Override @@ -2891,14 +3404,15 @@ public java.lang.String getDetails() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); details_ = s; return s; } } /** + * + * *
        * Output only. Human readable explanation for reaching the state.
        * Provided to help address the configuration issues. Not guaranteed to be
@@ -2906,16 +3420,15 @@ public java.lang.String getDetails() {
        * 
* * string details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for details. */ @java.lang.Override - public com.google.protobuf.ByteString - getDetailsBytes() { + public com.google.protobuf.ByteString getDetailsBytes() { java.lang.Object ref = details_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); details_ = b; return b; } else { @@ -2924,6 +3437,7 @@ public java.lang.String getDetails() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2935,15 +3449,20 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domain_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domain_); } - if (state_ != com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.State.STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, state_); } - if (failureReason_ != com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason.FAILURE_REASON_UNSPECIFIED.getNumber()) { + if (failureReason_ + != com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.FailureReason.FAILURE_REASON_UNSPECIFIED + .getNumber()) { output.writeEnum(3, failureReason_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(details_)) { @@ -2961,13 +3480,17 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(domain_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, domain_); } - if (state_ != com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, state_); + if (state_ + != com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.State.STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, state_); } - if (failureReason_ != com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason.FAILURE_REASON_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, failureReason_); + if (failureReason_ + != com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.FailureReason.FAILURE_REASON_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, failureReason_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(details_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, details_); @@ -2980,19 +3503,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.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo)) { + if (!(obj + instanceof + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo other = (com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo) obj; + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo + other = + (com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo) + obj; - if (!getDomain() - .equals(other.getDomain())) return false; + if (!getDomain().equals(other.getDomain())) return false; if (state_ != other.state_) return false; if (failureReason_ != other.failureReason_) return false; - if (!getDetails() - .equals(other.getDetails())) return false; + if (!getDetails().equals(other.getDetails())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -3017,88 +3546,117 @@ public int hashCode() { return hash; } - public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo parseDelimitedFrom( - java.io.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.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo + parseDelimitedFrom( + java.io.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.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3108,40 +3666,47 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * State of the latest attempt to authorize a domain for certificate
        * issuance.
        * 
* - * Protobuf type {@code google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo} + * Protobuf type {@code + * google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo) - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfoOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_AuthorizationAttemptInfo_descriptor; + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfoOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_AuthorizationAttemptInfo_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_AuthorizationAttemptInfo_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_AuthorizationAttemptInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.class, com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder.class); + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.class, + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.Builder.class); } - // Construct using com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3157,19 +3722,26 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_AuthorizationAttemptInfo_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_AuthorizationAttemptInfo_descriptor; } @java.lang.Override - public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo getDefaultInstanceForType() { - return com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.getDefaultInstance(); + public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo + getDefaultInstanceForType() { + return com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo build() { - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo result = buildPartial(); + public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo + build() { + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -3177,8 +3749,14 @@ public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.Aut } @java.lang.Override - public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo buildPartial() { - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo result = new com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo(this); + public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo + buildPartial() { + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo + result = + new com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo(this); result.domain_ = domain_; result.state_ = state_; result.failureReason_ = failureReason_; @@ -3191,46 +3769,60 @@ public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.Aut public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo) { - return mergeFrom((com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo)other); + if (other + instanceof + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo) { + return mergeFrom( + (com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo other) { - if (other == com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo + other) { + if (other + == com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.getDefaultInstance()) return this; if (!other.getDomain().isEmpty()) { domain_ = other.domain_; onChanged(); @@ -3271,32 +3863,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - domain_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 16: { - state_ = input.readEnum(); - - break; - } // case 16 - case 24: { - failureReason_ = input.readEnum(); - - break; - } // case 24 - case 34: { - details_ = input.readStringRequireUtf8(); - - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + domain_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 16: + { + state_ = input.readEnum(); + + break; + } // case 16 + case 24: + { + failureReason_ = input.readEnum(); + + break; + } // case 24 + case 34: + { + details_ = input.readStringRequireUtf8(); + + break; + } // case 34 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3309,18 +3906,20 @@ public Builder mergeFrom( private java.lang.Object domain_ = ""; /** + * + * *
          * Domain name of the authorization attempt.
          * 
* * string domain = 1; + * * @return The domain. */ public java.lang.String getDomain() { java.lang.Object ref = domain_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domain_ = s; return s; @@ -3329,20 +3928,21 @@ public java.lang.String getDomain() { } } /** + * + * *
          * Domain name of the authorization attempt.
          * 
* * string domain = 1; + * * @return The bytes for domain. */ - public com.google.protobuf.ByteString - getDomainBytes() { + public com.google.protobuf.ByteString getDomainBytes() { java.lang.Object ref = domain_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domain_ = b; return b; } else { @@ -3350,54 +3950,61 @@ public java.lang.String getDomain() { } } /** + * + * *
          * Domain name of the authorization attempt.
          * 
* * string domain = 1; + * * @param value The domain to set. * @return This builder for chaining. */ - public Builder setDomain( - java.lang.String value) { + public Builder setDomain(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domain_ = value; onChanged(); return this; } /** + * + * *
          * Domain name of the authorization attempt.
          * 
* * string domain = 1; + * * @return This builder for chaining. */ public Builder clearDomain() { - + domain_ = getDefaultInstance().getDomain(); onChanged(); return this; } /** + * + * *
          * Domain name of the authorization attempt.
          * 
* * string domain = 1; + * * @param value The bytes for domain to set. * @return This builder for chaining. */ - public Builder setDomainBytes( - com.google.protobuf.ByteString value) { + public Builder setDomainBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domain_ = value; onChanged(); return this; @@ -3405,73 +4012,111 @@ public Builder setDomainBytes( private int state_ = 0; /** + * + * *
          * Output only. State of the domain for managed certificate issuance.
          * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
          * Output only. State of the domain for managed certificate issuance.
          * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
          * Output only. State of the domain for managed certificate issuance.
          * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State getState() { + public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.State + getState() { @SuppressWarnings("deprecation") - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State result = com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State.valueOf(state_); - return result == null ? com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State.UNRECOGNIZED : result; + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.State + result = + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.State.valueOf(state_); + return result == null + ? com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.State.UNRECOGNIZED + : result; } /** + * + * *
          * Output only. State of the domain for managed certificate issuance.
          * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState(com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State value) { + public Builder setState( + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.State + value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
          * Output only. State of the domain for managed certificate issuance.
          * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -3479,78 +4124,116 @@ public Builder clearState() { private int failureReason_ = 0; /** + * + * *
          * Output only. Reason for failure of the authorization attempt for the
          * domain.
          * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason failure_reason = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason failure_reason = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for failureReason. */ - @java.lang.Override public int getFailureReasonValue() { + @java.lang.Override + public int getFailureReasonValue() { return failureReason_; } /** + * + * *
          * Output only. Reason for failure of the authorization attempt for the
          * domain.
          * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason failure_reason = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason failure_reason = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for failureReason to set. * @return This builder for chaining. */ public Builder setFailureReasonValue(int value) { - + failureReason_ = value; onChanged(); return this; } /** + * + * *
          * Output only. Reason for failure of the authorization attempt for the
          * domain.
          * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason failure_reason = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason failure_reason = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The failureReason. */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason getFailureReason() { + public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.FailureReason + getFailureReason() { @SuppressWarnings("deprecation") - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason result = com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason.valueOf(failureReason_); - return result == null ? com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason.UNRECOGNIZED : result; + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.FailureReason + result = + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.FailureReason.valueOf(failureReason_); + return result == null + ? com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.FailureReason.UNRECOGNIZED + : result; } /** + * + * *
          * Output only. Reason for failure of the authorization attempt for the
          * domain.
          * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason failure_reason = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason failure_reason = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The failureReason to set. * @return This builder for chaining. */ - public Builder setFailureReason(com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason value) { + public Builder setFailureReason( + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.FailureReason + value) { if (value == null) { throw new NullPointerException(); } - + failureReason_ = value.getNumber(); onChanged(); return this; } /** + * + * *
          * Output only. Reason for failure of the authorization attempt for the
          * domain.
          * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason failure_reason = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.FailureReason failure_reason = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearFailureReason() { - + failureReason_ = 0; onChanged(); return this; @@ -3558,6 +4241,8 @@ public Builder clearFailureReason() { private java.lang.Object details_ = ""; /** + * + * *
          * Output only. Human readable explanation for reaching the state.
          * Provided to help address the configuration issues. Not guaranteed to be
@@ -3565,13 +4250,13 @@ public Builder clearFailureReason() {
          * 
* * string details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The details. */ public java.lang.String getDetails() { java.lang.Object ref = details_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); details_ = s; return s; @@ -3580,6 +4265,8 @@ public java.lang.String getDetails() { } } /** + * + * *
          * Output only. Human readable explanation for reaching the state.
          * Provided to help address the configuration issues. Not guaranteed to be
@@ -3587,15 +4274,14 @@ public java.lang.String getDetails() {
          * 
* * string details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for details. */ - public com.google.protobuf.ByteString - getDetailsBytes() { + public com.google.protobuf.ByteString getDetailsBytes() { java.lang.Object ref = details_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); details_ = b; return b; } else { @@ -3603,6 +4289,8 @@ public java.lang.String getDetails() { } } /** + * + * *
          * Output only. Human readable explanation for reaching the state.
          * Provided to help address the configuration issues. Not guaranteed to be
@@ -3610,20 +4298,22 @@ public java.lang.String getDetails() {
          * 
* * string details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The details to set. * @return This builder for chaining. */ - public Builder setDetails( - java.lang.String value) { + public Builder setDetails(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + details_ = value; onChanged(); return this; } /** + * + * *
          * Output only. Human readable explanation for reaching the state.
          * Provided to help address the configuration issues. Not guaranteed to be
@@ -3631,15 +4321,18 @@ public Builder setDetails(
          * 
* * string details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearDetails() { - + details_ = getDefaultInstance().getDetails(); onChanged(); return this; } /** + * + * *
          * Output only. Human readable explanation for reaching the state.
          * Provided to help address the configuration issues. Not guaranteed to be
@@ -3647,20 +4340,21 @@ public Builder clearDetails() {
          * 
* * string details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for details to set. * @return This builder for chaining. */ - public Builder setDetailsBytes( - com.google.protobuf.ByteString value) { + public Builder setDetailsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + details_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3673,41 +4367,48 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo) - private static final com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo(); + DEFAULT_INSTANCE = + new com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo(); } - public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AuthorizationAttemptInfo parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AuthorizationAttemptInfo parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3719,15 +4420,18 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int DOMAINS_FIELD_NUMBER = 1; private com.google.protobuf.LazyStringList domains_; /** + * + * *
      * Immutable. The domains for which a managed SSL certificate will be
      * generated. Wildcard domains are only supported with DNS challenge
@@ -3735,13 +4439,15 @@ public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.Aut
      * 
* * repeated string domains = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return A list containing the domains. */ - public com.google.protobuf.ProtocolStringList - getDomainsList() { + public com.google.protobuf.ProtocolStringList getDomainsList() { return domains_; } /** + * + * *
      * Immutable. The domains for which a managed SSL certificate will be
      * generated. Wildcard domains are only supported with DNS challenge
@@ -3749,12 +4455,15 @@ public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.Aut
      * 
* * repeated string domains = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The count of domains. */ public int getDomainsCount() { return domains_.size(); } /** + * + * *
      * Immutable. The domains for which a managed SSL certificate will be
      * generated. Wildcard domains are only supported with DNS challenge
@@ -3762,6 +4471,7 @@ public int getDomainsCount() {
      * 
* * repeated string domains = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param index The index of the element to return. * @return The domains at the given index. */ @@ -3769,6 +4479,8 @@ public java.lang.String getDomains(int index) { return domains_.get(index); } /** + * + * *
      * Immutable. The domains for which a managed SSL certificate will be
      * generated. Wildcard domains are only supported with DNS challenge
@@ -3776,48 +4488,62 @@ public java.lang.String getDomains(int index) {
      * 
* * repeated string domains = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param index The index of the value to return. * @return The bytes of the domains at the given index. */ - public com.google.protobuf.ByteString - getDomainsBytes(int index) { + public com.google.protobuf.ByteString getDomainsBytes(int index) { return domains_.getByteString(index); } public static final int DNS_AUTHORIZATIONS_FIELD_NUMBER = 2; private com.google.protobuf.LazyStringList dnsAuthorizations_; /** + * + * *
      * Immutable. Authorizations that will be used for performing domain
      * authorization.
      * 
* - * repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return A list containing the dnsAuthorizations. */ - public com.google.protobuf.ProtocolStringList - getDnsAuthorizationsList() { + public com.google.protobuf.ProtocolStringList getDnsAuthorizationsList() { return dnsAuthorizations_; } /** + * + * *
      * Immutable. Authorizations that will be used for performing domain
      * authorization.
      * 
* - * repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The count of dnsAuthorizations. */ public int getDnsAuthorizationsCount() { return dnsAuthorizations_.size(); } /** + * + * *
      * Immutable. Authorizations that will be used for performing domain
      * authorization.
      * 
* - * repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the element to return. * @return The dnsAuthorizations at the given index. */ @@ -3825,23 +4551,29 @@ public java.lang.String getDnsAuthorizations(int index) { return dnsAuthorizations_.get(index); } /** + * + * *
      * Immutable. Authorizations that will be used for performing domain
      * authorization.
      * 
* - * repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the value to return. * @return The bytes of the dnsAuthorizations at the given index. */ - public com.google.protobuf.ByteString - getDnsAuthorizationsBytes(int index) { + public com.google.protobuf.ByteString getDnsAuthorizationsBytes(int index) { return dnsAuthorizations_.getByteString(index); } public static final int ISSUANCE_CONFIG_FIELD_NUMBER = 6; private volatile java.lang.Object issuanceConfig_; /** + * + * *
      * The resource name for a
      * [CertificateIssuanceConfig][google.cloud.certificatemanager.v1.CertificateIssuanceConfig]
@@ -3852,7 +4584,10 @@ public java.lang.String getDnsAuthorizations(int index) {
      * https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
      * 
* - * string issuance_config = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string issuance_config = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The issuanceConfig. */ @java.lang.Override @@ -3861,14 +4596,15 @@ public java.lang.String getIssuanceConfig() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issuanceConfig_ = s; return s; } } /** + * + * *
      * The resource name for a
      * [CertificateIssuanceConfig][google.cloud.certificatemanager.v1.CertificateIssuanceConfig]
@@ -3879,17 +4615,18 @@ public java.lang.String getIssuanceConfig() {
      * https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
      * 
* - * string issuance_config = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string issuance_config = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for issuanceConfig. */ @java.lang.Override - public com.google.protobuf.ByteString - getIssuanceConfigBytes() { + public com.google.protobuf.ByteString getIssuanceConfigBytes() { java.lang.Object ref = issuanceConfig_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); issuanceConfig_ = b; return b; } else { @@ -3900,39 +4637,61 @@ public java.lang.String getIssuanceConfig() { public static final int STATE_FIELD_NUMBER = 4; private int state_; /** + * + * *
      * Output only. State of the managed certificate resource.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State state = 4 [(.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. State of the managed certificate resource.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State getState() { + @java.lang.Override + public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State result = com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State.valueOf(state_); - return result == null ? com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State.UNRECOGNIZED : result; + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State result = + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State.valueOf( + state_); + return result == null + ? com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State.UNRECOGNIZED + : result; } public static final int PROVISIONING_ISSUE_FIELD_NUMBER = 3; - private com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioningIssue_; + private com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue + provisioningIssue_; /** + * + * *
      * Output only. Information about issues with provisioning a Managed
      * Certificate.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the provisioningIssue field is set. */ @java.lang.Override @@ -3940,97 +4699,145 @@ public boolean hasProvisioningIssue() { return provisioningIssue_ != null; } /** + * + * *
      * Output only. Information about issues with provisioning a Managed
      * Certificate.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The provisioningIssue. */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue getProvisioningIssue() { - return provisioningIssue_ == null ? com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.getDefaultInstance() : provisioningIssue_; + public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue + getProvisioningIssue() { + return provisioningIssue_ == null + ? com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue + .getDefaultInstance() + : provisioningIssue_; } /** + * + * *
      * Output only. Information about issues with provisioning a Managed
      * Certificate.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssueOrBuilder getProvisioningIssueOrBuilder() { + public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssueOrBuilder + getProvisioningIssueOrBuilder() { return getProvisioningIssue(); } public static final int AUTHORIZATION_ATTEMPT_INFO_FIELD_NUMBER = 5; - private java.util.List authorizationAttemptInfo_; + private java.util.List< + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo> + authorizationAttemptInfo_; /** + * + * *
      * Output only. Detailed state of the latest authorization attempt for each
      * domain specified for managed certificate resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List getAuthorizationAttemptInfoList() { + public java.util.List< + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo> + getAuthorizationAttemptInfoList() { return authorizationAttemptInfo_; } /** + * + * *
      * Output only. Detailed state of the latest authorization attempt for each
      * domain specified for managed certificate resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfoOrBuilder> getAuthorizationAttemptInfoOrBuilderList() { return authorizationAttemptInfo_; } /** + * + * *
      * Output only. Detailed state of the latest authorization attempt for each
      * domain specified for managed certificate resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getAuthorizationAttemptInfoCount() { return authorizationAttemptInfo_.size(); } /** + * + * *
      * Output only. Detailed state of the latest authorization attempt for each
      * domain specified for managed certificate resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo getAuthorizationAttemptInfo(int index) { + public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo + getAuthorizationAttemptInfo(int index) { return authorizationAttemptInfo_.get(index); } /** + * + * *
      * Output only. Detailed state of the latest authorization attempt for each
      * domain specified for managed certificate resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfoOrBuilder getAuthorizationAttemptInfoOrBuilder( - int index) { + public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfoOrBuilder + getAuthorizationAttemptInfoOrBuilder(int index) { return authorizationAttemptInfo_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4042,8 +4849,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < domains_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, domains_.getRaw(i)); } @@ -4053,7 +4859,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (provisioningIssue_ != null) { output.writeMessage(3, getProvisioningIssue()); } - if (state_ != com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State + .STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(4, state_); } for (int i = 0; i < authorizationAttemptInfo_.size(); i++) { @@ -4088,16 +4897,18 @@ public int getSerializedSize() { size += 1 * getDnsAuthorizationsList().size(); } if (provisioningIssue_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getProvisioningIssue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getProvisioningIssue()); } - if (state_ != com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, state_); + if (state_ + != com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State + .STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); } for (int i = 0; i < authorizationAttemptInfo_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, authorizationAttemptInfo_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, authorizationAttemptInfo_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(issuanceConfig_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, issuanceConfig_); @@ -4110,27 +4921,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.certificatemanager.v1.Certificate.ManagedCertificate)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate other = (com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate) obj; + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate other = + (com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate) obj; - if (!getDomainsList() - .equals(other.getDomainsList())) return false; - if (!getDnsAuthorizationsList() - .equals(other.getDnsAuthorizationsList())) return false; - if (!getIssuanceConfig() - .equals(other.getIssuanceConfig())) return false; + if (!getDomainsList().equals(other.getDomainsList())) return false; + if (!getDnsAuthorizationsList().equals(other.getDnsAuthorizationsList())) return false; + if (!getIssuanceConfig().equals(other.getIssuanceConfig())) return false; if (state_ != other.state_) return false; if (hasProvisioningIssue() != other.hasProvisioningIssue()) return false; if (hasProvisioningIssue()) { - if (!getProvisioningIssue() - .equals(other.getProvisioningIssue())) return false; + if (!getProvisioningIssue().equals(other.getProvisioningIssue())) return false; } - if (!getAuthorizationAttemptInfoList() - .equals(other.getAuthorizationAttemptInfoList())) return false; + if (!getAuthorizationAttemptInfoList().equals(other.getAuthorizationAttemptInfoList())) + return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -4168,87 +4976,95 @@ public int hashCode() { } public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate parseDelimitedFrom( - java.io.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.certificatemanager.v1.Certificate.ManagedCertificate + parseDelimitedFrom( + java.io.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.certificatemanager.v1.Certificate.ManagedCertificate parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4258,6 +5074,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Configuration and state of a Managed Certificate.
      * Certificate Manager provisions and renews Managed Certificates
@@ -4266,33 +5084,35 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.certificatemanager.v1.Certificate.ManagedCertificate}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.Certificate.ManagedCertificate)
         com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificateOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.certificatemanager.v1.CertificateManagerProto
+            .internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_fieldAccessorTable
+        return com.google.cloud.certificatemanager.v1.CertificateManagerProto
+            .internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.class, com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.Builder.class);
+                com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.class,
+                com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.Builder
+                    .class);
       }
 
-      // Construct using com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.newBuilder()
-      private Builder() {
-
-      }
+      // Construct using
+      // com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.newBuilder()
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -4321,19 +5141,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.certificatemanager.v1.CertificateManagerProto
+            .internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate getDefaultInstanceForType() {
-        return com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.getDefaultInstance();
+      public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate
+          getDefaultInstanceForType() {
+        return com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate build() {
-        com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate result = buildPartial();
+        com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -4342,7 +5165,8 @@ public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate bui
 
       @java.lang.Override
       public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate buildPartial() {
-        com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate result = new com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate(this);
+        com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate result =
+            new com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate(this);
         int from_bitField0_ = bitField0_;
         if (((bitField0_ & 0x00000001) != 0)) {
           domains_ = domains_.getUnmodifiableView();
@@ -4363,7 +5187,8 @@ public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate bui
         }
         if (authorizationAttemptInfoBuilder_ == null) {
           if (((bitField0_ & 0x00000004) != 0)) {
-            authorizationAttemptInfo_ = java.util.Collections.unmodifiableList(authorizationAttemptInfo_);
+            authorizationAttemptInfo_ =
+                java.util.Collections.unmodifiableList(authorizationAttemptInfo_);
             bitField0_ = (bitField0_ & ~0x00000004);
           }
           result.authorizationAttemptInfo_ = authorizationAttemptInfo_;
@@ -4378,46 +5203,54 @@ public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate bui
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
-        if (other instanceof com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate) {
-          return mergeFrom((com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate)other);
+        if (other
+            instanceof com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate) {
+          return mergeFrom(
+              (com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate other) {
-        if (other == com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate other) {
+        if (other
+            == com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate
+                .getDefaultInstance()) return this;
         if (!other.domains_.isEmpty()) {
           if (domains_.isEmpty()) {
             domains_ = other.domains_;
@@ -4466,9 +5299,10 @@ public Builder mergeFrom(com.google.cloud.certificatemanager.v1.Certificate.Mana
               authorizationAttemptInfoBuilder_ = null;
               authorizationAttemptInfo_ = other.authorizationAttemptInfo_;
               bitField0_ = (bitField0_ & ~0x00000004);
-              authorizationAttemptInfoBuilder_ = 
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                   getAuthorizationAttemptInfoFieldBuilder() : null;
+              authorizationAttemptInfoBuilder_ =
+                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                      ? getAuthorizationAttemptInfoFieldBuilder()
+                      : null;
             } else {
               authorizationAttemptInfoBuilder_.addAllMessages(other.authorizationAttemptInfo_);
             }
@@ -4500,54 +5334,63 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureDomainsIsMutable();
-                domains_.add(s);
-                break;
-              } // case 10
-              case 18: {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureDnsAuthorizationsIsMutable();
-                dnsAuthorizations_.add(s);
-                break;
-              } // case 18
-              case 26: {
-                input.readMessage(
-                    getProvisioningIssueFieldBuilder().getBuilder(),
-                    extensionRegistry);
+              case 10:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
+                  ensureDomainsIsMutable();
+                  domains_.add(s);
+                  break;
+                } // case 10
+              case 18:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
+                  ensureDnsAuthorizationsIsMutable();
+                  dnsAuthorizations_.add(s);
+                  break;
+                } // case 18
+              case 26:
+                {
+                  input.readMessage(
+                      getProvisioningIssueFieldBuilder().getBuilder(), extensionRegistry);
 
-                break;
-              } // case 26
-              case 32: {
-                state_ = input.readEnum();
+                  break;
+                } // case 26
+              case 32:
+                {
+                  state_ = input.readEnum();
 
-                break;
-              } // case 32
-              case 42: {
-                com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo m =
-                    input.readMessage(
-                        com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.parser(),
-                        extensionRegistry);
-                if (authorizationAttemptInfoBuilder_ == null) {
-                  ensureAuthorizationAttemptInfoIsMutable();
-                  authorizationAttemptInfo_.add(m);
-                } else {
-                  authorizationAttemptInfoBuilder_.addMessage(m);
-                }
-                break;
-              } // case 42
-              case 50: {
-                issuanceConfig_ = input.readStringRequireUtf8();
+                  break;
+                } // case 32
+              case 42:
+                {
+                  com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate
+                          .AuthorizationAttemptInfo
+                      m =
+                          input.readMessage(
+                              com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate
+                                  .AuthorizationAttemptInfo.parser(),
+                              extensionRegistry);
+                  if (authorizationAttemptInfoBuilder_ == null) {
+                    ensureAuthorizationAttemptInfoIsMutable();
+                    authorizationAttemptInfo_.add(m);
+                  } else {
+                    authorizationAttemptInfoBuilder_.addMessage(m);
+                  }
+                  break;
+                } // case 42
+              case 50:
+                {
+                  issuanceConfig_ = input.readStringRequireUtf8();
 
-                break;
-              } // case 50
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+                  break;
+                } // case 50
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -4557,16 +5400,21 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int bitField0_;
 
-      private com.google.protobuf.LazyStringList domains_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+      private com.google.protobuf.LazyStringList domains_ =
+          com.google.protobuf.LazyStringArrayList.EMPTY;
+
       private void ensureDomainsIsMutable() {
         if (!((bitField0_ & 0x00000001) != 0)) {
           domains_ = new com.google.protobuf.LazyStringArrayList(domains_);
           bitField0_ |= 0x00000001;
-         }
+        }
       }
       /**
+       *
+       *
        * 
        * Immutable. The domains for which a managed SSL certificate will be
        * generated. Wildcard domains are only supported with DNS challenge
@@ -4574,13 +5422,15 @@ private void ensureDomainsIsMutable() {
        * 
* * repeated string domains = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return A list containing the domains. */ - public com.google.protobuf.ProtocolStringList - getDomainsList() { + public com.google.protobuf.ProtocolStringList getDomainsList() { return domains_.getUnmodifiableView(); } /** + * + * *
        * Immutable. The domains for which a managed SSL certificate will be
        * generated. Wildcard domains are only supported with DNS challenge
@@ -4588,12 +5438,15 @@ private void ensureDomainsIsMutable() {
        * 
* * repeated string domains = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The count of domains. */ public int getDomainsCount() { return domains_.size(); } /** + * + * *
        * Immutable. The domains for which a managed SSL certificate will be
        * generated. Wildcard domains are only supported with DNS challenge
@@ -4601,6 +5454,7 @@ public int getDomainsCount() {
        * 
* * repeated string domains = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param index The index of the element to return. * @return The domains at the given index. */ @@ -4608,6 +5462,8 @@ public java.lang.String getDomains(int index) { return domains_.get(index); } /** + * + * *
        * Immutable. The domains for which a managed SSL certificate will be
        * generated. Wildcard domains are only supported with DNS challenge
@@ -4615,14 +5471,16 @@ public java.lang.String getDomains(int index) {
        * 
* * repeated string domains = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param index The index of the value to return. * @return The bytes of the domains at the given index. */ - public com.google.protobuf.ByteString - getDomainsBytes(int index) { + public com.google.protobuf.ByteString getDomainsBytes(int index) { return domains_.getByteString(index); } /** + * + * *
        * Immutable. The domains for which a managed SSL certificate will be
        * generated. Wildcard domains are only supported with DNS challenge
@@ -4630,21 +5488,23 @@ public java.lang.String getDomains(int index) {
        * 
* * repeated string domains = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param index The index to set the value at. * @param value The domains to set. * @return This builder for chaining. */ - public Builder setDomains( - int index, java.lang.String value) { + public Builder setDomains(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDomainsIsMutable(); + throw new NullPointerException(); + } + ensureDomainsIsMutable(); domains_.set(index, value); onChanged(); return this; } /** + * + * *
        * Immutable. The domains for which a managed SSL certificate will be
        * generated. Wildcard domains are only supported with DNS challenge
@@ -4652,20 +5512,22 @@ public Builder setDomains(
        * 
* * repeated string domains = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The domains to add. * @return This builder for chaining. */ - public Builder addDomains( - java.lang.String value) { + public Builder addDomains(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDomainsIsMutable(); + throw new NullPointerException(); + } + ensureDomainsIsMutable(); domains_.add(value); onChanged(); return this; } /** + * + * *
        * Immutable. The domains for which a managed SSL certificate will be
        * generated. Wildcard domains are only supported with DNS challenge
@@ -4673,18 +5535,19 @@ public Builder addDomains(
        * 
* * repeated string domains = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param values The domains to add. * @return This builder for chaining. */ - public Builder addAllDomains( - java.lang.Iterable values) { + public Builder addAllDomains(java.lang.Iterable values) { ensureDomainsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, domains_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, domains_); onChanged(); return this; } /** + * + * *
        * Immutable. The domains for which a managed SSL certificate will be
        * generated. Wildcard domains are only supported with DNS challenge
@@ -4692,6 +5555,7 @@ public Builder addAllDomains(
        * 
* * repeated string domains = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearDomains() { @@ -4701,6 +5565,8 @@ public Builder clearDomains() { return this; } /** + * + * *
        * Immutable. The domains for which a managed SSL certificate will be
        * generated. Wildcard domains are only supported with DNS challenge
@@ -4708,60 +5574,76 @@ public Builder clearDomains() {
        * 
* * repeated string domains = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @param value The bytes of the domains to add. * @return This builder for chaining. */ - public Builder addDomainsBytes( - com.google.protobuf.ByteString value) { + public Builder addDomainsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureDomainsIsMutable(); domains_.add(value); onChanged(); return this; } - private com.google.protobuf.LazyStringList dnsAuthorizations_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList dnsAuthorizations_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureDnsAuthorizationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { dnsAuthorizations_ = new com.google.protobuf.LazyStringArrayList(dnsAuthorizations_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
        * Immutable. Authorizations that will be used for performing domain
        * authorization.
        * 
* - * repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return A list containing the dnsAuthorizations. */ - public com.google.protobuf.ProtocolStringList - getDnsAuthorizationsList() { + public com.google.protobuf.ProtocolStringList getDnsAuthorizationsList() { return dnsAuthorizations_.getUnmodifiableView(); } /** + * + * *
        * Immutable. Authorizations that will be used for performing domain
        * authorization.
        * 
* - * repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The count of dnsAuthorizations. */ public int getDnsAuthorizationsCount() { return dnsAuthorizations_.size(); } /** + * + * *
        * Immutable. Authorizations that will be used for performing domain
        * authorization.
        * 
* - * repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the element to return. * @return The dnsAuthorizations at the given index. */ @@ -4769,85 +5651,105 @@ public java.lang.String getDnsAuthorizations(int index) { return dnsAuthorizations_.get(index); } /** + * + * *
        * Immutable. Authorizations that will be used for performing domain
        * authorization.
        * 
* - * repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @param index The index of the value to return. * @return The bytes of the dnsAuthorizations at the given index. */ - public com.google.protobuf.ByteString - getDnsAuthorizationsBytes(int index) { + public com.google.protobuf.ByteString getDnsAuthorizationsBytes(int index) { return dnsAuthorizations_.getByteString(index); } /** + * + * *
        * Immutable. Authorizations that will be used for performing domain
        * authorization.
        * 
* - * repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @param index The index to set the value at. * @param value The dnsAuthorizations to set. * @return This builder for chaining. */ - public Builder setDnsAuthorizations( - int index, java.lang.String value) { + public Builder setDnsAuthorizations(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDnsAuthorizationsIsMutable(); + throw new NullPointerException(); + } + ensureDnsAuthorizationsIsMutable(); dnsAuthorizations_.set(index, value); onChanged(); return this; } /** + * + * *
        * Immutable. Authorizations that will be used for performing domain
        * authorization.
        * 
* - * repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @param value The dnsAuthorizations to add. * @return This builder for chaining. */ - public Builder addDnsAuthorizations( - java.lang.String value) { + public Builder addDnsAuthorizations(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureDnsAuthorizationsIsMutable(); + throw new NullPointerException(); + } + ensureDnsAuthorizationsIsMutable(); dnsAuthorizations_.add(value); onChanged(); return this; } /** + * + * *
        * Immutable. Authorizations that will be used for performing domain
        * authorization.
        * 
* - * repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @param values The dnsAuthorizations to add. * @return This builder for chaining. */ - public Builder addAllDnsAuthorizations( - java.lang.Iterable values) { + public Builder addAllDnsAuthorizations(java.lang.Iterable values) { ensureDnsAuthorizationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dnsAuthorizations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dnsAuthorizations_); onChanged(); return this; } /** + * + * *
        * Immutable. Authorizations that will be used for performing domain
        * authorization.
        * 
* - * repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearDnsAuthorizations() { @@ -4857,21 +5759,25 @@ public Builder clearDnsAuthorizations() { return this; } /** + * + * *
        * Immutable. Authorizations that will be used for performing domain
        * authorization.
        * 
* - * repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * repeated string dns_authorizations = 2 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes of the dnsAuthorizations to add. * @return This builder for chaining. */ - public Builder addDnsAuthorizationsBytes( - com.google.protobuf.ByteString value) { + public Builder addDnsAuthorizationsBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureDnsAuthorizationsIsMutable(); dnsAuthorizations_.add(value); onChanged(); @@ -4880,6 +5786,8 @@ public Builder addDnsAuthorizationsBytes( private java.lang.Object issuanceConfig_ = ""; /** + * + * *
        * The resource name for a
        * [CertificateIssuanceConfig][google.cloud.certificatemanager.v1.CertificateIssuanceConfig]
@@ -4890,14 +5798,16 @@ public Builder addDnsAuthorizationsBytes(
        * https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
        * 
* - * string issuance_config = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string issuance_config = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The issuanceConfig. */ public java.lang.String getIssuanceConfig() { java.lang.Object ref = issuanceConfig_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); issuanceConfig_ = s; return s; @@ -4906,6 +5816,8 @@ public java.lang.String getIssuanceConfig() { } } /** + * + * *
        * The resource name for a
        * [CertificateIssuanceConfig][google.cloud.certificatemanager.v1.CertificateIssuanceConfig]
@@ -4916,16 +5828,17 @@ public java.lang.String getIssuanceConfig() {
        * https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
        * 
* - * string issuance_config = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string issuance_config = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for issuanceConfig. */ - public com.google.protobuf.ByteString - getIssuanceConfigBytes() { + public com.google.protobuf.ByteString getIssuanceConfigBytes() { java.lang.Object ref = issuanceConfig_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); issuanceConfig_ = b; return b; } else { @@ -4933,6 +5846,8 @@ public java.lang.String getIssuanceConfig() { } } /** + * + * *
        * The resource name for a
        * [CertificateIssuanceConfig][google.cloud.certificatemanager.v1.CertificateIssuanceConfig]
@@ -4943,21 +5858,25 @@ public java.lang.String getIssuanceConfig() {
        * https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
        * 
* - * string issuance_config = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string issuance_config = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @param value The issuanceConfig to set. * @return This builder for chaining. */ - public Builder setIssuanceConfig( - java.lang.String value) { + public Builder setIssuanceConfig(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + issuanceConfig_ = value; onChanged(); return this; } /** + * + * *
        * The resource name for a
        * [CertificateIssuanceConfig][google.cloud.certificatemanager.v1.CertificateIssuanceConfig]
@@ -4968,16 +5887,21 @@ public Builder setIssuanceConfig(
        * https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
        * 
* - * string issuance_config = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string issuance_config = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearIssuanceConfig() { - + issuanceConfig_ = getDefaultInstance().getIssuanceConfig(); onChanged(); return this; } /** + * + * *
        * The resource name for a
        * [CertificateIssuanceConfig][google.cloud.certificatemanager.v1.CertificateIssuanceConfig]
@@ -4988,17 +5912,19 @@ public Builder clearIssuanceConfig() {
        * https://cloud.google.com/load-balancing/docs/ssl-certificates/google-managed-certs#caa.
        * 
* - * string issuance_config = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * string issuance_config = 6 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for issuanceConfig to set. * @return This builder for chaining. */ - public Builder setIssuanceConfigBytes( - com.google.protobuf.ByteString value) { + public Builder setIssuanceConfigBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + issuanceConfig_ = value; onChanged(); return this; @@ -5006,118 +5932,179 @@ public Builder setIssuanceConfigBytes( private int state_ = 0; /** + * + * *
        * Output only. State of the managed certificate resource.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State state = 4 [(.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. State of the managed certificate resource.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State state = 4 [(.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. State of the managed certificate resource.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State getState() { + public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State + getState() { @SuppressWarnings("deprecation") - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State result = com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State.valueOf(state_); - return result == null ? com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State.UNRECOGNIZED : result; + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State result = + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State.valueOf( + state_); + return result == null + ? com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State + .UNRECOGNIZED + : result; } /** + * + * *
        * Output only. State of the managed certificate resource.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ - public Builder setState(com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State value) { + public Builder setState( + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State value) { if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
        * Output only. State of the managed certificate resource.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; } - private com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioningIssue_; + private com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue + provisioningIssue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue, com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Builder, com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssueOrBuilder> provisioningIssueBuilder_; + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue, + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue.Builder, + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssueOrBuilder> + provisioningIssueBuilder_; /** + * + * *
        * Output only. Information about issues with provisioning a Managed
        * Certificate.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the provisioningIssue field is set. */ public boolean hasProvisioningIssue() { return provisioningIssueBuilder_ != null || provisioningIssue_ != null; } /** + * + * *
        * Output only. Information about issues with provisioning a Managed
        * Certificate.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The provisioningIssue. */ - public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue getProvisioningIssue() { + public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue + getProvisioningIssue() { if (provisioningIssueBuilder_ == null) { - return provisioningIssue_ == null ? com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.getDefaultInstance() : provisioningIssue_; + return provisioningIssue_ == null + ? com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue.getDefaultInstance() + : provisioningIssue_; } else { return provisioningIssueBuilder_.getMessage(); } } /** + * + * *
        * Output only. Information about issues with provisioning a Managed
        * Certificate.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setProvisioningIssue(com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue value) { + public Builder setProvisioningIssue( + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue + value) { if (provisioningIssueBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5131,15 +6118,21 @@ public Builder setProvisioningIssue(com.google.cloud.certificatemanager.v1.Certi return this; } /** + * + * *
        * Output only. Information about issues with provisioning a Managed
        * Certificate.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setProvisioningIssue( - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Builder builderForValue) { + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue + .Builder + builderForValue) { if (provisioningIssueBuilder_ == null) { provisioningIssue_ = builderForValue.build(); onChanged(); @@ -5150,18 +6143,27 @@ public Builder setProvisioningIssue( return this; } /** + * + * *
        * Output only. Information about issues with provisioning a Managed
        * Certificate.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeProvisioningIssue(com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue value) { + public Builder mergeProvisioningIssue( + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue + value) { if (provisioningIssueBuilder_ == null) { if (provisioningIssue_ != null) { provisioningIssue_ = - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.newBuilder(provisioningIssue_).mergeFrom(value).buildPartial(); + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue.newBuilder(provisioningIssue_) + .mergeFrom(value) + .buildPartial(); } else { provisioningIssue_ = value; } @@ -5173,12 +6175,16 @@ public Builder mergeProvisioningIssue(com.google.cloud.certificatemanager.v1.Cer return this; } /** + * + * *
        * Output only. Information about issues with provisioning a Managed
        * Certificate.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearProvisioningIssue() { if (provisioningIssueBuilder_ == null) { @@ -5192,77 +6198,123 @@ public Builder clearProvisioningIssue() { return this; } /** + * + * *
        * Output only. Information about issues with provisioning a Managed
        * Certificate.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Builder getProvisioningIssueBuilder() { - + public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue + .Builder + getProvisioningIssueBuilder() { + onChanged(); return getProvisioningIssueFieldBuilder().getBuilder(); } /** + * + * *
        * Output only. Information about issues with provisioning a Managed
        * Certificate.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssueOrBuilder getProvisioningIssueOrBuilder() { + public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssueOrBuilder + getProvisioningIssueOrBuilder() { if (provisioningIssueBuilder_ != null) { return provisioningIssueBuilder_.getMessageOrBuilder(); } else { - return provisioningIssue_ == null ? - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.getDefaultInstance() : provisioningIssue_; + return provisioningIssue_ == null + ? com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue.getDefaultInstance() + : provisioningIssue_; } } /** + * + * *
        * Output only. Information about issues with provisioning a Managed
        * Certificate.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue, com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Builder, com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssueOrBuilder> + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue, + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue.Builder, + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssueOrBuilder> getProvisioningIssueFieldBuilder() { if (provisioningIssueBuilder_ == null) { - provisioningIssueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue, com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Builder, com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssueOrBuilder>( - getProvisioningIssue(), - getParentForChildren(), - isClean()); + provisioningIssueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue, + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue.Builder, + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssueOrBuilder>( + getProvisioningIssue(), getParentForChildren(), isClean()); provisioningIssue_ = null; } return provisioningIssueBuilder_; } - private java.util.List authorizationAttemptInfo_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo> + authorizationAttemptInfo_ = java.util.Collections.emptyList(); + private void ensureAuthorizationAttemptInfoIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - authorizationAttemptInfo_ = new java.util.ArrayList(authorizationAttemptInfo_); + authorizationAttemptInfo_ = + new java.util.ArrayList< + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo>(authorizationAttemptInfo_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo, com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder, com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfoOrBuilder> authorizationAttemptInfoBuilder_; + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo, + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.Builder, + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfoOrBuilder> + authorizationAttemptInfoBuilder_; /** + * + * *
        * Output only. Detailed state of the latest authorization attempt for each
        * domain specified for managed certificate resource.
        * 
* - * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List getAuthorizationAttemptInfoList() { + public java.util.List< + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo> + getAuthorizationAttemptInfoList() { if (authorizationAttemptInfoBuilder_ == null) { return java.util.Collections.unmodifiableList(authorizationAttemptInfo_); } else { @@ -5270,12 +6322,16 @@ public java.util.List * Output only. Detailed state of the latest authorization attempt for each * domain specified for managed certificate resource. *
* - * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getAuthorizationAttemptInfoCount() { if (authorizationAttemptInfoBuilder_ == null) { @@ -5285,14 +6341,20 @@ public int getAuthorizationAttemptInfoCount() { } } /** + * + * *
        * Output only. Detailed state of the latest authorization attempt for each
        * domain specified for managed certificate resource.
        * 
* - * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo getAuthorizationAttemptInfo(int index) { + public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo + getAuthorizationAttemptInfo(int index) { if (authorizationAttemptInfoBuilder_ == null) { return authorizationAttemptInfo_.get(index); } else { @@ -5300,15 +6362,22 @@ public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.Aut } } /** + * + * *
        * Output only. Detailed state of the latest authorization attempt for each
        * domain specified for managed certificate resource.
        * 
* - * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAuthorizationAttemptInfo( - int index, com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo value) { + int index, + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo + value) { if (authorizationAttemptInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5322,15 +6391,22 @@ public Builder setAuthorizationAttemptInfo( return this; } /** + * + * *
        * Output only. Detailed state of the latest authorization attempt for each
        * domain specified for managed certificate resource.
        * 
* - * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setAuthorizationAttemptInfo( - int index, com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder builderForValue) { + int index, + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.Builder + builderForValue) { if (authorizationAttemptInfoBuilder_ == null) { ensureAuthorizationAttemptInfoIsMutable(); authorizationAttemptInfo_.set(index, builderForValue.build()); @@ -5341,14 +6417,21 @@ public Builder setAuthorizationAttemptInfo( return this; } /** + * + * *
        * Output only. Detailed state of the latest authorization attempt for each
        * domain specified for managed certificate resource.
        * 
* - * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addAuthorizationAttemptInfo(com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo value) { + public Builder addAuthorizationAttemptInfo( + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo + value) { if (authorizationAttemptInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5362,15 +6445,22 @@ public Builder addAuthorizationAttemptInfo(com.google.cloud.certificatemanager.v return this; } /** + * + * *
        * Output only. Detailed state of the latest authorization attempt for each
        * domain specified for managed certificate resource.
        * 
* - * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAuthorizationAttemptInfo( - int index, com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo value) { + int index, + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo + value) { if (authorizationAttemptInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5384,15 +6474,21 @@ public Builder addAuthorizationAttemptInfo( return this; } /** + * + * *
        * Output only. Detailed state of the latest authorization attempt for each
        * domain specified for managed certificate resource.
        * 
* - * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAuthorizationAttemptInfo( - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder builderForValue) { + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.Builder + builderForValue) { if (authorizationAttemptInfoBuilder_ == null) { ensureAuthorizationAttemptInfoIsMutable(); authorizationAttemptInfo_.add(builderForValue.build()); @@ -5403,15 +6499,22 @@ public Builder addAuthorizationAttemptInfo( return this; } /** + * + * *
        * Output only. Detailed state of the latest authorization attempt for each
        * domain specified for managed certificate resource.
        * 
* - * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAuthorizationAttemptInfo( - int index, com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder builderForValue) { + int index, + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.Builder + builderForValue) { if (authorizationAttemptInfoBuilder_ == null) { ensureAuthorizationAttemptInfoIsMutable(); authorizationAttemptInfo_.add(index, builderForValue.build()); @@ -5422,19 +6525,26 @@ public Builder addAuthorizationAttemptInfo( return this; } /** + * + * *
        * Output only. Detailed state of the latest authorization attempt for each
        * domain specified for managed certificate resource.
        * 
* - * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllAuthorizationAttemptInfo( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo> + values) { if (authorizationAttemptInfoBuilder_ == null) { ensureAuthorizationAttemptInfoIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, authorizationAttemptInfo_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, authorizationAttemptInfo_); onChanged(); } else { authorizationAttemptInfoBuilder_.addAllMessages(values); @@ -5442,12 +6552,16 @@ public Builder addAllAuthorizationAttemptInfo( return this; } /** + * + * *
        * Output only. Detailed state of the latest authorization attempt for each
        * domain specified for managed certificate resource.
        * 
* - * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearAuthorizationAttemptInfo() { if (authorizationAttemptInfoBuilder_ == null) { @@ -5460,12 +6574,16 @@ public Builder clearAuthorizationAttemptInfo() { return this; } /** + * + * *
        * Output only. Detailed state of the latest authorization attempt for each
        * domain specified for managed certificate resource.
        * 
* - * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeAuthorizationAttemptInfo(int index) { if (authorizationAttemptInfoBuilder_ == null) { @@ -5478,42 +6596,60 @@ public Builder removeAuthorizationAttemptInfo(int index) { return this; } /** + * + * *
        * Output only. Detailed state of the latest authorization attempt for each
        * domain specified for managed certificate resource.
        * 
* - * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder getAuthorizationAttemptInfoBuilder( - int index) { + public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.Builder + getAuthorizationAttemptInfoBuilder(int index) { return getAuthorizationAttemptInfoFieldBuilder().getBuilder(index); } /** + * + * *
        * Output only. Detailed state of the latest authorization attempt for each
        * domain specified for managed certificate resource.
        * 
* - * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfoOrBuilder getAuthorizationAttemptInfoOrBuilder( - int index) { + public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfoOrBuilder + getAuthorizationAttemptInfoOrBuilder(int index) { if (authorizationAttemptInfoBuilder_ == null) { - return authorizationAttemptInfo_.get(index); } else { + return authorizationAttemptInfo_.get(index); + } else { return authorizationAttemptInfoBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Output only. Detailed state of the latest authorization attempt for each
        * domain specified for managed certificate resource.
        * 
* - * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getAuthorizationAttemptInfoOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfoOrBuilder> + getAuthorizationAttemptInfoOrBuilderList() { if (authorizationAttemptInfoBuilder_ != null) { return authorizationAttemptInfoBuilder_.getMessageOrBuilderList(); } else { @@ -5521,48 +6657,82 @@ public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.Aut } } /** + * + * *
        * Output only. Detailed state of the latest authorization attempt for each
        * domain specified for managed certificate resource.
        * 
* - * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder addAuthorizationAttemptInfoBuilder() { - return getAuthorizationAttemptInfoFieldBuilder().addBuilder( - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.getDefaultInstance()); + public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.Builder + addAuthorizationAttemptInfoBuilder() { + return getAuthorizationAttemptInfoFieldBuilder() + .addBuilder( + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.getDefaultInstance()); } /** + * + * *
        * Output only. Detailed state of the latest authorization attempt for each
        * domain specified for managed certificate resource.
        * 
* - * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder addAuthorizationAttemptInfoBuilder( - int index) { - return getAuthorizationAttemptInfoFieldBuilder().addBuilder( - index, com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.getDefaultInstance()); + public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.Builder + addAuthorizationAttemptInfoBuilder(int index) { + return getAuthorizationAttemptInfoFieldBuilder() + .addBuilder( + index, + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.getDefaultInstance()); } /** + * + * *
        * Output only. Detailed state of the latest authorization attempt for each
        * domain specified for managed certificate resource.
        * 
* - * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo authorization_attempt_info = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getAuthorizationAttemptInfoBuilderList() { + public java.util.List< + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.Builder> + getAuthorizationAttemptInfoBuilderList() { return getAuthorizationAttemptInfoFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo, com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder, com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfoOrBuilder> + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo, + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.Builder, + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfoOrBuilder> getAuthorizationAttemptInfoFieldBuilder() { if (authorizationAttemptInfoBuilder_ == null) { - authorizationAttemptInfoBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo, com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.Builder, com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfoOrBuilder>( + authorizationAttemptInfoBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo, + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo.Builder, + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfoOrBuilder>( authorizationAttemptInfo_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), @@ -5571,6 +6741,7 @@ public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.Aut } return authorizationAttemptInfoBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5583,41 +6754,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.Certificate.ManagedCertificate) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.Certificate.ManagedCertificate) - private static final com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate(); + DEFAULT_INSTANCE = + new com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate(); } - public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ManagedCertificate parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ManagedCertificate parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5629,21 +6804,24 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int typeCase_ = 0; private java.lang.Object type_; + public enum TypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { SELF_MANAGED(5), MANAGED(11), TYPE_NOT_SET(0); private final int value; + private TypeCase(int value) { this.value = value; } @@ -5659,32 +6837,38 @@ public static TypeCase valueOf(int value) { public static TypeCase forNumber(int value) { switch (value) { - case 5: return SELF_MANAGED; - case 11: return MANAGED; - case 0: return TYPE_NOT_SET; - default: return null; + case 5: + return SELF_MANAGED; + case 11: + return MANAGED; + case 0: + return TYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TypeCase - getTypeCase() { - return TypeCase.forNumber( - typeCase_); + public TypeCase getTypeCase() { + return TypeCase.forNumber(typeCase_); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * A user-defined name of the certificate. Certificate names must be unique
    * globally and match pattern `projects/*/locations/*/certificates/*`.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -5693,30 +6877,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; } } /** + * + * *
    * A user-defined name of the certificate. Certificate names must be unique
    * globally and match pattern `projects/*/locations/*/certificates/*`.
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -5727,11 +6911,14 @@ public java.lang.String getName() { public static final int DESCRIPTION_FIELD_NUMBER = 8; private volatile java.lang.Object description_; /** + * + * *
    * One or more paragraphs of text description of a certificate.
    * 
* * string description = 8; + * * @return The description. */ @java.lang.Override @@ -5740,29 +6927,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * One or more paragraphs of text description of a certificate.
    * 
* * string description = 8; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -5773,11 +6960,15 @@ public java.lang.String getDescription() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The creation timestamp of a Certificate.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -5785,11 +6976,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The creation timestamp of a Certificate.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -5797,11 +6992,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The creation timestamp of a Certificate.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -5811,11 +7009,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The last update timestamp of a Certificate.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -5823,11 +7025,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The last update timestamp of a Certificate.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -5835,11 +7041,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The last update timestamp of a Certificate.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -5847,24 +7056,23 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 4; + 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.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_Certificate_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_Certificate_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -5873,28 +7081,30 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Set of labels associated with a Certificate.
    * 
* * map<string, string> labels = 4; */ - @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * Set of labels associated with a Certificate.
    * 
@@ -5902,11 +7112,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Set of labels associated with a Certificate.
    * 
@@ -5914,16 +7125,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Set of labels associated with a Certificate.
    * 
@@ -5931,12 +7142,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -5945,11 +7155,15 @@ public java.lang.String getLabelsOrThrow( public static final int SELF_MANAGED_FIELD_NUMBER = 5; /** + * + * *
    * If set, defines data of a self-managed certificate.
    * 
* - * .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5; + * .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5; + * + * * @return Whether the selfManaged field is set. */ @java.lang.Override @@ -5957,42 +7171,56 @@ public boolean hasSelfManaged() { return typeCase_ == 5; } /** + * + * *
    * If set, defines data of a self-managed certificate.
    * 
* - * .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5; + * .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5; + * + * * @return The selfManaged. */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate getSelfManaged() { + public com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate + getSelfManaged() { if (typeCase_ == 5) { - return (com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate) type_; + return (com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate) type_; } - return com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.getDefaultInstance(); + return com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate + .getDefaultInstance(); } /** + * + * *
    * If set, defines data of a self-managed certificate.
    * 
* - * .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5; + * .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5; + * */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificateOrBuilder getSelfManagedOrBuilder() { + public com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificateOrBuilder + getSelfManagedOrBuilder() { if (typeCase_ == 5) { - return (com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate) type_; + return (com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate) type_; } - return com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.getDefaultInstance(); + return com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate + .getDefaultInstance(); } public static final int MANAGED_FIELD_NUMBER = 11; /** + * + * *
    * If set, contains configuration and state of a managed certificate.
    * 
* * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11; + * * @return Whether the managed field is set. */ @java.lang.Override @@ -6000,21 +7228,27 @@ public boolean hasManaged() { return typeCase_ == 11; } /** + * + * *
    * If set, contains configuration and state of a managed certificate.
    * 
* * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11; + * * @return The managed. */ @java.lang.Override public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate getManaged() { if (typeCase_ == 11) { - return (com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate) type_; + return (com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate) type_; } - return com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.getDefaultInstance(); + return com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .getDefaultInstance(); } /** + * + * *
    * If set, contains configuration and state of a managed certificate.
    * 
@@ -6022,16 +7256,20 @@ public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate get * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11; */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificateOrBuilder getManagedOrBuilder() { + public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificateOrBuilder + getManagedOrBuilder() { if (typeCase_ == 11) { - return (com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate) type_; + return (com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate) type_; } - return com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.getDefaultInstance(); + return com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .getDefaultInstance(); } public static final int SAN_DNSNAMES_FIELD_NUMBER = 6; private com.google.protobuf.LazyStringList sanDnsnames_; /** + * + * *
    * Output only. The list of Subject Alternative Names of dnsName type defined
    * in the certificate (see RFC 5280 4.2.1.6). Managed certificates that
@@ -6040,13 +7278,15 @@ public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificateOrBu
    * 
* * repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the sanDnsnames. */ - public com.google.protobuf.ProtocolStringList - getSanDnsnamesList() { + public com.google.protobuf.ProtocolStringList getSanDnsnamesList() { return sanDnsnames_; } /** + * + * *
    * Output only. The list of Subject Alternative Names of dnsName type defined
    * in the certificate (see RFC 5280 4.2.1.6). Managed certificates that
@@ -6055,12 +7295,15 @@ public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificateOrBu
    * 
* * repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of sanDnsnames. */ public int getSanDnsnamesCount() { return sanDnsnames_.size(); } /** + * + * *
    * Output only. The list of Subject Alternative Names of dnsName type defined
    * in the certificate (see RFC 5280 4.2.1.6). Managed certificates that
@@ -6069,6 +7312,7 @@ public int getSanDnsnamesCount() {
    * 
* * repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The sanDnsnames at the given index. */ @@ -6076,6 +7320,8 @@ public java.lang.String getSanDnsnames(int index) { return sanDnsnames_.get(index); } /** + * + * *
    * Output only. The list of Subject Alternative Names of dnsName type defined
    * in the certificate (see RFC 5280 4.2.1.6). Managed certificates that
@@ -6084,22 +7330,25 @@ public java.lang.String getSanDnsnames(int index) {
    * 
* * repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the sanDnsnames at the given index. */ - public com.google.protobuf.ByteString - getSanDnsnamesBytes(int index) { + public com.google.protobuf.ByteString getSanDnsnamesBytes(int index) { return sanDnsnames_.getByteString(index); } public static final int PEM_CERTIFICATE_FIELD_NUMBER = 9; private volatile java.lang.Object pemCertificate_; /** + * + * *
    * Output only. The PEM-encoded certificate chain.
    * 
* * string pem_certificate = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The pemCertificate. */ @java.lang.Override @@ -6108,29 +7357,29 @@ public java.lang.String getPemCertificate() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pemCertificate_ = s; return s; } } /** + * + * *
    * Output only. The PEM-encoded certificate chain.
    * 
* * string pem_certificate = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for pemCertificate. */ @java.lang.Override - public com.google.protobuf.ByteString - getPemCertificateBytes() { + public com.google.protobuf.ByteString getPemCertificateBytes() { java.lang.Object ref = pemCertificate_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pemCertificate_ = b; return b; } else { @@ -6141,11 +7390,15 @@ public java.lang.String getPemCertificate() { public static final int EXPIRE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp expireTime_; /** + * + * *
    * Output only. The expiry timestamp of a Certificate.
    * 
* - * .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expireTime field is set. */ @java.lang.Override @@ -6153,11 +7406,15 @@ public boolean hasExpireTime() { return expireTime_ != null; } /** + * + * *
    * Output only. The expiry timestamp of a Certificate.
    * 
* - * .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expireTime. */ @java.lang.Override @@ -6165,11 +7422,14 @@ public com.google.protobuf.Timestamp getExpireTime() { return expireTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : expireTime_; } /** + * + * *
    * Output only. The expiry timestamp of a Certificate.
    * 
* - * .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { @@ -6179,31 +7439,47 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { public static final int SCOPE_FIELD_NUMBER = 12; private int scope_; /** + * + * *
    * Immutable. The scope of the certificate.
    * 
* - * .google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override public int getScopeValue() { + @java.lang.Override + public int getScopeValue() { return scope_; } /** + * + * *
    * Immutable. The scope of the certificate.
    * 
* - * .google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The scope. */ - @java.lang.Override public com.google.cloud.certificatemanager.v1.Certificate.Scope getScope() { + @java.lang.Override + public com.google.cloud.certificatemanager.v1.Certificate.Scope getScope() { @SuppressWarnings("deprecation") - com.google.cloud.certificatemanager.v1.Certificate.Scope result = com.google.cloud.certificatemanager.v1.Certificate.Scope.valueOf(scope_); - return result == null ? com.google.cloud.certificatemanager.v1.Certificate.Scope.UNRECOGNIZED : result; + com.google.cloud.certificatemanager.v1.Certificate.Scope result = + com.google.cloud.certificatemanager.v1.Certificate.Scope.valueOf(scope_); + return result == null + ? com.google.cloud.certificatemanager.v1.Certificate.Scope.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6215,8 +7491,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -6226,14 +7501,11 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (updateTime_ != null) { output.writeMessage(3, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); if (typeCase_ == 5) { - output.writeMessage(5, (com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate) type_); + output.writeMessage( + 5, (com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate) type_); } for (int i = 0; i < sanDnsnames_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, sanDnsnames_.getRaw(i)); @@ -6248,7 +7520,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) com.google.protobuf.GeneratedMessageV3.writeString(output, 9, pemCertificate_); } if (typeCase_ == 11) { - output.writeMessage(11, (com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate) type_); + output.writeMessage( + 11, (com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate) type_); } if (scope_ != com.google.cloud.certificatemanager.v1.Certificate.Scope.DEFAULT.getNumber()) { output.writeEnum(12, scope_); @@ -6266,26 +7539,25 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateTime()); - } - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, labels__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); + } + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__); } if (typeCase_ == 5) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, (com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate) type_); } { int dataSize = 0; @@ -6296,8 +7568,7 @@ public int getSerializedSize() { size += 1 * getSanDnsnamesList().size(); } if (expireTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getExpireTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getExpireTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, description_); @@ -6306,12 +7577,12 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, pemCertificate_); } if (typeCase_ == 11) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, (com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate) type_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 11, (com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate) type_); } if (scope_ != com.google.cloud.certificatemanager.v1.Certificate.Scope.DEFAULT.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(12, scope_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(12, scope_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -6321,48 +7592,39 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.certificatemanager.v1.Certificate)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.Certificate other = (com.google.cloud.certificatemanager.v1.Certificate) obj; + com.google.cloud.certificatemanager.v1.Certificate other = + (com.google.cloud.certificatemanager.v1.Certificate) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; - } - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; - if (!getSanDnsnamesList() - .equals(other.getSanDnsnamesList())) return false; - if (!getPemCertificate() - .equals(other.getPemCertificate())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; + } + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getSanDnsnamesList().equals(other.getSanDnsnamesList())) return false; + if (!getPemCertificate().equals(other.getPemCertificate())) 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 (scope_ != other.scope_) return false; if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 5: - if (!getSelfManaged() - .equals(other.getSelfManaged())) return false; + if (!getSelfManaged().equals(other.getSelfManaged())) return false; break; case 11: - if (!getManaged() - .equals(other.getManaged())) return false; + if (!getManaged().equals(other.getManaged())) return false; break; case 0: default: @@ -6424,151 +7686,155 @@ public int hashCode() { } public static com.google.cloud.certificatemanager.v1.Certificate parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.Certificate parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.Certificate parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.Certificate parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.Certificate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.Certificate parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.Certificate parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.Certificate parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.Certificate parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.Certificate parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.Certificate parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.Certificate parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.Certificate parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.Certificate parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.certificatemanager.v1.Certificate prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 TLS certificate.
    * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.Certificate} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.Certificate) com.google.cloud.certificatemanager.v1.CertificateOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_Certificate_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_Certificate_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 4: 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 4: 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.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_Certificate_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_Certificate_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.Certificate.class, com.google.cloud.certificatemanager.v1.Certificate.Builder.class); + com.google.cloud.certificatemanager.v1.Certificate.class, + com.google.cloud.certificatemanager.v1.Certificate.Builder.class); } // Construct using com.google.cloud.certificatemanager.v1.Certificate.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -6613,9 +7879,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_Certificate_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_Certificate_descriptor; } @java.lang.Override @@ -6634,7 +7900,8 @@ public com.google.cloud.certificatemanager.v1.Certificate build() { @java.lang.Override public com.google.cloud.certificatemanager.v1.Certificate buildPartial() { - com.google.cloud.certificatemanager.v1.Certificate result = new com.google.cloud.certificatemanager.v1.Certificate(this); + com.google.cloud.certificatemanager.v1.Certificate result = + new com.google.cloud.certificatemanager.v1.Certificate(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.description_ = description_; @@ -6685,38 +7952,39 @@ public com.google.cloud.certificatemanager.v1.Certificate buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.certificatemanager.v1.Certificate) { - return mergeFrom((com.google.cloud.certificatemanager.v1.Certificate)other); + return mergeFrom((com.google.cloud.certificatemanager.v1.Certificate) other); } else { super.mergeFrom(other); return this; @@ -6724,7 +7992,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.certificatemanager.v1.Certificate other) { - if (other == com.google.cloud.certificatemanager.v1.Certificate.getDefaultInstance()) return this; + if (other == com.google.cloud.certificatemanager.v1.Certificate.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -6739,8 +8008,7 @@ public Builder mergeFrom(com.google.cloud.certificatemanager.v1.Certificate othe if (other.hasUpdateTime()) { mergeUpdateTime(other.getUpdateTime()); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); if (!other.sanDnsnames_.isEmpty()) { if (sanDnsnames_.isEmpty()) { sanDnsnames_ = other.sanDnsnames_; @@ -6762,17 +8030,20 @@ public Builder mergeFrom(com.google.cloud.certificatemanager.v1.Certificate othe setScopeValue(other.getScopeValue()); } switch (other.getTypeCase()) { - case SELF_MANAGED: { - mergeSelfManaged(other.getSelfManaged()); - break; - } - case MANAGED: { - mergeManaged(other.getManaged()); - break; - } - case TYPE_NOT_SET: { - break; - } + case SELF_MANAGED: + { + mergeSelfManaged(other.getSelfManaged()); + break; + } + case MANAGED: + { + mergeManaged(other.getManaged()); + break; + } + case TYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -6800,81 +8071,85 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); + case 10: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - case 26: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - case 34: { - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableLabels().getMutableMap().put( - labels__.getKey(), labels__.getValue()); - break; - } // case 34 - case 42: { - input.readMessage( - getSelfManagedFieldBuilder().getBuilder(), - extensionRegistry); - typeCase_ = 5; - break; - } // case 42 - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - ensureSanDnsnamesIsMutable(); - sanDnsnames_.add(s); - break; - } // case 50 - case 58: { - input.readMessage( - getExpireTimeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 26 + case 34: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + break; + } // case 34 + case 42: + { + input.readMessage(getSelfManagedFieldBuilder().getBuilder(), extensionRegistry); + typeCase_ = 5; + break; + } // case 42 + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureSanDnsnamesIsMutable(); + sanDnsnames_.add(s); + break; + } // case 50 + case 58: + { + input.readMessage(getExpireTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 58 - case 66: { - description_ = input.readStringRequireUtf8(); + break; + } // case 58 + case 66: + { + description_ = input.readStringRequireUtf8(); - break; - } // case 66 - case 74: { - pemCertificate_ = input.readStringRequireUtf8(); + break; + } // case 66 + case 74: + { + pemCertificate_ = input.readStringRequireUtf8(); - break; - } // case 74 - case 90: { - input.readMessage( - getManagedFieldBuilder().getBuilder(), - extensionRegistry); - typeCase_ = 11; - break; - } // case 90 - case 96: { - scope_ = input.readEnum(); + break; + } // case 74 + case 90: + { + input.readMessage(getManagedFieldBuilder().getBuilder(), extensionRegistry); + typeCase_ = 11; + break; + } // case 90 + case 96: + { + scope_ = input.readEnum(); - break; - } // case 96 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 96 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -6884,12 +8159,12 @@ public Builder mergeFrom( } // finally return this; } + private int typeCase_ = 0; private java.lang.Object type_; - public TypeCase - getTypeCase() { - return TypeCase.forNumber( - typeCase_); + + public TypeCase getTypeCase() { + return TypeCase.forNumber(typeCase_); } public Builder clearType() { @@ -6903,19 +8178,21 @@ public Builder clearType() { private java.lang.Object name_ = ""; /** + * + * *
      * A user-defined name of the certificate. Certificate names must be unique
      * globally and match pattern `projects/*/locations/*/certificates/*`.
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -6924,21 +8201,22 @@ public java.lang.String getName() { } } /** + * + * *
      * A user-defined name of the certificate. Certificate names must be unique
      * globally and match pattern `projects/*/locations/*/certificates/*`.
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -6946,57 +8224,64 @@ public java.lang.String getName() { } } /** + * + * *
      * A user-defined name of the certificate. Certificate names must be unique
      * globally and match pattern `projects/*/locations/*/certificates/*`.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * A user-defined name of the certificate. Certificate names must be unique
      * globally and match pattern `projects/*/locations/*/certificates/*`.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * A user-defined name of the certificate. Certificate names must be unique
      * globally and match pattern `projects/*/locations/*/certificates/*`.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -7004,18 +8289,20 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * One or more paragraphs of text description of a certificate.
      * 
* * string description = 8; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -7024,20 +8311,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * One or more paragraphs of text description of a certificate.
      * 
* * string description = 8; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -7045,54 +8333,61 @@ public java.lang.String getDescription() { } } /** + * + * *
      * One or more paragraphs of text description of a certificate.
      * 
* * string description = 8; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * One or more paragraphs of text description of a certificate.
      * 
* * string description = 8; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * One or more paragraphs of text description of a certificate.
      * 
* * string description = 8; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -7100,39 +8395,58 @@ public Builder setDescriptionBytes( 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 a Certificate.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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 a Certificate.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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 a Certificate.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -7148,14 +8462,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The creation timestamp of a Certificate.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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(); @@ -7166,17 +8483,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The creation timestamp of a Certificate.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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; } @@ -7188,11 +8509,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The creation timestamp of a Certificate.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -7206,48 +8531,64 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The creation timestamp of a Certificate.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The creation timestamp of a Certificate.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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 a Certificate.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -7255,39 +8596,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. The last update timestamp of a Certificate.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Output only. The last update timestamp of a Certificate.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The last update timestamp of a Certificate.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -7303,14 +8663,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The last update timestamp of a Certificate.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -7321,17 +8684,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The last update timestamp of a Certificate.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -7343,11 +8710,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The last update timestamp of a Certificate.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -7361,69 +8732,84 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The last update timestamp of a Certificate.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The last update timestamp of a Certificate.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. The last update timestamp of a Certificate.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; } - 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(); @@ -7435,28 +8821,30 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Set of labels associated with a Certificate.
      * 
* * map<string, string> labels = 4; */ - @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * Set of labels associated with a Certificate.
      * 
@@ -7464,11 +8852,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Set of labels associated with a Certificate.
      * 
@@ -7476,16 +8865,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Set of labels associated with a Certificate.
      * 
@@ -7493,12 +8883,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -7506,75 +8895,80 @@ public java.lang.String getLabelsOrThrow( } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Set of labels associated with a Certificate.
      * 
* * map<string, string> labels = 4; */ - - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Set of labels associated with a Certificate.
      * 
* * map<string, string> labels = 4; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableLabels().getMutableMap() - .put(key, value); + internalGetMutableLabels().getMutableMap().put(key, value); return this; } /** + * + * *
      * Set of labels associated with a Certificate.
      * 
* * map<string, string> labels = 4; */ - - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); return this; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate, com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.Builder, com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificateOrBuilder> selfManagedBuilder_; + com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate, + com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.Builder, + com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificateOrBuilder> + selfManagedBuilder_; /** + * + * *
      * If set, defines data of a self-managed certificate.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5; + * + * .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5; + * + * * @return Whether the selfManaged field is set. */ @java.lang.Override @@ -7582,35 +8976,48 @@ public boolean hasSelfManaged() { return typeCase_ == 5; } /** + * + * *
      * If set, defines data of a self-managed certificate.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5; + * + * .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5; + * + * * @return The selfManaged. */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate getSelfManaged() { + public com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate + getSelfManaged() { if (selfManagedBuilder_ == null) { if (typeCase_ == 5) { return (com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate) type_; } - return com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.getDefaultInstance(); + return com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate + .getDefaultInstance(); } else { if (typeCase_ == 5) { return selfManagedBuilder_.getMessage(); } - return com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.getDefaultInstance(); + return com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate + .getDefaultInstance(); } } /** + * + * *
      * If set, defines data of a self-managed certificate.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5; + * + * .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5; + * */ - public Builder setSelfManaged(com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate value) { + public Builder setSelfManaged( + com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate value) { if (selfManagedBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7624,14 +9031,19 @@ public Builder setSelfManaged(com.google.cloud.certificatemanager.v1.Certificate return this; } /** + * + * *
      * If set, defines data of a self-managed certificate.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5; + * + * .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5; + * */ public Builder setSelfManaged( - com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.Builder builderForValue) { + com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.Builder + builderForValue) { if (selfManagedBuilder_ == null) { type_ = builderForValue.build(); onChanged(); @@ -7642,18 +9054,29 @@ public Builder setSelfManaged( return this; } /** + * + * *
      * If set, defines data of a self-managed certificate.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5; + * + * .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5; + * */ - public Builder mergeSelfManaged(com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate value) { + public Builder mergeSelfManaged( + com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate value) { if (selfManagedBuilder_ == null) { - if (typeCase_ == 5 && - type_ != com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.getDefaultInstance()) { - type_ = com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.newBuilder((com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 5 + && type_ + != com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate + .getDefaultInstance()) { + type_ = + com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.newBuilder( + (com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate) + type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -7669,11 +9092,15 @@ public Builder mergeSelfManaged(com.google.cloud.certificatemanager.v1.Certifica return this; } /** + * + * *
      * If set, defines data of a self-managed certificate.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5; + * + * .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5; + * */ public Builder clearSelfManaged() { if (selfManagedBuilder_ == null) { @@ -7692,67 +9119,96 @@ public Builder clearSelfManaged() { return this; } /** + * + * *
      * If set, defines data of a self-managed certificate.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5; + * + * .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5; + * */ - public com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.Builder getSelfManagedBuilder() { + public com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.Builder + getSelfManagedBuilder() { return getSelfManagedFieldBuilder().getBuilder(); } /** + * + * *
      * If set, defines data of a self-managed certificate.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5; + * + * .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5; + * */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificateOrBuilder getSelfManagedOrBuilder() { + public com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificateOrBuilder + getSelfManagedOrBuilder() { if ((typeCase_ == 5) && (selfManagedBuilder_ != null)) { return selfManagedBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 5) { return (com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate) type_; } - return com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.getDefaultInstance(); + return com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate + .getDefaultInstance(); } } /** + * + * *
      * If set, defines data of a self-managed certificate.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5; + * + * .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate, com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.Builder, com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificateOrBuilder> + com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate, + com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.Builder, + com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificateOrBuilder> getSelfManagedFieldBuilder() { if (selfManagedBuilder_ == null) { if (!(typeCase_ == 5)) { - type_ = com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.getDefaultInstance(); - } - selfManagedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate, com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.Builder, com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificateOrBuilder>( + type_ = + com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate + .getDefaultInstance(); + } + selfManagedBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate, + com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.Builder, + com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificateOrBuilder>( (com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 5; - onChanged();; + onChanged(); + ; return selfManagedBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate, com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.Builder, com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificateOrBuilder> managedBuilder_; + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate, + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.Builder, + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificateOrBuilder> + managedBuilder_; /** + * + * *
      * If set, contains configuration and state of a managed certificate.
      * 
* * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11; + * * @return Whether the managed field is set. */ @java.lang.Override @@ -7760,11 +9216,14 @@ public boolean hasManaged() { return typeCase_ == 11; } /** + * + * *
      * If set, contains configuration and state of a managed certificate.
      * 
* * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11; + * * @return The managed. */ @java.lang.Override @@ -7773,22 +9232,27 @@ public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate get if (typeCase_ == 11) { return (com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate) type_; } - return com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.getDefaultInstance(); + return com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .getDefaultInstance(); } else { if (typeCase_ == 11) { return managedBuilder_.getMessage(); } - return com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.getDefaultInstance(); + return com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .getDefaultInstance(); } } /** + * + * *
      * If set, contains configuration and state of a managed certificate.
      * 
* * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11; */ - public Builder setManaged(com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate value) { + public Builder setManaged( + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate value) { if (managedBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -7802,6 +9266,8 @@ public Builder setManaged(com.google.cloud.certificatemanager.v1.Certificate.Man return this; } /** + * + * *
      * If set, contains configuration and state of a managed certificate.
      * 
@@ -7809,7 +9275,8 @@ public Builder setManaged(com.google.cloud.certificatemanager.v1.Certificate.Man * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11; */ public Builder setManaged( - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.Builder builderForValue) { + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.Builder + builderForValue) { if (managedBuilder_ == null) { type_ = builderForValue.build(); onChanged(); @@ -7820,18 +9287,26 @@ public Builder setManaged( return this; } /** + * + * *
      * If set, contains configuration and state of a managed certificate.
      * 
* * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11; */ - public Builder mergeManaged(com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate value) { + public Builder mergeManaged( + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate value) { if (managedBuilder_ == null) { - if (typeCase_ == 11 && - type_ != com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.getDefaultInstance()) { - type_ = com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.newBuilder((com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate) type_) - .mergeFrom(value).buildPartial(); + if (typeCase_ == 11 + && type_ + != com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .getDefaultInstance()) { + type_ = + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.newBuilder( + (com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate) type_) + .mergeFrom(value) + .buildPartial(); } else { type_ = value; } @@ -7847,6 +9322,8 @@ public Builder mergeManaged(com.google.cloud.certificatemanager.v1.Certificate.M return this; } /** + * + * *
      * If set, contains configuration and state of a managed certificate.
      * 
@@ -7870,16 +9347,21 @@ public Builder clearManaged() { return this; } /** + * + * *
      * If set, contains configuration and state of a managed certificate.
      * 
* * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11; */ - public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.Builder getManagedBuilder() { + public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.Builder + getManagedBuilder() { return getManagedFieldBuilder().getBuilder(); } /** + * + * *
      * If set, contains configuration and state of a managed certificate.
      * 
@@ -7887,17 +9369,21 @@ public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.Bui * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11; */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificateOrBuilder getManagedOrBuilder() { + public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificateOrBuilder + getManagedOrBuilder() { if ((typeCase_ == 11) && (managedBuilder_ != null)) { return managedBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 11) { return (com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate) type_; } - return com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.getDefaultInstance(); + return com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .getDefaultInstance(); } } /** + * + * *
      * If set, contains configuration and state of a managed certificate.
      * 
@@ -7905,32 +9391,44 @@ public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificateOrBu * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate, com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.Builder, com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificateOrBuilder> + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate, + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.Builder, + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificateOrBuilder> getManagedFieldBuilder() { if (managedBuilder_ == null) { if (!(typeCase_ == 11)) { - type_ = com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.getDefaultInstance(); - } - managedBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate, com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.Builder, com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificateOrBuilder>( + type_ = + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .getDefaultInstance(); + } + managedBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate, + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.Builder, + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificateOrBuilder>( (com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 11; - onChanged();; + onChanged(); + ; return managedBuilder_; } - private com.google.protobuf.LazyStringList sanDnsnames_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList sanDnsnames_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureSanDnsnamesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { sanDnsnames_ = new com.google.protobuf.LazyStringArrayList(sanDnsnames_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Output only. The list of Subject Alternative Names of dnsName type defined
      * in the certificate (see RFC 5280 4.2.1.6). Managed certificates that
@@ -7939,13 +9437,15 @@ private void ensureSanDnsnamesIsMutable() {
      * 
* * repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the sanDnsnames. */ - public com.google.protobuf.ProtocolStringList - getSanDnsnamesList() { + public com.google.protobuf.ProtocolStringList getSanDnsnamesList() { return sanDnsnames_.getUnmodifiableView(); } /** + * + * *
      * Output only. The list of Subject Alternative Names of dnsName type defined
      * in the certificate (see RFC 5280 4.2.1.6). Managed certificates that
@@ -7954,12 +9454,15 @@ private void ensureSanDnsnamesIsMutable() {
      * 
* * repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of sanDnsnames. */ public int getSanDnsnamesCount() { return sanDnsnames_.size(); } /** + * + * *
      * Output only. The list of Subject Alternative Names of dnsName type defined
      * in the certificate (see RFC 5280 4.2.1.6). Managed certificates that
@@ -7968,6 +9471,7 @@ public int getSanDnsnamesCount() {
      * 
* * repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The sanDnsnames at the given index. */ @@ -7975,6 +9479,8 @@ public java.lang.String getSanDnsnames(int index) { return sanDnsnames_.get(index); } /** + * + * *
      * Output only. The list of Subject Alternative Names of dnsName type defined
      * in the certificate (see RFC 5280 4.2.1.6). Managed certificates that
@@ -7983,14 +9489,16 @@ public java.lang.String getSanDnsnames(int index) {
      * 
* * repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the sanDnsnames at the given index. */ - public com.google.protobuf.ByteString - getSanDnsnamesBytes(int index) { + public com.google.protobuf.ByteString getSanDnsnamesBytes(int index) { return sanDnsnames_.getByteString(index); } /** + * + * *
      * Output only. The list of Subject Alternative Names of dnsName type defined
      * in the certificate (see RFC 5280 4.2.1.6). Managed certificates that
@@ -7999,21 +9507,23 @@ public java.lang.String getSanDnsnames(int index) {
      * 
* * repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index to set the value at. * @param value The sanDnsnames to set. * @return This builder for chaining. */ - public Builder setSanDnsnames( - int index, java.lang.String value) { + public Builder setSanDnsnames(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSanDnsnamesIsMutable(); + throw new NullPointerException(); + } + ensureSanDnsnamesIsMutable(); sanDnsnames_.set(index, value); onChanged(); return this; } /** + * + * *
      * Output only. The list of Subject Alternative Names of dnsName type defined
      * in the certificate (see RFC 5280 4.2.1.6). Managed certificates that
@@ -8022,20 +9532,22 @@ public Builder setSanDnsnames(
      * 
* * repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The sanDnsnames to add. * @return This builder for chaining. */ - public Builder addSanDnsnames( - java.lang.String value) { + public Builder addSanDnsnames(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureSanDnsnamesIsMutable(); + throw new NullPointerException(); + } + ensureSanDnsnamesIsMutable(); sanDnsnames_.add(value); onChanged(); return this; } /** + * + * *
      * Output only. The list of Subject Alternative Names of dnsName type defined
      * in the certificate (see RFC 5280 4.2.1.6). Managed certificates that
@@ -8044,18 +9556,19 @@ public Builder addSanDnsnames(
      * 
* * repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param values The sanDnsnames to add. * @return This builder for chaining. */ - public Builder addAllSanDnsnames( - java.lang.Iterable values) { + public Builder addAllSanDnsnames(java.lang.Iterable values) { ensureSanDnsnamesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, sanDnsnames_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, sanDnsnames_); onChanged(); return this; } /** + * + * *
      * Output only. The list of Subject Alternative Names of dnsName type defined
      * in the certificate (see RFC 5280 4.2.1.6). Managed certificates that
@@ -8064,6 +9577,7 @@ public Builder addAllSanDnsnames(
      * 
* * repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSanDnsnames() { @@ -8073,6 +9587,8 @@ public Builder clearSanDnsnames() { return this; } /** + * + * *
      * Output only. The list of Subject Alternative Names of dnsName type defined
      * in the certificate (see RFC 5280 4.2.1.6). Managed certificates that
@@ -8081,15 +9597,15 @@ public Builder clearSanDnsnames() {
      * 
* * repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes of the sanDnsnames to add. * @return This builder for chaining. */ - public Builder addSanDnsnamesBytes( - com.google.protobuf.ByteString value) { + public Builder addSanDnsnamesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureSanDnsnamesIsMutable(); sanDnsnames_.add(value); onChanged(); @@ -8098,18 +9614,20 @@ public Builder addSanDnsnamesBytes( private java.lang.Object pemCertificate_ = ""; /** + * + * *
      * Output only. The PEM-encoded certificate chain.
      * 
* * string pem_certificate = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The pemCertificate. */ public java.lang.String getPemCertificate() { java.lang.Object ref = pemCertificate_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pemCertificate_ = s; return s; @@ -8118,20 +9636,21 @@ public java.lang.String getPemCertificate() { } } /** + * + * *
      * Output only. The PEM-encoded certificate chain.
      * 
* * string pem_certificate = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for pemCertificate. */ - public com.google.protobuf.ByteString - getPemCertificateBytes() { + public com.google.protobuf.ByteString getPemCertificateBytes() { java.lang.Object ref = pemCertificate_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pemCertificate_ = b; return b; } else { @@ -8139,54 +9658,61 @@ public java.lang.String getPemCertificate() { } } /** + * + * *
      * Output only. The PEM-encoded certificate chain.
      * 
* * string pem_certificate = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The pemCertificate to set. * @return This builder for chaining. */ - public Builder setPemCertificate( - java.lang.String value) { + public Builder setPemCertificate(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pemCertificate_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The PEM-encoded certificate chain.
      * 
* * string pem_certificate = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPemCertificate() { - + pemCertificate_ = getDefaultInstance().getPemCertificate(); onChanged(); return this; } /** + * + * *
      * Output only. The PEM-encoded certificate chain.
      * 
* * string pem_certificate = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for pemCertificate to set. * @return This builder for chaining. */ - public Builder setPemCertificateBytes( - com.google.protobuf.ByteString value) { + public Builder setPemCertificateBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pemCertificate_ = value; onChanged(); return this; @@ -8194,39 +9720,58 @@ public Builder setPemCertificateBytes( 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 expiry timestamp of a Certificate.
      * 
* - * .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expireTime field is set. */ public boolean hasExpireTime() { return expireTimeBuilder_ != null || expireTime_ != null; } /** + * + * *
      * Output only. The expiry timestamp of a Certificate.
      * 
* - * .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 7 [(.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 expiry timestamp of a Certificate.
      * 
* - * .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setExpireTime(com.google.protobuf.Timestamp value) { if (expireTimeBuilder_ == null) { @@ -8242,14 +9787,17 @@ public Builder setExpireTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The expiry timestamp of a Certificate.
      * 
* - * .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 7 [(.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(); @@ -8260,17 +9808,21 @@ public Builder setExpireTime( return this; } /** + * + * *
      * Output only. The expiry timestamp of a Certificate.
      * 
* - * .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 7 [(.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; } @@ -8282,11 +9834,15 @@ public Builder mergeExpireTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The expiry timestamp of a Certificate.
      * 
* - * .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearExpireTime() { if (expireTimeBuilder_ == null) { @@ -8300,48 +9856,64 @@ public Builder clearExpireTime() { return this; } /** + * + * *
      * Output only. The expiry timestamp of a Certificate.
      * 
* - * .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder() { - + onChanged(); return getExpireTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The expiry timestamp of a Certificate.
      * 
* - * .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 7 [(.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 expiry timestamp of a Certificate.
      * 
* - * .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -8349,51 +9921,75 @@ public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder() { private int scope_ = 0; /** + * + * *
      * Immutable. The scope of the certificate.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for scope. */ - @java.lang.Override public int getScopeValue() { + @java.lang.Override + public int getScopeValue() { return scope_; } /** + * + * *
      * Immutable. The scope of the certificate.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The enum numeric value on the wire for scope to set. * @return This builder for chaining. */ public Builder setScopeValue(int value) { - + scope_ = value; onChanged(); return this; } /** + * + * *
      * Immutable. The scope of the certificate.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The scope. */ @java.lang.Override public com.google.cloud.certificatemanager.v1.Certificate.Scope getScope() { @SuppressWarnings("deprecation") - com.google.cloud.certificatemanager.v1.Certificate.Scope result = com.google.cloud.certificatemanager.v1.Certificate.Scope.valueOf(scope_); - return result == null ? com.google.cloud.certificatemanager.v1.Certificate.Scope.UNRECOGNIZED : result; + com.google.cloud.certificatemanager.v1.Certificate.Scope result = + com.google.cloud.certificatemanager.v1.Certificate.Scope.valueOf(scope_); + return result == null + ? com.google.cloud.certificatemanager.v1.Certificate.Scope.UNRECOGNIZED + : result; } /** + * + * *
      * Immutable. The scope of the certificate.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The scope to set. * @return This builder for chaining. */ @@ -8401,28 +9997,33 @@ public Builder setScope(com.google.cloud.certificatemanager.v1.Certificate.Scope if (value == null) { throw new NullPointerException(); } - + scope_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Immutable. The scope of the certificate.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearScope() { - + scope_ = 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); } @@ -8432,12 +10033,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.Certificate) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.Certificate) private static final com.google.cloud.certificatemanager.v1.Certificate DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.Certificate(); } @@ -8446,27 +10047,27 @@ public static com.google.cloud.certificatemanager.v1.Certificate getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Certificate parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Certificate parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8481,6 +10082,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.certificatemanager.v1.Certificate getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateIssuanceConfig.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateIssuanceConfig.java similarity index 58% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateIssuanceConfig.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateIssuanceConfig.java index 209d04a2ab57..6ecfb5a5943b 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateIssuanceConfig.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateIssuanceConfig.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/certificatemanager/v1/certificate_issuance_config.proto package com.google.cloud.certificatemanager.v1; /** + * + * *
  * CertificateIssuanceConfig specifies how to issue and manage a certificate.
  * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.CertificateIssuanceConfig} */ -public final class CertificateIssuanceConfig extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CertificateIssuanceConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.CertificateIssuanceConfig) CertificateIssuanceConfigOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CertificateIssuanceConfig.newBuilder() to construct. private CertificateIssuanceConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CertificateIssuanceConfig() { name_ = ""; description_ = ""; @@ -27,51 +45,54 @@ private CertificateIssuanceConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CertificateIssuanceConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_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 4: 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.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.class, com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Builder.class); + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.class, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Builder.class); } /** + * + * *
    * The type of keypair to generate.
    * 
* * Protobuf enum {@code google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm} */ - public enum KeyAlgorithm - implements com.google.protobuf.ProtocolMessageEnum { + public enum KeyAlgorithm implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified key algorithm.
      * 
@@ -80,6 +101,8 @@ public enum KeyAlgorithm */ KEY_ALGORITHM_UNSPECIFIED(0), /** + * + * *
      * Specifies RSA with a 2048-bit modulus.
      * 
@@ -88,6 +111,8 @@ public enum KeyAlgorithm */ RSA_2048(1), /** + * + * *
      * Specifies ECDSA with curve P256.
      * 
@@ -99,6 +124,8 @@ public enum KeyAlgorithm ; /** + * + * *
      * Unspecified key algorithm.
      * 
@@ -107,6 +134,8 @@ public enum KeyAlgorithm */ public static final int KEY_ALGORITHM_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Specifies RSA with a 2048-bit modulus.
      * 
@@ -115,6 +144,8 @@ public enum KeyAlgorithm */ public static final int RSA_2048_VALUE = 1; /** + * + * *
      * Specifies ECDSA with curve P256.
      * 
@@ -123,7 +154,6 @@ public enum KeyAlgorithm */ public static final int ECDSA_P256_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -148,49 +178,51 @@ public static KeyAlgorithm valueOf(int value) { */ public static KeyAlgorithm forNumber(int value) { switch (value) { - case 0: return KEY_ALGORITHM_UNSPECIFIED; - case 1: return RSA_2048; - case 4: return ECDSA_P256; - default: return null; + case 0: + return KEY_ALGORITHM_UNSPECIFIED; + case 1: + return RSA_2048; + case 4: + return ECDSA_P256; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - KeyAlgorithm> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public KeyAlgorithm findValueByNumber(int number) { - return KeyAlgorithm.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 KeyAlgorithm findValueByNumber(int number) { + return KeyAlgorithm.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.certificatemanager.v1.CertificateIssuanceConfig.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.getDescriptor() + .getEnumTypes() + .get(0); } private static final KeyAlgorithm[] VALUES = values(); - public static KeyAlgorithm valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static KeyAlgorithm valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -207,167 +239,219 @@ private KeyAlgorithm(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm) } - public interface CertificateAuthorityConfigOrBuilder extends + public interface CertificateAuthorityConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Defines a CertificateAuthorityServiceConfig.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig certificate_authority_service_config = 1; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig certificate_authority_service_config = 1; + * + * * @return Whether the certificateAuthorityServiceConfig field is set. */ boolean hasCertificateAuthorityServiceConfig(); /** + * + * *
      * Defines a CertificateAuthorityServiceConfig.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig certificate_authority_service_config = 1; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig certificate_authority_service_config = 1; + * + * * @return The certificateAuthorityServiceConfig. */ - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig getCertificateAuthorityServiceConfig(); + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig + .CertificateAuthorityServiceConfig + getCertificateAuthorityServiceConfig(); /** + * + * *
      * Defines a CertificateAuthorityServiceConfig.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig certificate_authority_service_config = 1; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig certificate_authority_service_config = 1; + * */ - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfigOrBuilder getCertificateAuthorityServiceConfigOrBuilder(); + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig + .CertificateAuthorityServiceConfigOrBuilder + getCertificateAuthorityServiceConfigOrBuilder(); - public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.KindCase getKindCase(); + public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.KindCase + getKindCase(); } /** + * + * *
    * The CA that issues the workload certificate. It includes CA address, type,
    * authentication to CA service, etc.
    * 
* - * Protobuf type {@code google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig} + * Protobuf type {@code + * google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig} */ - public static final class CertificateAuthorityConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CertificateAuthorityConfig + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig) CertificateAuthorityConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CertificateAuthorityConfig.newBuilder() to construct. private CertificateAuthorityConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CertificateAuthorityConfig() { - } + + private CertificateAuthorityConfig() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CertificateAuthorityConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.class, com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.Builder.class); + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.class, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.Builder.class); } - public interface CertificateAuthorityServiceConfigOrBuilder extends + public interface CertificateAuthorityServiceConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Required. A CA pool resource used to issue a certificate.
        * The CA pool string has a relative resource path following the form
        * "projects/{project}/locations/{location}/caPools/{ca_pool}".
        * 
* - * string ca_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string ca_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The caPool. */ java.lang.String getCaPool(); /** + * + * *
        * Required. A CA pool resource used to issue a certificate.
        * The CA pool string has a relative resource path following the form
        * "projects/{project}/locations/{location}/caPools/{ca_pool}".
        * 
* - * string ca_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string ca_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for caPool. */ - com.google.protobuf.ByteString - getCaPoolBytes(); + com.google.protobuf.ByteString getCaPoolBytes(); } /** + * + * *
      * Contains information required to contact CA service.
      * 
* - * Protobuf type {@code google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig} + * Protobuf type {@code + * google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig} */ - public static final class CertificateAuthorityServiceConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class CertificateAuthorityServiceConfig + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig) CertificateAuthorityServiceConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CertificateAuthorityServiceConfig.newBuilder() to construct. - private CertificateAuthorityServiceConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CertificateAuthorityServiceConfig( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CertificateAuthorityServiceConfig() { caPool_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CertificateAuthorityServiceConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig.class, com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig.Builder.class); + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig.class, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig.Builder.class); } public static final int CA_POOL_FIELD_NUMBER = 1; private volatile java.lang.Object caPool_; /** + * + * *
        * Required. A CA pool resource used to issue a certificate.
        * The CA pool string has a relative resource path following the form
        * "projects/{project}/locations/{location}/caPools/{ca_pool}".
        * 
* - * string ca_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string ca_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The caPool. */ @java.lang.Override @@ -376,31 +460,33 @@ public java.lang.String getCaPool() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); caPool_ = s; return s; } } /** + * + * *
        * Required. A CA pool resource used to issue a certificate.
        * The CA pool string has a relative resource path following the form
        * "projects/{project}/locations/{location}/caPools/{ca_pool}".
        * 
* - * string ca_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string ca_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for caPool. */ @java.lang.Override - public com.google.protobuf.ByteString - getCaPoolBytes() { + public com.google.protobuf.ByteString getCaPoolBytes() { java.lang.Object ref = caPool_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); caPool_ = b; return b; } else { @@ -409,6 +495,7 @@ public java.lang.String getCaPool() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -420,8 +507,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(caPool_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, caPool_); } @@ -445,15 +531,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.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig)) { + if (!(obj + instanceof + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig other = (com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig) obj; - - if (!getCaPool() - .equals(other.getCaPool())) return false; + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig + .CertificateAuthorityServiceConfig + other = + (com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig) + obj; + + if (!getCaPool().equals(other.getCaPool())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -472,88 +565,117 @@ public int hashCode() { return hash; } - public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig parseDelimitedFrom( - java.io.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.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig + parseDelimitedFrom( + java.io.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.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -563,39 +685,46 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Contains information required to contact CA service.
        * 
* - * Protobuf type {@code google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig} + * Protobuf type {@code + * google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig) - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig_descriptor; + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig.class, com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig.Builder.class); + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig.class, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig.Builder.class); } - // Construct using com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -605,19 +734,26 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig_descriptor; } @java.lang.Override - public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig getDefaultInstanceForType() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig.getDefaultInstance(); + public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig + getDefaultInstanceForType() { + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig build() { - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig result = buildPartial(); + public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig + build() { + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -625,8 +761,14 @@ public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Certific } @java.lang.Override - public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig buildPartial() { - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig result = new com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig(this); + public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig + buildPartial() { + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig + result = + new com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig(this); result.caPool_ = caPool_; onBuilt(); return result; @@ -636,46 +778,61 @@ public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Certific public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig) { - return mergeFrom((com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig)other); + if (other + instanceof + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig) { + return mergeFrom( + (com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig other) { - if (other == com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig + other) { + if (other + == com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig + .getDefaultInstance()) return this; if (!other.getCaPool().isEmpty()) { caPool_ = other.caPool_; onChanged(); @@ -706,17 +863,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - caPool_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + caPool_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -729,20 +888,24 @@ public Builder mergeFrom( private java.lang.Object caPool_ = ""; /** + * + * *
          * Required. A CA pool resource used to issue a certificate.
          * The CA pool string has a relative resource path following the form
          * "projects/{project}/locations/{location}/caPools/{ca_pool}".
          * 
* - * string ca_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string ca_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The caPool. */ public java.lang.String getCaPool() { java.lang.Object ref = caPool_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); caPool_ = s; return s; @@ -751,22 +914,25 @@ public java.lang.String getCaPool() { } } /** + * + * *
          * Required. A CA pool resource used to issue a certificate.
          * The CA pool string has a relative resource path following the form
          * "projects/{project}/locations/{location}/caPools/{ca_pool}".
          * 
* - * string ca_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string ca_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for caPool. */ - public com.google.protobuf.ByteString - getCaPoolBytes() { + public com.google.protobuf.ByteString getCaPoolBytes() { java.lang.Object ref = caPool_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); caPool_ = b; return b; } else { @@ -774,64 +940,78 @@ public java.lang.String getCaPool() { } } /** + * + * *
          * Required. A CA pool resource used to issue a certificate.
          * The CA pool string has a relative resource path following the form
          * "projects/{project}/locations/{location}/caPools/{ca_pool}".
          * 
* - * string ca_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string ca_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The caPool to set. * @return This builder for chaining. */ - public Builder setCaPool( - java.lang.String value) { + public Builder setCaPool(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + caPool_ = value; onChanged(); return this; } /** + * + * *
          * Required. A CA pool resource used to issue a certificate.
          * The CA pool string has a relative resource path following the form
          * "projects/{project}/locations/{location}/caPools/{ca_pool}".
          * 
* - * string ca_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string ca_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return This builder for chaining. */ public Builder clearCaPool() { - + caPool_ = getDefaultInstance().getCaPool(); onChanged(); return this; } /** + * + * *
          * Required. A CA pool resource used to issue a certificate.
          * The CA pool string has a relative resource path following the form
          * "projects/{project}/locations/{location}/caPools/{ca_pool}".
          * 
* - * string ca_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string ca_pool = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for caPool to set. * @return This builder for chaining. */ - public Builder setCaPoolBytes( - com.google.protobuf.ByteString value) { + public Builder setCaPoolBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + caPool_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -844,41 +1024,48 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig) - private static final com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig(); + DEFAULT_INSTANCE = + new com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig(); } - public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CertificateAuthorityServiceConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CertificateAuthorityServiceConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -890,20 +1077,24 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int kindCase_ = 0; private java.lang.Object kind_; + public enum KindCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { CERTIFICATE_AUTHORITY_SERVICE_CONFIG(1), KIND_NOT_SET(0); private final int value; + private KindCase(int value) { this.value = value; } @@ -919,29 +1110,36 @@ public static KindCase valueOf(int value) { public static KindCase forNumber(int value) { switch (value) { - case 1: return CERTIFICATE_AUTHORITY_SERVICE_CONFIG; - case 0: return KIND_NOT_SET; - default: return null; + case 1: + return CERTIFICATE_AUTHORITY_SERVICE_CONFIG; + case 0: + return KIND_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public KindCase - getKindCase() { - return KindCase.forNumber( - kindCase_); + public KindCase getKindCase() { + return KindCase.forNumber(kindCase_); } public static final int CERTIFICATE_AUTHORITY_SERVICE_CONFIG_FIELD_NUMBER = 1; /** + * + * *
      * Defines a CertificateAuthorityServiceConfig.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig certificate_authority_service_config = 1; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig certificate_authority_service_config = 1; + * + * * @return Whether the certificateAuthorityServiceConfig field is set. */ @java.lang.Override @@ -949,36 +1147,56 @@ public boolean hasCertificateAuthorityServiceConfig() { return kindCase_ == 1; } /** + * + * *
      * Defines a CertificateAuthorityServiceConfig.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig certificate_authority_service_config = 1; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig certificate_authority_service_config = 1; + * + * * @return The certificateAuthorityServiceConfig. */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig getCertificateAuthorityServiceConfig() { + public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig + getCertificateAuthorityServiceConfig() { if (kindCase_ == 1) { - return (com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig) kind_; + return (com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig) + kind_; } - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig.getDefaultInstance(); + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig.getDefaultInstance(); } /** + * + * *
      * Defines a CertificateAuthorityServiceConfig.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig certificate_authority_service_config = 1; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig certificate_authority_service_config = 1; + * */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfigOrBuilder getCertificateAuthorityServiceConfigOrBuilder() { + public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfigOrBuilder + getCertificateAuthorityServiceConfigOrBuilder() { if (kindCase_ == 1) { - return (com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig) kind_; + return (com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig) + kind_; } - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig.getDefaultInstance(); + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -990,10 +1208,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 (kindCase_ == 1) { - output.writeMessage(1, (com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig) kind_); + output.writeMessage( + 1, + (com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig) + kind_); } getUnknownFields().writeTo(output); } @@ -1005,8 +1226,12 @@ public int getSerializedSize() { size = 0; if (kindCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig) kind_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, + (com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig) + kind_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1016,12 +1241,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.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig)) { + if (!(obj + instanceof + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig other = (com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig) obj; + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig + other = + (com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig) + obj; if (!getKindCase().equals(other.getKindCase())) return false; switch (kindCase_) { @@ -1056,88 +1288,114 @@ public int hashCode() { return hash; } - public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig parseDelimitedFrom( - java.io.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.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig + parseDelimitedFrom( + java.io.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.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig + prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1147,40 +1405,47 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * The CA that issues the workload certificate. It includes CA address, type,
      * authentication to CA service, etc.
      * 
* - * Protobuf type {@code google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig} + * Protobuf type {@code + * google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig) - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_descriptor; + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfigOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.class, com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.Builder.class); + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.class, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.Builder.class); } - // Construct using com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1193,19 +1458,25 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_descriptor; } @java.lang.Override - public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig getDefaultInstanceForType() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.getDefaultInstance(); + public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig + getDefaultInstanceForType() { + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.getDefaultInstance(); } @java.lang.Override - public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig build() { - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig result = buildPartial(); + public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig + build() { + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig + result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1213,8 +1484,13 @@ public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Certific } @java.lang.Override - public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig buildPartial() { - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig result = new com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig(this); + public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig + buildPartial() { + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig + result = + new com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig(this); if (kindCase_ == 1) { if (certificateAuthorityServiceConfigBuilder_ == null) { result.kind_ = kind_; @@ -1231,54 +1507,70 @@ public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Certific public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig) { - return mergeFrom((com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig)other); + if (other + instanceof + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig) { + return mergeFrom( + (com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig other) { - if (other == com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig + other) { + if (other + == com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.getDefaultInstance()) return this; switch (other.getKindCase()) { - case CERTIFICATE_AUTHORITY_SERVICE_CONFIG: { - mergeCertificateAuthorityServiceConfig(other.getCertificateAuthorityServiceConfig()); - break; - } - case KIND_NOT_SET: { - break; - } + case CERTIFICATE_AUTHORITY_SERVICE_CONFIG: + { + mergeCertificateAuthorityServiceConfig(other.getCertificateAuthorityServiceConfig()); + break; + } + case KIND_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1306,19 +1598,21 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCertificateAuthorityServiceConfigFieldBuilder().getBuilder(), - extensionRegistry); - kindCase_ = 1; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage( + getCertificateAuthorityServiceConfigFieldBuilder().getBuilder(), + extensionRegistry); + kindCase_ = 1; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1328,12 +1622,12 @@ public Builder mergeFrom( } // finally return this; } + private int kindCase_ = 0; private java.lang.Object kind_; - public KindCase - getKindCase() { - return KindCase.forNumber( - kindCase_); + + public KindCase getKindCase() { + return KindCase.forNumber(kindCase_); } public Builder clearKind() { @@ -1343,15 +1637,25 @@ public Builder clearKind() { return this; } - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig, com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig.Builder, com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfigOrBuilder> certificateAuthorityServiceConfigBuilder_; + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig.Builder, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfigOrBuilder> + certificateAuthorityServiceConfigBuilder_; /** + * + * *
        * Defines a CertificateAuthorityServiceConfig.
        * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig certificate_authority_service_config = 1; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig certificate_authority_service_config = 1; + * + * * @return Whether the certificateAuthorityServiceConfig field is set. */ @java.lang.Override @@ -1359,35 +1663,53 @@ public boolean hasCertificateAuthorityServiceConfig() { return kindCase_ == 1; } /** + * + * *
        * Defines a CertificateAuthorityServiceConfig.
        * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig certificate_authority_service_config = 1; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig certificate_authority_service_config = 1; + * + * * @return The certificateAuthorityServiceConfig. */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig getCertificateAuthorityServiceConfig() { + public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig + getCertificateAuthorityServiceConfig() { if (certificateAuthorityServiceConfigBuilder_ == null) { if (kindCase_ == 1) { - return (com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig) kind_; + return (com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig) + kind_; } - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig.getDefaultInstance(); + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig.getDefaultInstance(); } else { if (kindCase_ == 1) { return certificateAuthorityServiceConfigBuilder_.getMessage(); } - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig.getDefaultInstance(); + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig.getDefaultInstance(); } } /** + * + * *
        * Defines a CertificateAuthorityServiceConfig.
        * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig certificate_authority_service_config = 1; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig certificate_authority_service_config = 1; + * */ - public Builder setCertificateAuthorityServiceConfig(com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig value) { + public Builder setCertificateAuthorityServiceConfig( + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig + value) { if (certificateAuthorityServiceConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1401,14 +1723,20 @@ public Builder setCertificateAuthorityServiceConfig(com.google.cloud.certificate return this; } /** + * + * *
        * Defines a CertificateAuthorityServiceConfig.
        * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig certificate_authority_service_config = 1; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig certificate_authority_service_config = 1; + * */ public Builder setCertificateAuthorityServiceConfig( - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig.Builder builderForValue) { + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig.Builder + builderForValue) { if (certificateAuthorityServiceConfigBuilder_ == null) { kind_ = builderForValue.build(); onChanged(); @@ -1419,18 +1747,34 @@ public Builder setCertificateAuthorityServiceConfig( return this; } /** + * + * *
        * Defines a CertificateAuthorityServiceConfig.
        * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig certificate_authority_service_config = 1; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig certificate_authority_service_config = 1; + * */ - public Builder mergeCertificateAuthorityServiceConfig(com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig value) { + public Builder mergeCertificateAuthorityServiceConfig( + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig + value) { if (certificateAuthorityServiceConfigBuilder_ == null) { - if (kindCase_ == 1 && - kind_ != com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig.getDefaultInstance()) { - kind_ = com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig.newBuilder((com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig) kind_) - .mergeFrom(value).buildPartial(); + if (kindCase_ == 1 + && kind_ + != com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig + .getDefaultInstance()) { + kind_ = + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig.newBuilder( + (com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig) + kind_) + .mergeFrom(value) + .buildPartial(); } else { kind_ = value; } @@ -1446,11 +1790,15 @@ public Builder mergeCertificateAuthorityServiceConfig(com.google.cloud.certifica return this; } /** + * + * *
        * Defines a CertificateAuthorityServiceConfig.
        * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig certificate_authority_service_config = 1; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig certificate_authority_service_config = 1; + * */ public Builder clearCertificateAuthorityServiceConfig() { if (certificateAuthorityServiceConfigBuilder_ == null) { @@ -1469,58 +1817,95 @@ public Builder clearCertificateAuthorityServiceConfig() { return this; } /** + * + * *
        * Defines a CertificateAuthorityServiceConfig.
        * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig certificate_authority_service_config = 1; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig certificate_authority_service_config = 1; + * */ - public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig.Builder getCertificateAuthorityServiceConfigBuilder() { + public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig.Builder + getCertificateAuthorityServiceConfigBuilder() { return getCertificateAuthorityServiceConfigFieldBuilder().getBuilder(); } /** + * + * *
        * Defines a CertificateAuthorityServiceConfig.
        * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig certificate_authority_service_config = 1; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig certificate_authority_service_config = 1; + * */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfigOrBuilder getCertificateAuthorityServiceConfigOrBuilder() { + public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfigOrBuilder + getCertificateAuthorityServiceConfigOrBuilder() { if ((kindCase_ == 1) && (certificateAuthorityServiceConfigBuilder_ != null)) { return certificateAuthorityServiceConfigBuilder_.getMessageOrBuilder(); } else { if (kindCase_ == 1) { - return (com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig) kind_; + return (com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig) + kind_; } - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig.getDefaultInstance(); + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig.getDefaultInstance(); } } /** + * + * *
        * Defines a CertificateAuthorityServiceConfig.
        * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig certificate_authority_service_config = 1; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig certificate_authority_service_config = 1; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig, com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig.Builder, com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfigOrBuilder> + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig.Builder, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfigOrBuilder> getCertificateAuthorityServiceConfigFieldBuilder() { if (certificateAuthorityServiceConfigBuilder_ == null) { if (!(kindCase_ == 1)) { - kind_ = com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig.getDefaultInstance(); + kind_ = + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig + .getDefaultInstance(); } - certificateAuthorityServiceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig, com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig.Builder, com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfigOrBuilder>( - (com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.CertificateAuthorityServiceConfig) kind_, + certificateAuthorityServiceConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig.Builder, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfigOrBuilder>( + (com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.CertificateAuthorityServiceConfig) + kind_, getParentForChildren(), isClean()); kind_ = null; } kindCase_ = 1; - onChanged();; + onChanged(); + ; return certificateAuthorityServiceConfigBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1533,41 +1918,48 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig) - private static final com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig(); + DEFAULT_INSTANCE = + new com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig(); } - public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CertificateAuthorityConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CertificateAuthorityConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1579,15 +1971,18 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * A user-defined name of the certificate issuance config.
    * CertificateIssuanceConfig names must be unique globally and match pattern
@@ -1595,6 +1990,7 @@ public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Certific
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -1603,14 +1999,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * A user-defined name of the certificate issuance config.
    * CertificateIssuanceConfig names must be unique globally and match pattern
@@ -1618,16 +2015,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1638,11 +2034,15 @@ public java.lang.String getName() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The creation timestamp of a CertificateIssuanceConfig.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1650,11 +2050,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The creation timestamp of a CertificateIssuanceConfig.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -1662,11 +2066,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The creation timestamp of a CertificateIssuanceConfig.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -1676,11 +2083,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The last update timestamp of a CertificateIssuanceConfig.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1688,11 +2099,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The last update timestamp of a CertificateIssuanceConfig.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -1700,11 +2115,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The last update timestamp of a CertificateIssuanceConfig.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -1712,24 +2130,23 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 4; + 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.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_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.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_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_; } @@ -1738,28 +2155,30 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Set of labels associated with a CertificateIssuanceConfig.
    * 
* * map<string, string> labels = 4; */ - @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * Set of labels associated with a CertificateIssuanceConfig.
    * 
@@ -1767,11 +2186,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Set of labels associated with a CertificateIssuanceConfig.
    * 
@@ -1779,16 +2199,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Set of labels associated with a CertificateIssuanceConfig.
    * 
@@ -1796,12 +2216,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1811,11 +2230,14 @@ public java.lang.String getLabelsOrThrow( public static final int DESCRIPTION_FIELD_NUMBER = 5; private volatile java.lang.Object description_; /** + * + * *
    * One or more paragraphs of text description of a CertificateIssuanceConfig.
    * 
* * string description = 5; + * * @return The description. */ @java.lang.Override @@ -1824,29 +2246,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * One or more paragraphs of text description of a CertificateIssuanceConfig.
    * 
* * string description = 5; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1855,14 +2277,21 @@ public java.lang.String getDescription() { } public static final int CERTIFICATE_AUTHORITY_CONFIG_FIELD_NUMBER = 6; - private com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificateAuthorityConfig_; + private com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig + certificateAuthorityConfig_; /** + * + * *
    * Required. The CA that issues the workload certificate. It includes the CA
    * address, type, authentication to CA service, etc.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificate_authority_config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificate_authority_config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the certificateAuthorityConfig field is set. */ @java.lang.Override @@ -1870,39 +2299,57 @@ public boolean hasCertificateAuthorityConfig() { return certificateAuthorityConfig_ != null; } /** + * + * *
    * Required. The CA that issues the workload certificate. It includes the CA
    * address, type, authentication to CA service, etc.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificate_authority_config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificate_authority_config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The certificateAuthorityConfig. */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig getCertificateAuthorityConfig() { - return certificateAuthorityConfig_ == null ? com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.getDefaultInstance() : certificateAuthorityConfig_; + public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig + getCertificateAuthorityConfig() { + return certificateAuthorityConfig_ == null + ? com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.getDefaultInstance() + : certificateAuthorityConfig_; } /** + * + * *
    * Required. The CA that issues the workload certificate. It includes the CA
    * address, type, authentication to CA service, etc.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificate_authority_config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificate_authority_config = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfigOrBuilder getCertificateAuthorityConfigOrBuilder() { + public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfigOrBuilder + getCertificateAuthorityConfigOrBuilder() { return getCertificateAuthorityConfig(); } public static final int LIFETIME_FIELD_NUMBER = 7; private com.google.protobuf.Duration lifetime_; /** + * + * *
    * Required. Workload certificate lifetime requested.
    * 
* * .google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the lifetime field is set. */ @java.lang.Override @@ -1910,11 +2357,14 @@ public boolean hasLifetime() { return lifetime_ != null; } /** + * + * *
    * Required. Workload certificate lifetime requested.
    * 
* * .google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The lifetime. */ @java.lang.Override @@ -1922,6 +2372,8 @@ public com.google.protobuf.Duration getLifetime() { return lifetime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : lifetime_; } /** + * + * *
    * Required. Workload certificate lifetime requested.
    * 
@@ -1936,6 +2388,8 @@ public com.google.protobuf.DurationOrBuilder getLifetimeOrBuilder() { public static final int ROTATION_WINDOW_PERCENTAGE_FIELD_NUMBER = 8; private int rotationWindowPercentage_; /** + * + * *
    * Required. Specifies the percentage of elapsed time of the certificate
    * lifetime to wait before renewing the certificate. Must be a number between
@@ -1943,6 +2397,7 @@ public com.google.protobuf.DurationOrBuilder getLifetimeOrBuilder() {
    * 
* * int32 rotation_window_percentage = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The rotationWindowPercentage. */ @java.lang.Override @@ -1953,31 +2408,49 @@ public int getRotationWindowPercentage() { public static final int KEY_ALGORITHM_FIELD_NUMBER = 9; private int keyAlgorithm_; /** + * + * *
    * Required. The key algorithm to use when generating the private key.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm key_algorithm = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm key_algorithm = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for keyAlgorithm. */ - @java.lang.Override public int getKeyAlgorithmValue() { + @java.lang.Override + public int getKeyAlgorithmValue() { return keyAlgorithm_; } /** + * + * *
    * Required. The key algorithm to use when generating the private key.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm key_algorithm = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm key_algorithm = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The keyAlgorithm. */ - @java.lang.Override public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm getKeyAlgorithm() { + @java.lang.Override + public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm + getKeyAlgorithm() { @SuppressWarnings("deprecation") - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm result = com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm.valueOf(keyAlgorithm_); - return result == null ? com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm.UNRECOGNIZED : result; + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm result = + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm.valueOf( + keyAlgorithm_); + return result == null + ? com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1989,8 +2462,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -2000,12 +2472,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (updateTime_ != null) { output.writeMessage(3, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, description_); } @@ -2018,7 +2486,10 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (rotationWindowPercentage_ != 0) { output.writeInt32(8, rotationWindowPercentage_); } - if (keyAlgorithm_ != com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm.KEY_ALGORITHM_UNSPECIFIED.getNumber()) { + if (keyAlgorithm_ + != com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm + .KEY_ALGORITHM_UNSPECIFIED + .getNumber()) { output.writeEnum(9, keyAlgorithm_); } getUnknownFields().writeTo(output); @@ -2034,41 +2505,40 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateTime()); - } - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, labels__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); + } + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_); } if (certificateAuthorityConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getCertificateAuthorityConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, getCertificateAuthorityConfig()); } if (lifetime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getLifetime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getLifetime()); } if (rotationWindowPercentage_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(8, rotationWindowPercentage_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(8, rotationWindowPercentage_); } - if (keyAlgorithm_ != com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm.KEY_ALGORITHM_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(9, keyAlgorithm_); + if (keyAlgorithm_ + != com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm + .KEY_ALGORITHM_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, keyAlgorithm_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2078,41 +2548,35 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig other = (com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig) obj; + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig other = + (com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (hasCertificateAuthorityConfig() != other.hasCertificateAuthorityConfig()) return false; if (hasCertificateAuthorityConfig()) { - if (!getCertificateAuthorityConfig() - .equals(other.getCertificateAuthorityConfig())) return false; + if (!getCertificateAuthorityConfig().equals(other.getCertificateAuthorityConfig())) + return false; } if (hasLifetime() != other.hasLifetime()) return false; if (hasLifetime()) { - if (!getLifetime() - .equals(other.getLifetime())) return false; + if (!getLifetime().equals(other.getLifetime())) return false; } - if (getRotationWindowPercentage() - != other.getRotationWindowPercentage()) return false; + if (getRotationWindowPercentage() != other.getRotationWindowPercentage()) return false; if (keyAlgorithm_ != other.keyAlgorithm_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2159,151 +2623,156 @@ public int hashCode() { } public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * CertificateIssuanceConfig specifies how to issue and manage a certificate.
    * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.CertificateIssuanceConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.CertificateIssuanceConfig) com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 4: 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 4: 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.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.class, com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Builder.class); + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.class, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Builder.class); } // Construct using com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2344,13 +2813,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_descriptor; } @java.lang.Override - public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + getDefaultInstanceForType() { return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.getDefaultInstance(); } @@ -2365,7 +2835,8 @@ public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig build() @java.lang.Override public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig buildPartial() { - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig result = new com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig(this); + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig result = + new com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig(this); int from_bitField0_ = bitField0_; result.name_ = name_; if (createTimeBuilder_ == null) { @@ -2401,46 +2872,50 @@ public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig 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.certificatemanager.v1.CertificateIssuanceConfig) { - return mergeFrom((com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig)other); + return mergeFrom((com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig other) { - if (other == com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig other) { + if (other + == com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -2451,8 +2926,7 @@ public Builder mergeFrom(com.google.cloud.certificatemanager.v1.CertificateIssua if (other.hasUpdateTime()) { mergeUpdateTime(other.getUpdateTime()); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); if (!other.getDescription().isEmpty()) { description_ = other.description_; onChanged(); @@ -2495,68 +2969,73 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); + case 10: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - case 26: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - case 34: { - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableLabels().getMutableMap().put( - labels__.getKey(), labels__.getValue()); - break; - } // case 34 - case 42: { - description_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + break; + } // case 34 + case 42: + { + description_ = input.readStringRequireUtf8(); - break; - } // case 42 - case 50: { - input.readMessage( - getCertificateAuthorityConfigFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 42 + case 50: + { + input.readMessage( + getCertificateAuthorityConfigFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 50 - case 58: { - input.readMessage( - getLifetimeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 50 + case 58: + { + input.readMessage(getLifetimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 58 - case 64: { - rotationWindowPercentage_ = input.readInt32(); + break; + } // case 58 + case 64: + { + rotationWindowPercentage_ = input.readInt32(); - break; - } // case 64 - case 72: { - keyAlgorithm_ = input.readEnum(); + break; + } // case 64 + case 72: + { + keyAlgorithm_ = input.readEnum(); - break; - } // case 72 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 72 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2566,10 +3045,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * A user-defined name of the certificate issuance config.
      * CertificateIssuanceConfig names must be unique globally and match pattern
@@ -2577,13 +3059,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2592,6 +3074,8 @@ public java.lang.String getName() { } } /** + * + * *
      * A user-defined name of the certificate issuance config.
      * CertificateIssuanceConfig names must be unique globally and match pattern
@@ -2599,15 +3083,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -2615,6 +3098,8 @@ public java.lang.String getName() { } } /** + * + * *
      * A user-defined name of the certificate issuance config.
      * CertificateIssuanceConfig names must be unique globally and match pattern
@@ -2622,20 +3107,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * A user-defined name of the certificate issuance config.
      * CertificateIssuanceConfig names must be unique globally and match pattern
@@ -2643,15 +3130,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * A user-defined name of the certificate issuance config.
      * CertificateIssuanceConfig names must be unique globally and match pattern
@@ -2659,16 +3149,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2676,39 +3166,58 @@ public Builder setNameBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The creation timestamp of a CertificateIssuanceConfig.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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 a CertificateIssuanceConfig.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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 a CertificateIssuanceConfig.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2724,14 +3233,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The creation timestamp of a CertificateIssuanceConfig.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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(); @@ -2742,17 +3254,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The creation timestamp of a CertificateIssuanceConfig.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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; } @@ -2764,11 +3280,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The creation timestamp of a CertificateIssuanceConfig.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -2782,48 +3302,64 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The creation timestamp of a CertificateIssuanceConfig.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The creation timestamp of a CertificateIssuanceConfig.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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 a CertificateIssuanceConfig.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -2831,39 +3367,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. The last update timestamp of a CertificateIssuanceConfig.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Output only. The last update timestamp of a CertificateIssuanceConfig.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The last update timestamp of a CertificateIssuanceConfig.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2879,14 +3434,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The last update timestamp of a CertificateIssuanceConfig.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -2897,17 +3455,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The last update timestamp of a CertificateIssuanceConfig.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -2919,11 +3481,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The last update timestamp of a CertificateIssuanceConfig.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -2937,69 +3503,84 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The last update timestamp of a CertificateIssuanceConfig.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The last update timestamp of a CertificateIssuanceConfig.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. The last update timestamp of a CertificateIssuanceConfig.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; } - 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(); @@ -3011,28 +3592,30 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Set of labels associated with a CertificateIssuanceConfig.
      * 
* * map<string, string> labels = 4; */ - @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * Set of labels associated with a CertificateIssuanceConfig.
      * 
@@ -3040,11 +3623,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Set of labels associated with a CertificateIssuanceConfig.
      * 
@@ -3052,16 +3636,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Set of labels associated with a CertificateIssuanceConfig.
      * 
@@ -3069,12 +3654,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -3082,81 +3666,80 @@ public java.lang.String getLabelsOrThrow( } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Set of labels associated with a CertificateIssuanceConfig.
      * 
* * map<string, string> labels = 4; */ - - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Set of labels associated with a CertificateIssuanceConfig.
      * 
* * map<string, string> labels = 4; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableLabels().getMutableMap() - .put(key, value); + internalGetMutableLabels().getMutableMap().put(key, value); return this; } /** + * + * *
      * Set of labels associated with a CertificateIssuanceConfig.
      * 
* * map<string, string> labels = 4; */ - - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); return this; } private java.lang.Object description_ = ""; /** + * + * *
      * One or more paragraphs of text description of a CertificateIssuanceConfig.
      * 
* * string description = 5; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -3165,20 +3748,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * One or more paragraphs of text description of a CertificateIssuanceConfig.
      * 
* * string description = 5; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -3186,99 +3770,135 @@ public java.lang.String getDescription() { } } /** + * + * *
      * One or more paragraphs of text description of a CertificateIssuanceConfig.
      * 
* * string description = 5; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * One or more paragraphs of text description of a CertificateIssuanceConfig.
      * 
* * string description = 5; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * One or more paragraphs of text description of a CertificateIssuanceConfig.
      * 
* * string description = 5; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; } - private com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificateAuthorityConfig_; + private com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig + certificateAuthorityConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig, com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.Builder, com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfigOrBuilder> certificateAuthorityConfigBuilder_; + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.Builder, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfigOrBuilder> + certificateAuthorityConfigBuilder_; /** + * + * *
      * Required. The CA that issues the workload certificate. It includes the CA
      * address, type, authentication to CA service, etc.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificate_authority_config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificate_authority_config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the certificateAuthorityConfig field is set. */ public boolean hasCertificateAuthorityConfig() { return certificateAuthorityConfigBuilder_ != null || certificateAuthorityConfig_ != null; } /** + * + * *
      * Required. The CA that issues the workload certificate. It includes the CA
      * address, type, authentication to CA service, etc.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificate_authority_config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificate_authority_config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The certificateAuthorityConfig. */ - public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig getCertificateAuthorityConfig() { + public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig + getCertificateAuthorityConfig() { if (certificateAuthorityConfigBuilder_ == null) { - return certificateAuthorityConfig_ == null ? com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.getDefaultInstance() : certificateAuthorityConfig_; + return certificateAuthorityConfig_ == null + ? com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.getDefaultInstance() + : certificateAuthorityConfig_; } else { return certificateAuthorityConfigBuilder_.getMessage(); } } /** + * + * *
      * Required. The CA that issues the workload certificate. It includes the CA
      * address, type, authentication to CA service, etc.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificate_authority_config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificate_authority_config = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCertificateAuthorityConfig(com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig value) { + public Builder setCertificateAuthorityConfig( + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig + value) { if (certificateAuthorityConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3292,15 +3912,21 @@ public Builder setCertificateAuthorityConfig(com.google.cloud.certificatemanager return this; } /** + * + * *
      * Required. The CA that issues the workload certificate. It includes the CA
      * address, type, authentication to CA service, etc.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificate_authority_config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificate_authority_config = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCertificateAuthorityConfig( - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.Builder builderForValue) { + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig + .Builder + builderForValue) { if (certificateAuthorityConfigBuilder_ == null) { certificateAuthorityConfig_ = builderForValue.build(); onChanged(); @@ -3311,18 +3937,27 @@ public Builder setCertificateAuthorityConfig( return this; } /** + * + * *
      * Required. The CA that issues the workload certificate. It includes the CA
      * address, type, authentication to CA service, etc.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificate_authority_config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificate_authority_config = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeCertificateAuthorityConfig(com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig value) { + public Builder mergeCertificateAuthorityConfig( + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig + value) { if (certificateAuthorityConfigBuilder_ == null) { if (certificateAuthorityConfig_ != null) { certificateAuthorityConfig_ = - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.newBuilder(certificateAuthorityConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.newBuilder(certificateAuthorityConfig_) + .mergeFrom(value) + .buildPartial(); } else { certificateAuthorityConfig_ = value; } @@ -3334,12 +3969,16 @@ public Builder mergeCertificateAuthorityConfig(com.google.cloud.certificatemanag return this; } /** + * + * *
      * Required. The CA that issues the workload certificate. It includes the CA
      * address, type, authentication to CA service, etc.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificate_authority_config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificate_authority_config = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCertificateAuthorityConfig() { if (certificateAuthorityConfigBuilder_ == null) { @@ -3353,51 +3992,78 @@ public Builder clearCertificateAuthorityConfig() { return this; } /** + * + * *
      * Required. The CA that issues the workload certificate. It includes the CA
      * address, type, authentication to CA service, etc.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificate_authority_config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificate_authority_config = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.Builder getCertificateAuthorityConfigBuilder() { - + public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.Builder + getCertificateAuthorityConfigBuilder() { + onChanged(); return getCertificateAuthorityConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Required. The CA that issues the workload certificate. It includes the CA
      * address, type, authentication to CA service, etc.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificate_authority_config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificate_authority_config = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfigOrBuilder getCertificateAuthorityConfigOrBuilder() { + public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfigOrBuilder + getCertificateAuthorityConfigOrBuilder() { if (certificateAuthorityConfigBuilder_ != null) { return certificateAuthorityConfigBuilder_.getMessageOrBuilder(); } else { - return certificateAuthorityConfig_ == null ? - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.getDefaultInstance() : certificateAuthorityConfig_; + return certificateAuthorityConfig_ == null + ? com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.getDefaultInstance() + : certificateAuthorityConfig_; } } /** + * + * *
      * Required. The CA that issues the workload certificate. It includes the CA
      * address, type, authentication to CA service, etc.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificate_authority_config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificate_authority_config = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig, com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.Builder, com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfigOrBuilder> + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.Builder, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfigOrBuilder> getCertificateAuthorityConfigFieldBuilder() { if (certificateAuthorityConfigBuilder_ == null) { - certificateAuthorityConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig, com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig.Builder, com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfigOrBuilder>( - getCertificateAuthorityConfig(), - getParentForChildren(), - isClean()); + certificateAuthorityConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfig.Builder, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfigOrBuilder>( + getCertificateAuthorityConfig(), getParentForChildren(), isClean()); certificateAuthorityConfig_ = null; } return certificateAuthorityConfigBuilder_; @@ -3405,24 +4071,35 @@ public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Certific private com.google.protobuf.Duration lifetime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> lifetimeBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + lifetimeBuilder_; /** + * + * *
      * Required. Workload certificate lifetime requested.
      * 
* - * .google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the lifetime field is set. */ public boolean hasLifetime() { return lifetimeBuilder_ != null || lifetime_ != null; } /** + * + * *
      * Required. Workload certificate lifetime requested.
      * 
* - * .google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The lifetime. */ public com.google.protobuf.Duration getLifetime() { @@ -3433,11 +4110,14 @@ public com.google.protobuf.Duration getLifetime() { } } /** + * + * *
      * Required. Workload certificate lifetime requested.
      * 
* - * .google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setLifetime(com.google.protobuf.Duration value) { if (lifetimeBuilder_ == null) { @@ -3453,14 +4133,16 @@ public Builder setLifetime(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Required. Workload certificate lifetime requested.
      * 
* - * .google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setLifetime( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setLifetime(com.google.protobuf.Duration.Builder builderForValue) { if (lifetimeBuilder_ == null) { lifetime_ = builderForValue.build(); onChanged(); @@ -3471,17 +4153,20 @@ public Builder setLifetime( return this; } /** + * + * *
      * Required. Workload certificate lifetime requested.
      * 
* - * .google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeLifetime(com.google.protobuf.Duration value) { if (lifetimeBuilder_ == null) { if (lifetime_ != null) { lifetime_ = - com.google.protobuf.Duration.newBuilder(lifetime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Duration.newBuilder(lifetime_).mergeFrom(value).buildPartial(); } else { lifetime_ = value; } @@ -3493,11 +4178,14 @@ public Builder mergeLifetime(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Required. Workload certificate lifetime requested.
      * 
* - * .google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearLifetime() { if (lifetimeBuilder_ == null) { @@ -3511,55 +4199,68 @@ public Builder clearLifetime() { return this; } /** + * + * *
      * Required. Workload certificate lifetime requested.
      * 
* - * .google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.Duration.Builder getLifetimeBuilder() { - + onChanged(); return getLifetimeFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Workload certificate lifetime requested.
      * 
* - * .google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.protobuf.DurationOrBuilder getLifetimeOrBuilder() { if (lifetimeBuilder_ != null) { return lifetimeBuilder_.getMessageOrBuilder(); } else { - return lifetime_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : lifetime_; + return lifetime_ == null ? com.google.protobuf.Duration.getDefaultInstance() : lifetime_; } } /** + * + * *
      * Required. Workload certificate lifetime requested.
      * 
* - * .google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED]; + * .google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> getLifetimeFieldBuilder() { if (lifetimeBuilder_ == null) { - lifetimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getLifetime(), - getParentForChildren(), - isClean()); + lifetimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getLifetime(), getParentForChildren(), isClean()); lifetime_ = null; } return lifetimeBuilder_; } - private int rotationWindowPercentage_ ; + private int rotationWindowPercentage_; /** + * + * *
      * Required. Specifies the percentage of elapsed time of the certificate
      * lifetime to wait before renewing the certificate. Must be a number between
@@ -3567,6 +4268,7 @@ public com.google.protobuf.DurationOrBuilder getLifetimeOrBuilder() {
      * 
* * int32 rotation_window_percentage = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The rotationWindowPercentage. */ @java.lang.Override @@ -3574,6 +4276,8 @@ public int getRotationWindowPercentage() { return rotationWindowPercentage_; } /** + * + * *
      * Required. Specifies the percentage of elapsed time of the certificate
      * lifetime to wait before renewing the certificate. Must be a number between
@@ -3581,16 +4285,19 @@ public int getRotationWindowPercentage() {
      * 
* * int32 rotation_window_percentage = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The rotationWindowPercentage to set. * @return This builder for chaining. */ public Builder setRotationWindowPercentage(int value) { - + rotationWindowPercentage_ = value; onChanged(); return this; } /** + * + * *
      * Required. Specifies the percentage of elapsed time of the certificate
      * lifetime to wait before renewing the certificate. Must be a number between
@@ -3598,10 +4305,11 @@ public Builder setRotationWindowPercentage(int value) {
      * 
* * int32 rotation_window_percentage = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearRotationWindowPercentage() { - + rotationWindowPercentage_ = 0; onChanged(); return this; @@ -3609,80 +4317,113 @@ public Builder clearRotationWindowPercentage() { private int keyAlgorithm_ = 0; /** + * + * *
      * Required. The key algorithm to use when generating the private key.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm key_algorithm = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm key_algorithm = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for keyAlgorithm. */ - @java.lang.Override public int getKeyAlgorithmValue() { + @java.lang.Override + public int getKeyAlgorithmValue() { return keyAlgorithm_; } /** + * + * *
      * Required. The key algorithm to use when generating the private key.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm key_algorithm = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm key_algorithm = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for keyAlgorithm to set. * @return This builder for chaining. */ public Builder setKeyAlgorithmValue(int value) { - + keyAlgorithm_ = value; onChanged(); return this; } /** + * + * *
      * Required. The key algorithm to use when generating the private key.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm key_algorithm = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm key_algorithm = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The keyAlgorithm. */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm getKeyAlgorithm() { + public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm + getKeyAlgorithm() { @SuppressWarnings("deprecation") - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm result = com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm.valueOf(keyAlgorithm_); - return result == null ? com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm.UNRECOGNIZED : result; + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm result = + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm.valueOf( + keyAlgorithm_); + return result == null + ? com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm + .UNRECOGNIZED + : result; } /** + * + * *
      * Required. The key algorithm to use when generating the private key.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm key_algorithm = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm key_algorithm = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The keyAlgorithm to set. * @return This builder for chaining. */ - public Builder setKeyAlgorithm(com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm value) { + public Builder setKeyAlgorithm( + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm value) { if (value == null) { throw new NullPointerException(); } - + keyAlgorithm_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Required. The key algorithm to use when generating the private key.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm key_algorithm = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm key_algorithm = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearKeyAlgorithm() { - + keyAlgorithm_ = 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); } @@ -3692,41 +4433,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.CertificateIssuanceConfig) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.CertificateIssuanceConfig) - private static final com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig(); } - public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CertificateIssuanceConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CertificateIssuanceConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3738,9 +4481,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateIssuanceConfigName.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateIssuanceConfigName.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateIssuanceConfigName.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateIssuanceConfigName.java diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateIssuanceConfigOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateIssuanceConfigOrBuilder.java similarity index 69% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateIssuanceConfigOrBuilder.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateIssuanceConfigOrBuilder.java index ac84c9c6077c..59caec2731ac 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateIssuanceConfigOrBuilder.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateIssuanceConfigOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_issuance_config.proto package com.google.cloud.certificatemanager.v1; -public interface CertificateIssuanceConfigOrBuilder extends +public interface CertificateIssuanceConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.CertificateIssuanceConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A user-defined name of the certificate issuance config.
    * CertificateIssuanceConfig names must be unique globally and match pattern
@@ -15,10 +33,13 @@ public interface CertificateIssuanceConfigOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * A user-defined name of the certificate issuance config.
    * CertificateIssuanceConfig names must be unique globally and match pattern
@@ -26,66 +47,90 @@ public interface CertificateIssuanceConfigOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. The creation timestamp of a CertificateIssuanceConfig.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The creation timestamp of a CertificateIssuanceConfig.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The creation timestamp of a CertificateIssuanceConfig.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The last update timestamp of a CertificateIssuanceConfig.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The last update timestamp of a CertificateIssuanceConfig.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The last update timestamp of a CertificateIssuanceConfig.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Set of labels associated with a CertificateIssuanceConfig.
    * 
@@ -94,30 +139,31 @@ public interface CertificateIssuanceConfigOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Set of labels associated with a CertificateIssuanceConfig.
    * 
* * map<string, string> labels = 4; */ - 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 a CertificateIssuanceConfig.
    * 
* * map<string, string> labels = 4; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Set of labels associated with a CertificateIssuanceConfig.
    * 
@@ -126,90 +172,120 @@ boolean containsLabels( */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Set of labels associated with a CertificateIssuanceConfig.
    * 
* * map<string, string> labels = 4; */ - - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * One or more paragraphs of text description of a CertificateIssuanceConfig.
    * 
* * string description = 5; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * One or more paragraphs of text description of a CertificateIssuanceConfig.
    * 
* * string description = 5; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Required. The CA that issues the workload certificate. It includes the CA
    * address, type, authentication to CA service, etc.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificate_authority_config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificate_authority_config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the certificateAuthorityConfig field is set. */ boolean hasCertificateAuthorityConfig(); /** + * + * *
    * Required. The CA that issues the workload certificate. It includes the CA
    * address, type, authentication to CA service, etc.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificate_authority_config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificate_authority_config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The certificateAuthorityConfig. */ - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig getCertificateAuthorityConfig(); + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig + getCertificateAuthorityConfig(); /** + * + * *
    * Required. The CA that issues the workload certificate. It includes the CA
    * address, type, authentication to CA service, etc.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificate_authority_config = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfig certificate_authority_config = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.CertificateAuthorityConfigOrBuilder getCertificateAuthorityConfigOrBuilder(); + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .CertificateAuthorityConfigOrBuilder + getCertificateAuthorityConfigOrBuilder(); /** + * + * *
    * Required. Workload certificate lifetime requested.
    * 
* * .google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return Whether the lifetime field is set. */ boolean hasLifetime(); /** + * + * *
    * Required. Workload certificate lifetime requested.
    * 
* * .google.protobuf.Duration lifetime = 7 [(.google.api.field_behavior) = REQUIRED]; + * * @return The lifetime. */ com.google.protobuf.Duration getLifetime(); /** + * + * *
    * Required. Workload certificate lifetime requested.
    * 
@@ -219,6 +295,8 @@ java.lang.String getLabelsOrThrow( com.google.protobuf.DurationOrBuilder getLifetimeOrBuilder(); /** + * + * *
    * Required. Specifies the percentage of elapsed time of the certificate
    * lifetime to wait before renewing the certificate. Must be a number between
@@ -226,25 +304,36 @@ java.lang.String getLabelsOrThrow(
    * 
* * int32 rotation_window_percentage = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The rotationWindowPercentage. */ int getRotationWindowPercentage(); /** + * + * *
    * Required. The key algorithm to use when generating the private key.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm key_algorithm = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm key_algorithm = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for keyAlgorithm. */ int getKeyAlgorithmValue(); /** + * + * *
    * Required. The key algorithm to use when generating the private key.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm key_algorithm = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm key_algorithm = 9 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The keyAlgorithm. */ com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.KeyAlgorithm getKeyAlgorithm(); diff --git a/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateIssuanceConfigProto.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateIssuanceConfigProto.java new file mode 100644 index 000000000000..64c6384310b9 --- /dev/null +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateIssuanceConfigProto.java @@ -0,0 +1,253 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/certificatemanager/v1/certificate_issuance_config.proto + +package com.google.cloud.certificatemanager.v1; + +public final class CertificateIssuanceConfigProto { + private CertificateIssuanceConfigProto() {} + + 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_certificatemanager_v1_ListCertificateIssuanceConfigsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_GetCertificateIssuanceConfigRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_GetCertificateIssuanceConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_CreateCertificateIssuanceConfigRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_CreateCertificateIssuanceConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_DeleteCertificateIssuanceConfigRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_DeleteCertificateIssuanceConfigRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_LabelsEntry_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\nDgoogle/cloud/certificatemanager/v1/cer" + + "tificate_issuance_config.proto\022\"google.c" + + "loud.certificatemanager.v1\032\037google/api/f" + + "ield_behavior.proto\032\031google/api/resource" + + ".proto\032\036google/protobuf/duration.proto\032\037" + + "google/protobuf/timestamp.proto\"\253\001\n%List" + + "CertificateIssuanceConfigsRequest\0229\n\006par" + + "ent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis." + + "com/Location\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_" + + "token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by\030" + + "\005 \001(\t\"\273\001\n&ListCertificateIssuanceConfigs" + + "Response\022c\n\034certificate_issuance_configs" + + "\030\001 \003(\0132=.google.cloud.certificatemanager" + + ".v1.CertificateIssuanceConfig\022\027\n\017next_pa" + + "ge_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"x\n#G" + + "etCertificateIssuanceConfigRequest\022Q\n\004na" + + "me\030\001 \001(\tBC\340A\002\372A=\n;certificatemanager.goo" + + "gleapis.com/CertificateIssuanceConfig\"\371\001" + + "\n&CreateCertificateIssuanceConfigRequest" + + "\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.goog" + + "leapis.com/Location\022+\n\036certificate_issua" + + "nce_config_id\030\002 \001(\tB\003\340A\002\022g\n\033certificate_" + + "issuance_config\030\003 \001(\0132=.google.cloud.cer" + + "tificatemanager.v1.CertificateIssuanceCo" + + "nfigB\003\340A\002\"{\n&DeleteCertificateIssuanceCo" + + "nfigRequest\022Q\n\004name\030\001 \001(\tBC\340A\002\372A=\n;certi" + + "ficatemanager.googleapis.com/Certificate" + + "IssuanceConfig\"\243\t\n\031CertificateIssuanceCo" + + "nfig\022\014\n\004name\030\001 \001(\t\0224\n\013create_time\030\002 \001(\0132" + + "\032.google.protobuf.TimestampB\003\340A\003\0224\n\013upda" + + "te_time\030\003 \001(\0132\032.google.protobuf.Timestam" + + "pB\003\340A\003\022Y\n\006labels\030\004 \003(\0132I.google.cloud.ce" + + "rtificatemanager.v1.CertificateIssuanceC" + + "onfig.LabelsEntry\022\023\n\013description\030\005 \001(\t\022\203" + + "\001\n\034certificate_authority_config\030\006 \001(\0132X." + + "google.cloud.certificatemanager.v1.Certi" + + "ficateIssuanceConfig.CertificateAuthorit" + + "yConfigB\003\340A\002\0220\n\010lifetime\030\007 \001(\0132\031.google." + + "protobuf.DurationB\003\340A\002\022\'\n\032rotation_windo" + + "w_percentage\030\010 \001(\005B\003\340A\002\022f\n\rkey_algorithm" + + "\030\t \001(\0162J.google.cloud.certificatemanager" + + ".v1.CertificateIssuanceConfig.KeyAlgorit" + + "hmB\003\340A\002\032\260\002\n\032CertificateAuthorityConfig\022\252" + + "\001\n$certificate_authority_service_config\030" + + "\001 \001(\0132z.google.cloud.certificatemanager." + + "v1.CertificateIssuanceConfig.Certificate" + + "AuthorityConfig.CertificateAuthorityServ" + + "iceConfigH\000\032]\n!CertificateAuthorityServi" + + "ceConfig\0228\n\007ca_pool\030\001 \001(\tB\'\340A\002\372A!\n\037priva" + + "teca.googleapis.com/CaPoolB\006\n\004kind\032-\n\013La" + + "belsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" + + "\001\"K\n\014KeyAlgorithm\022\035\n\031KEY_ALGORITHM_UNSPE" + + "CIFIED\020\000\022\014\n\010RSA_2048\020\001\022\016\n\nECDSA_P256\020\004:\243" + + "\001\352A\237\001\n;certificatemanager.googleapis.com" + + "/CertificateIssuanceConfig\022`projects/{pr" + + "oject}/locations/{location}/certificateI" + + "ssuanceConfigs/{certificate_issuance_con" + + "fig}B\361\002\n&com.google.cloud.certificateman" + + "ager.v1B\036CertificateIssuanceConfigProtoP" + + "\001ZTgoogle.golang.org/genproto/googleapis" + + "/cloud/certificatemanager/v1;certificate" + + "manager\252\002\"Google.Cloud.CertificateManage" + + "r.V1\312\002\"Google\\Cloud\\CertificateManager\\V" + + "1\352\002%Google::Cloud::CertificateManager::V" + + "1\352A\\\n\037privateca.googleapis.com/CaPool\0229p" + + "rojects/{project}/locations/{location}/c" + + "aPools/{ca_pool}b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.DurationProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsResponse_descriptor, + new java.lang.String[] { + "CertificateIssuanceConfigs", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_certificatemanager_v1_GetCertificateIssuanceConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_certificatemanager_v1_GetCertificateIssuanceConfigRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_GetCertificateIssuanceConfigRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_certificatemanager_v1_CreateCertificateIssuanceConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_certificatemanager_v1_CreateCertificateIssuanceConfigRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_CreateCertificateIssuanceConfigRequest_descriptor, + new java.lang.String[] { + "Parent", "CertificateIssuanceConfigId", "CertificateIssuanceConfig", + }); + internal_static_google_cloud_certificatemanager_v1_DeleteCertificateIssuanceConfigRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_certificatemanager_v1_DeleteCertificateIssuanceConfigRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_DeleteCertificateIssuanceConfigRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_descriptor, + new java.lang.String[] { + "Name", + "CreateTime", + "UpdateTime", + "Labels", + "Description", + "CertificateAuthorityConfig", + "Lifetime", + "RotationWindowPercentage", + "KeyAlgorithm", + }); + internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_descriptor = + internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_descriptor, + new java.lang.String[] { + "CertificateAuthorityServiceConfig", "Kind", + }); + internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig_descriptor = + internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig_descriptor, + new java.lang.String[] { + "CaPool", + }); + internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_LabelsEntry_descriptor = + internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + registry.add(com.google.api.ResourceProto.resource); + registry.add(com.google.api.ResourceProto.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.DurationProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerProto.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerProto.java new file mode 100644 index 000000000000..cc21eec1200c --- /dev/null +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerProto.java @@ -0,0 +1,1002 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/certificatemanager/v1/certificate_manager.proto + +package com.google.cloud.certificatemanager.v1; + +public final class CertificateManagerProto { + private CertificateManagerProto() {} + + 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_certificatemanager_v1_ListCertificatesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_ListCertificatesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_ListCertificatesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_ListCertificatesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_GetCertificateRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_GetCertificateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_CreateCertificateRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_CreateCertificateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_UpdateCertificateRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_UpdateCertificateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_DeleteCertificateRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_DeleteCertificateRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_GetCertificateMapRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_GetCertificateMapRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_GetCertificateMapEntryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_GetCertificateMapEntryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapEntryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapEntryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapEntryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapEntryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapEntryRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapEntryRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_GetDnsAuthorizationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_GetDnsAuthorizationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_CreateDnsAuthorizationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_CreateDnsAuthorizationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_UpdateDnsAuthorizationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_UpdateDnsAuthorizationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_DeleteDnsAuthorizationRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_DeleteDnsAuthorizationRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_OperationMetadata_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_OperationMetadata_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_Certificate_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_Certificate_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_Certificate_SelfManagedCertificate_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_Certificate_SelfManagedCertificate_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_ProvisioningIssue_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_ProvisioningIssue_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_AuthorizationAttemptInfo_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_AuthorizationAttemptInfo_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_Certificate_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_Certificate_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_CertificateMap_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_CertificateMap_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_IpConfig_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_IpConfig_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_CertificateMap_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_CertificateMap_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_CertificateMapEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_CertificateMapEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_CertificateMapEntry_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_CertificateMapEntry_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_DnsResourceRecord_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_DnsResourceRecord_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_LabelsEntry_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.ce" + + "rtificatemanager.v1.CertificateMap.Label" + + "sEntry\022X\n\014gclb_targets\030\004 \003(\0132=.google.cl" + + "oud.certificatemanager.v1.CertificateMap" + + ".GclbTargetB\003\340A\003\032\372\001\n\nGclbTarget\022!\n\022targe" + + "t_https_proxy\030\001 \001(\tB\003\340A\003H\000\022\037\n\020target_ssl" + + "_proxy\030\003 \001(\tB\003\340A\003H\000\022_\n\nip_configs\030\002 \003(\0132" + + "F.google.cloud.certificatemanager.v1.Cer" + + "tificateMap.GclbTarget.IpConfigB\003\340A\003\0327\n\010" + + "IpConfig\022\027\n\nip_address\030\001 \001(\tB\003\340A\003\022\022\n\005por" + + "ts\030\003 \003(\rB\003\340A\003B\016\n\014target_proxy\032-\n\013LabelsE" + + "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\200\001\352" + + "A}\n0certificatemanager.googleapis.com/Ce" + + "rtificateMap\022Iprojects/{project}/locatio" + + "ns/{location}/certificateMaps/{certifica" + + "te_map}\"\221\006\n\023CertificateMapEntry\022\014\n\004name\030" + + "\001 \001(\t\022\023\n\013description\030\t \001(\t\0224\n\013create_tim" + + "e\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + + "\0224\n\013update_time\030\003 \001(\0132\032.google.protobuf." + + "TimestampB\003\340A\003\022S\n\006labels\030\004 \003(\0132C.google." + + "cloud.certificatemanager.v1.CertificateM" + + "apEntry.LabelsEntry\022\022\n\010hostname\030\005 \001(\tH\000\022" + + "R\n\007matcher\030\n \001(\0162?.google.cloud.certific" + + "atemanager.v1.CertificateMapEntry.Matche" + + "rH\000\022H\n\014certificates\030\007 \003(\tB2\372A/\n-certific" + + "atemanager.googleapis.com/Certificate\022D\n" + + "\005state\030\010 \001(\01620.google.cloud.certificatem" + + "anager.v1.ServingStateB\003\340A\003\032-\n\013LabelsEnt" + + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"/\n\007Ma" + + "tcher\022\027\n\023MATCHER_UNSPECIFIED\020\000\022\013\n\007PRIMAR" + + "Y\020\001:\264\001\352A\260\001\n5certificatemanager.googleapi" + + "s.com/CertificateMapEntry\022wprojects/{pro" + + "ject}/locations/{location}/certificateMa" + + "ps/{certificate_map}/certificateMapEntri" + + "es/{certificate_map_entry}B\007\n\005match\"\374\004\n\020" + + "DnsAuthorization\022\014\n\004name\030\001 \001(\t\0224\n\013create" + + "_time\030\002 \001(\0132\032.google.protobuf.TimestampB" + + "\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google.proto" + + "buf.TimestampB\003\340A\003\022P\n\006labels\030\004 \003(\0132@.goo" + + "gle.cloud.certificatemanager.v1.DnsAutho" + + "rization.LabelsEntry\022\023\n\013description\030\005 \001(" + + "\t\022\026\n\006domain\030\006 \001(\tB\006\340A\002\340A\005\022h\n\023dns_resourc" + + "e_record\030\n \001(\0132F.google.cloud.certificat" + + "emanager.v1.DnsAuthorization.DnsResource" + + "RecordB\003\340A\003\032L\n\021DnsResourceRecord\022\021\n\004name" + + "\030\001 \001(\tB\003\340A\003\022\021\n\004type\030\002 \001(\tB\003\340A\003\022\021\n\004data\030\003" + + " \001(\tB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" + + "\005value\030\002 \001(\t:\0028\001:\207\001\352A\203\001\n2certificatemana" + + "ger.googleapis.com/DnsAuthorization\022Mpro" + + "jects/{project}/locations/{location}/dns" + + "Authorizations/{dns_authorization}*F\n\014Se" + + "rvingState\022\035\n\031SERVING_STATE_UNSPECIFIED\020" + + "\000\022\n\n\006ACTIVE\020\001\022\013\n\007PENDING\020\0022\3261\n\022Certifica" + + "teManager\022\320\001\n\020ListCertificates\022;.google." + + "cloud.certificatemanager.v1.ListCertific" + + "atesRequest\032<.google.cloud.certificatema" + + "nager.v1.ListCertificatesResponse\"A\202\323\344\223\002" + + "2\0220/v1/{parent=projects/*/locations/*}/c" + + "ertificates\332A\006parent\022\275\001\n\016GetCertificate\022" + + "9.google.cloud.certificatemanager.v1.Get" + + "CertificateRequest\032/.google.cloud.certif" + + "icatemanager.v1.Certificate\"?\202\323\344\223\0022\0220/v1" + + "/{name=projects/*/locations/*/certificat" + + "es/*}\332A\004name\022\377\001\n\021CreateCertificate\022<.goo" + + "gle.cloud.certificatemanager.v1.CreateCe" + + "rtificateRequest\032\035.google.longrunning.Op" + + "eration\"\214\001\202\323\344\223\002?\"0/v1/{parent=projects/*" + + "/locations/*}/certificates:\013certificate\332" + + "A!parent,certificate,certificate_id\312A \n\013" + + "Certificate\022\021OperationMetadata\022\201\002\n\021Updat" + + "eCertificate\022<.google.cloud.certificatem" + + "anager.v1.UpdateCertificateRequest\032\035.goo" + + "gle.longrunning.Operation\"\216\001\202\323\344\223\002K2.google.cloud.certi" + + "ficatemanager.v1.ListCertificateMapsRequ" + + "est\032?.google.cloud.certificatemanager.v1" + + ".ListCertificateMapsResponse\"D\202\323\344\223\0025\0223/v" + + "1/{parent=projects/*/locations/*}/certif" + + "icateMaps\332A\006parent\022\311\001\n\021GetCertificateMap" + + "\022<.google.cloud.certificatemanager.v1.Ge" + + "tCertificateMapRequest\0322.google.cloud.ce" + + "rtificatemanager.v1.CertificateMap\"B\202\323\344\223" + + "\0025\0223/v1/{name=projects/*/locations/*/cer" + + "tificateMaps/*}\332A\004name\022\227\002\n\024CreateCertifi" + + "cateMap\022?.google.cloud.certificatemanage" + + "r.v1.CreateCertificateMapRequest\032\035.googl" + + "e.longrunning.Operation\"\236\001\202\323\344\223\002F\"3/v1/{p" + + "arent=projects/*/locations/*}/certificat" + + "eMaps:\017certificate_map\332A)parent,certific" + + "ate_map,certificate_map_id\312A#\n\016Certifica" + + "teMap\022\021OperationMetadata\022\231\002\n\024UpdateCerti" + + "ficateMap\022?.google.cloud.certificatemana" + + "ger.v1.UpdateCertificateMapRequest\032\035.goo" + + "gle.longrunning.Operation\"\240\001\202\323\344\223\002V2C/v1/" + + "{certificate_map.name=projects/*/locatio" + + "ns/*/certificateMaps/*}:\017certificate_map" + + "\332A\033certificate_map,update_mask\312A#\n\016Certi" + + "ficateMap\022\021OperationMetadata\022\347\001\n\024DeleteC" + + "ertificateMap\022?.google.cloud.certificate" + + "manager.v1.DeleteCertificateMapRequest\032\035" + + ".google.longrunning.Operation\"o\202\323\344\223\0025*3/" + + "v1/{name=projects/*/locations/*/certific" + + "ateMaps/*}\332A\004name\312A*\n\025google.protobuf.Em" + + "pty\022\021OperationMetadata\022\206\002\n\031ListCertifica" + + "teMapEntries\022D.google.cloud.certificatem" + + "anager.v1.ListCertificateMapEntriesReque" + + "st\032E.google.cloud.certificatemanager.v1." + + "ListCertificateMapEntriesResponse\"\\\202\323\344\223\002" + + "M\022K/v1/{parent=projects/*/locations/*/ce" + + "rtificateMaps/*}/certificateMapEntries\332A" + + "\006parent\022\360\001\n\026GetCertificateMapEntry\022A.goo" + + "gle.cloud.certificatemanager.v1.GetCerti" + + "ficateMapEntryRequest\0327.google.cloud.cer" + + "tificatemanager.v1.CertificateMapEntry\"Z" + + "\202\323\344\223\002M\022K/v1/{name=projects/*/locations/*" + + "/certificateMaps/*/certificateMapEntries" + + "/*}\332A\004name\022\320\002\n\031CreateCertificateMapEntry" + + "\022D.google.cloud.certificatemanager.v1.Cr" + + "eateCertificateMapEntryRequest\032\035.google." + + "longrunning.Operation\"\315\001\202\323\344\223\002d\"K/v1/{par" + + "ent=projects/*/locations/*/certificateMa" + + "ps/*}/certificateMapEntries:\025certificate" + + "_map_entry\332A5parent,certificate_map_entr" + + "y,certificate_map_entry_id\312A(\n\023Certifica" + + "teMapEntry\022\021OperationMetadata\022\322\002\n\031Update" + + "CertificateMapEntry\022D.google.cloud.certi" + + "ficatemanager.v1.UpdateCertificateMapEnt" + + "ryRequest\032\035.google.longrunning.Operation" + + "\"\317\001\202\323\344\223\002z2a/v1/{certificate_map_entry.na" + + "me=projects/*/locations/*/certificateMap" + + "s/*/certificateMapEntries/*}:\025certificat" + + "e_map_entry\332A!certificate_map_entry,upda" + + "te_mask\312A(\n\023CertificateMapEntry\022\021Operati" + + "onMetadata\022\212\002\n\031DeleteCertificateMapEntry" + + "\022D.google.cloud.certificatemanager.v1.De" + + "leteCertificateMapEntryRequest\032\035.google." + + "longrunning.Operation\"\207\001\202\323\344\223\002M*K/v1/{nam" + + "e=projects/*/locations/*/certificateMaps" + + "/*/certificateMapEntries/*}\332A\004name\312A*\n\025g" + + "oogle.protobuf.Empty\022\021OperationMetadata\022" + + "\344\001\n\025ListDnsAuthorizations\022@.google.cloud" + + ".certificatemanager.v1.ListDnsAuthorizat" + + "ionsRequest\032A.google.cloud.certificatema" + + "nager.v1.ListDnsAuthorizationsResponse\"F" + + "\202\323\344\223\0027\0225/v1/{parent=projects/*/locations" + + "/*}/dnsAuthorizations\332A\006parent\022\321\001\n\023GetDn" + + "sAuthorization\022>.google.cloud.certificat" + + "emanager.v1.GetDnsAuthorizationRequest\0324" + + ".google.cloud.certificatemanager.v1.DnsA" + + "uthorization\"D\202\323\344\223\0027\0225/v1/{name=projects" + + "/*/locations/*/dnsAuthorizations/*}\332A\004na" + + "me\022\245\002\n\026CreateDnsAuthorization\022A.google.c" + + "loud.certificatemanager.v1.CreateDnsAuth" + + "orizationRequest\032\035.google.longrunning.Op" + + "eration\"\250\001\202\323\344\223\002J\"5/v1/{parent=projects/*" + + "/locations/*}/dnsAuthorizations:\021dns_aut" + + "horization\332A-parent,dns_authorization,dn" + + "s_authorization_id\312A%\n\020DnsAuthorization\022" + + "\021OperationMetadata\022\247\002\n\026UpdateDnsAuthoriz" + + "ation\022A.google.cloud.certificatemanager." + + "v1.UpdateDnsAuthorizationRequest\032\035.googl" + + "e.longrunning.Operation\"\252\001\202\323\344\223\002\\2G/v1/{d" + + "ns_authorization.name=projects/*/locatio" + + "ns/*/dnsAuthorizations/*}:\021dns_authoriza" + + "tion\332A\035dns_authorization,update_mask\312A%\n" + + "\020DnsAuthorization\022\021OperationMetadata\022\355\001\n" + + "\026DeleteDnsAuthorization\022A.google.cloud.c" + + "ertificatemanager.v1.DeleteDnsAuthorizat" + + "ionRequest\032\035.google.longrunning.Operatio" + + "n\"q\202\323\344\223\0027*5/v1/{name=projects/*/location" + + "s/*/dnsAuthorizations/*}\332A\004name\312A*\n\025goog" + + "le.protobuf.Empty\022\021OperationMetadata\022\210\002\n" + + "\036ListCertificateIssuanceConfigs\022I.google" + + ".cloud.certificatemanager.v1.ListCertifi" + + "cateIssuanceConfigsRequest\032J.google.clou" + + "d.certificatemanager.v1.ListCertificateI" + + "ssuanceConfigsResponse\"O\202\323\344\223\002@\022>/v1/{par" + + "ent=projects/*/locations/*}/certificateI" + + "ssuanceConfigs\332A\006parent\022\365\001\n\034GetCertifica" + + "teIssuanceConfig\022G.google.cloud.certific" + + "atemanager.v1.GetCertificateIssuanceConf" + + "igRequest\032=.google.cloud.certificatemana" + + "ger.v1.CertificateIssuanceConfig\"M\202\323\344\223\002@" + + "\022>/v1/{name=projects/*/locations/*/certi" + + "ficateIssuanceConfigs/*}\332A\004name\022\347\002\n\037Crea" + + "teCertificateIssuanceConfig\022J.google.clo" + + "ud.certificatemanager.v1.CreateCertifica" + + "teIssuanceConfigRequest\032\035.google.longrun" + + "ning.Operation\"\330\001\202\323\344\223\002]\">/v1/{parent=pro" + + "jects/*/locations/*}/certificateIssuance" + + "Configs:\033certificate_issuance_config\332AAp" + + "arent,certificate_issuance_config,certif" + + "icate_issuance_config_id\312A.\n\031Certificate" + + "IssuanceConfig\022\021OperationMetadata\022\210\002\n\037De" + + "leteCertificateIssuanceConfig\022J.google.c" + + "loud.certificatemanager.v1.DeleteCertifi" + + "cateIssuanceConfigRequest\032\035.google.longr" + + "unning.Operation\"z\202\323\344\223\002@*>/v1/{name=proj" + + "ects/*/locations/*/certificateIssuanceCo" + + "nfigs/*}\332A\004name\312A*\n\025google.protobuf.Empt" + + "y\022\021OperationMetadata\032U\312A!certificatemana" + + "ger.googleapis.com\322A.https://www.googlea" + + "pis.com/auth/cloud-platformB\213\002\n&com.goog" + + "le.cloud.certificatemanager.v1B\027Certific" + + "ateManagerProtoP\001ZTgoogle.golang.org/gen" + + "proto/googleapis/cloud/certificatemanage" + + "r/v1;certificatemanager\252\002\"Google.Cloud.C" + + "ertificateManager.V1\312\002\"Google\\Cloud\\Cert" + + "ificateManager\\V1\352\002%Google::Cloud::Certi" + + "ficateManager::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.getDescriptor(), + com.google.longrunning.OperationsProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), + com.google.protobuf.TimestampProto.getDescriptor(), + }); + internal_static_google_cloud_certificatemanager_v1_ListCertificatesRequest_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_cloud_certificatemanager_v1_ListCertificatesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_ListCertificatesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_certificatemanager_v1_ListCertificatesResponse_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_cloud_certificatemanager_v1_ListCertificatesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_ListCertificatesResponse_descriptor, + new java.lang.String[] { + "Certificates", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_certificatemanager_v1_GetCertificateRequest_descriptor = + getDescriptor().getMessageTypes().get(2); + internal_static_google_cloud_certificatemanager_v1_GetCertificateRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_GetCertificateRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_certificatemanager_v1_CreateCertificateRequest_descriptor = + getDescriptor().getMessageTypes().get(3); + internal_static_google_cloud_certificatemanager_v1_CreateCertificateRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_CreateCertificateRequest_descriptor, + new java.lang.String[] { + "Parent", "CertificateId", "Certificate", + }); + internal_static_google_cloud_certificatemanager_v1_UpdateCertificateRequest_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_certificatemanager_v1_UpdateCertificateRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_UpdateCertificateRequest_descriptor, + new java.lang.String[] { + "Certificate", "UpdateMask", + }); + internal_static_google_cloud_certificatemanager_v1_DeleteCertificateRequest_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_certificatemanager_v1_DeleteCertificateRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_DeleteCertificateRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsRequest_descriptor = + getDescriptor().getMessageTypes().get(6); + internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsResponse_descriptor = + getDescriptor().getMessageTypes().get(7); + internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsResponse_descriptor, + new java.lang.String[] { + "CertificateMaps", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_certificatemanager_v1_GetCertificateMapRequest_descriptor = + getDescriptor().getMessageTypes().get(8); + internal_static_google_cloud_certificatemanager_v1_GetCertificateMapRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_GetCertificateMapRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapRequest_descriptor = + getDescriptor().getMessageTypes().get(9); + internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapRequest_descriptor, + new java.lang.String[] { + "Parent", "CertificateMapId", "CertificateMap", + }); + internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapRequest_descriptor = + getDescriptor().getMessageTypes().get(10); + internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapRequest_descriptor, + new java.lang.String[] { + "CertificateMap", "UpdateMask", + }); + internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapRequest_descriptor = + getDescriptor().getMessageTypes().get(11); + internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesRequest_descriptor = + getDescriptor().getMessageTypes().get(12); + internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesResponse_descriptor = + getDescriptor().getMessageTypes().get(13); + internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesResponse_descriptor, + new java.lang.String[] { + "CertificateMapEntries", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_certificatemanager_v1_GetCertificateMapEntryRequest_descriptor = + getDescriptor().getMessageTypes().get(14); + internal_static_google_cloud_certificatemanager_v1_GetCertificateMapEntryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_GetCertificateMapEntryRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapEntryRequest_descriptor = + getDescriptor().getMessageTypes().get(15); + internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapEntryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapEntryRequest_descriptor, + new java.lang.String[] { + "Parent", "CertificateMapEntryId", "CertificateMapEntry", + }); + internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapEntryRequest_descriptor = + getDescriptor().getMessageTypes().get(16); + internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapEntryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapEntryRequest_descriptor, + new java.lang.String[] { + "CertificateMapEntry", "UpdateMask", + }); + internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapEntryRequest_descriptor = + getDescriptor().getMessageTypes().get(17); + internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapEntryRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapEntryRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsRequest_descriptor = + getDescriptor().getMessageTypes().get(18); + internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsRequest_descriptor, + new java.lang.String[] { + "Parent", "PageSize", "PageToken", "Filter", "OrderBy", + }); + internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsResponse_descriptor = + getDescriptor().getMessageTypes().get(19); + internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsResponse_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsResponse_descriptor, + new java.lang.String[] { + "DnsAuthorizations", "NextPageToken", "Unreachable", + }); + internal_static_google_cloud_certificatemanager_v1_GetDnsAuthorizationRequest_descriptor = + getDescriptor().getMessageTypes().get(20); + internal_static_google_cloud_certificatemanager_v1_GetDnsAuthorizationRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_GetDnsAuthorizationRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_certificatemanager_v1_CreateDnsAuthorizationRequest_descriptor = + getDescriptor().getMessageTypes().get(21); + internal_static_google_cloud_certificatemanager_v1_CreateDnsAuthorizationRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_CreateDnsAuthorizationRequest_descriptor, + new java.lang.String[] { + "Parent", "DnsAuthorizationId", "DnsAuthorization", + }); + internal_static_google_cloud_certificatemanager_v1_UpdateDnsAuthorizationRequest_descriptor = + getDescriptor().getMessageTypes().get(22); + internal_static_google_cloud_certificatemanager_v1_UpdateDnsAuthorizationRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_UpdateDnsAuthorizationRequest_descriptor, + new java.lang.String[] { + "DnsAuthorization", "UpdateMask", + }); + internal_static_google_cloud_certificatemanager_v1_DeleteDnsAuthorizationRequest_descriptor = + getDescriptor().getMessageTypes().get(23); + internal_static_google_cloud_certificatemanager_v1_DeleteDnsAuthorizationRequest_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_DeleteDnsAuthorizationRequest_descriptor, + new java.lang.String[] { + "Name", + }); + internal_static_google_cloud_certificatemanager_v1_OperationMetadata_descriptor = + getDescriptor().getMessageTypes().get(24); + internal_static_google_cloud_certificatemanager_v1_OperationMetadata_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_OperationMetadata_descriptor, + new java.lang.String[] { + "CreateTime", + "EndTime", + "Target", + "Verb", + "StatusMessage", + "RequestedCancellation", + "ApiVersion", + }); + internal_static_google_cloud_certificatemanager_v1_Certificate_descriptor = + getDescriptor().getMessageTypes().get(25); + internal_static_google_cloud_certificatemanager_v1_Certificate_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_Certificate_descriptor, + new java.lang.String[] { + "Name", + "Description", + "CreateTime", + "UpdateTime", + "Labels", + "SelfManaged", + "Managed", + "SanDnsnames", + "PemCertificate", + "ExpireTime", + "Scope", + "Type", + }); + internal_static_google_cloud_certificatemanager_v1_Certificate_SelfManagedCertificate_descriptor = + internal_static_google_cloud_certificatemanager_v1_Certificate_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_certificatemanager_v1_Certificate_SelfManagedCertificate_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_Certificate_SelfManagedCertificate_descriptor, + new java.lang.String[] { + "PemCertificate", "PemPrivateKey", + }); + internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_descriptor = + internal_static_google_cloud_certificatemanager_v1_Certificate_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_descriptor, + new java.lang.String[] { + "Domains", + "DnsAuthorizations", + "IssuanceConfig", + "State", + "ProvisioningIssue", + "AuthorizationAttemptInfo", + }); + internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_ProvisioningIssue_descriptor = + internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_ProvisioningIssue_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_ProvisioningIssue_descriptor, + new java.lang.String[] { + "Reason", "Details", + }); + internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_AuthorizationAttemptInfo_descriptor = + internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_AuthorizationAttemptInfo_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_AuthorizationAttemptInfo_descriptor, + new java.lang.String[] { + "Domain", "State", "FailureReason", "Details", + }); + internal_static_google_cloud_certificatemanager_v1_Certificate_LabelsEntry_descriptor = + internal_static_google_cloud_certificatemanager_v1_Certificate_descriptor + .getNestedTypes() + .get(2); + internal_static_google_cloud_certificatemanager_v1_Certificate_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_Certificate_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_certificatemanager_v1_CertificateMap_descriptor = + getDescriptor().getMessageTypes().get(26); + internal_static_google_cloud_certificatemanager_v1_CertificateMap_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_CertificateMap_descriptor, + new java.lang.String[] { + "Name", "Description", "CreateTime", "UpdateTime", "Labels", "GclbTargets", + }); + internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_descriptor = + internal_static_google_cloud_certificatemanager_v1_CertificateMap_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_descriptor, + new java.lang.String[] { + "TargetHttpsProxy", "TargetSslProxy", "IpConfigs", "TargetProxy", + }); + internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_IpConfig_descriptor = + internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_IpConfig_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_IpConfig_descriptor, + new java.lang.String[] { + "IpAddress", "Ports", + }); + internal_static_google_cloud_certificatemanager_v1_CertificateMap_LabelsEntry_descriptor = + internal_static_google_cloud_certificatemanager_v1_CertificateMap_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_certificatemanager_v1_CertificateMap_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_CertificateMap_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_certificatemanager_v1_CertificateMapEntry_descriptor = + getDescriptor().getMessageTypes().get(27); + internal_static_google_cloud_certificatemanager_v1_CertificateMapEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_CertificateMapEntry_descriptor, + new java.lang.String[] { + "Name", + "Description", + "CreateTime", + "UpdateTime", + "Labels", + "Hostname", + "Matcher", + "Certificates", + "State", + "Match", + }); + internal_static_google_cloud_certificatemanager_v1_CertificateMapEntry_LabelsEntry_descriptor = + internal_static_google_cloud_certificatemanager_v1_CertificateMapEntry_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_certificatemanager_v1_CertificateMapEntry_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_CertificateMapEntry_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_descriptor = + getDescriptor().getMessageTypes().get(28); + internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_descriptor, + new java.lang.String[] { + "Name", + "CreateTime", + "UpdateTime", + "Labels", + "Description", + "Domain", + "DnsResourceRecord", + }); + internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_DnsResourceRecord_descriptor = + internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_descriptor + .getNestedTypes() + .get(0); + internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_DnsResourceRecord_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_DnsResourceRecord_descriptor, + new java.lang.String[] { + "Name", "Type", "Data", + }); + internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_LabelsEntry_descriptor = + internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_descriptor + .getNestedTypes() + .get(1); + internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_LabelsEntry_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_LabelsEntry_descriptor, + new java.lang.String[] { + "Key", "Value", + }); + 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.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMap.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMap.java similarity index 65% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMap.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMap.java index 2db24b183a40..b99dad7871f7 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMap.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMap.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/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; /** + * + * *
  * Defines a collection of certificate configurations.
  * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.CertificateMap} */ -public final class CertificateMap extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CertificateMap extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.CertificateMap) CertificateMapOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CertificateMap.newBuilder() to construct. private CertificateMap(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CertificateMap() { name_ = ""; description_ = ""; @@ -27,46 +45,49 @@ private CertificateMap() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CertificateMap(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CertificateMap_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CertificateMap_descriptor; } @SuppressWarnings({"rawtypes"}) @java.lang.Override - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 3: return 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.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CertificateMap_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CertificateMap_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.CertificateMap.class, com.google.cloud.certificatemanager.v1.CertificateMap.Builder.class); + com.google.cloud.certificatemanager.v1.CertificateMap.class, + com.google.cloud.certificatemanager.v1.CertificateMap.Builder.class); } - public interface GclbTargetOrBuilder extends + public interface GclbTargetOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.CertificateMap.GclbTarget) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Output only. This field returns the resource name in the following
      * format:
@@ -74,10 +95,13 @@ public interface GclbTargetOrBuilder extends
      * 
* * string target_https_proxy = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the targetHttpsProxy field is set. */ boolean hasTargetHttpsProxy(); /** + * + * *
      * Output only. This field returns the resource name in the following
      * format:
@@ -85,10 +109,13 @@ public interface GclbTargetOrBuilder extends
      * 
* * string target_https_proxy = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The targetHttpsProxy. */ java.lang.String getTargetHttpsProxy(); /** + * + * *
      * Output only. This field returns the resource name in the following
      * format:
@@ -96,12 +123,14 @@ public interface GclbTargetOrBuilder extends
      * 
* * string target_https_proxy = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for targetHttpsProxy. */ - com.google.protobuf.ByteString - getTargetHttpsProxyBytes(); + com.google.protobuf.ByteString getTargetHttpsProxyBytes(); /** + * + * *
      * Output only. This field returns the resource name in the following
      * format:
@@ -109,10 +138,13 @@ public interface GclbTargetOrBuilder extends
      * 
* * string target_ssl_proxy = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the targetSslProxy field is set. */ boolean hasTargetSslProxy(); /** + * + * *
      * Output only. This field returns the resource name in the following
      * format:
@@ -120,10 +152,13 @@ public interface GclbTargetOrBuilder extends
      * 
* * string target_ssl_proxy = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The targetSslProxy. */ java.lang.String getTargetSslProxy(); /** + * + * *
      * Output only. This field returns the resource name in the following
      * format:
@@ -131,176 +166,222 @@ public interface GclbTargetOrBuilder extends
      * 
* * string target_ssl_proxy = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for targetSslProxy. */ - com.google.protobuf.ByteString - getTargetSslProxyBytes(); + com.google.protobuf.ByteString getTargetSslProxyBytes(); /** + * + * *
      * Output only. IP configurations for this Target Proxy where the
      * Certificate Map is serving.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getIpConfigsList(); /** + * + * *
      * Output only. IP configurations for this Target Proxy where the
      * Certificate Map is serving.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig getIpConfigs(int index); + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig getIpConfigs( + int index); /** + * + * *
      * Output only. IP configurations for this Target Proxy where the
      * Certificate Map is serving.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getIpConfigsCount(); /** + * + * *
      * Output only. IP configurations for this Target Proxy where the
      * Certificate Map is serving.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfigOrBuilder> getIpConfigsOrBuilderList(); /** + * + * *
      * Output only. IP configurations for this Target Proxy where the
      * Certificate Map is serving.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfigOrBuilder getIpConfigsOrBuilder( - int index); + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfigOrBuilder + getIpConfigsOrBuilder(int index); - public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.TargetProxyCase getTargetProxyCase(); + public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.TargetProxyCase + getTargetProxyCase(); } /** + * + * *
    * Describes a Target Proxy which uses this Certificate Map.
    * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.CertificateMap.GclbTarget} */ - public static final class GclbTarget extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class GclbTarget extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.CertificateMap.GclbTarget) GclbTargetOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GclbTarget.newBuilder() to construct. private GclbTarget(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GclbTarget() { ipConfigs_ = 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 GclbTarget(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.class, com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.Builder.class); + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.class, + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.Builder.class); } - public interface IpConfigOrBuilder extends + public interface IpConfigOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Output only. An external IP address.
        * 
* * string ip_address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The ipAddress. */ java.lang.String getIpAddress(); /** + * + * *
        * Output only. An external IP address.
        * 
* * string ip_address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for ipAddress. */ - com.google.protobuf.ByteString - getIpAddressBytes(); + com.google.protobuf.ByteString getIpAddressBytes(); /** + * + * *
        * Output only. Ports.
        * 
* * repeated uint32 ports = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the ports. */ java.util.List getPortsList(); /** + * + * *
        * Output only. Ports.
        * 
* * repeated uint32 ports = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of ports. */ int getPortsCount(); /** + * + * *
        * Output only. Ports.
        * 
* * repeated uint32 ports = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The ports at the given index. */ int getPorts(int index); } /** + * + * *
      * Defines IP configuration where this Certificate Map is serving.
      * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig} */ - public static final class IpConfig extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class IpConfig extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig) IpConfigOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IpConfig.newBuilder() to construct. private IpConfig(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private IpConfig() { ipAddress_ = ""; ports_ = emptyIntList(); @@ -308,37 +389,42 @@ private IpConfig() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IpConfig(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_IpConfig_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_IpConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_IpConfig_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_IpConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.class, com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.Builder.class); + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.class, + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.Builder + .class); } public static final int IP_ADDRESS_FIELD_NUMBER = 1; private volatile java.lang.Object ipAddress_; /** + * + * *
        * Output only. An external IP address.
        * 
* * string ip_address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The ipAddress. */ @java.lang.Override @@ -347,29 +433,29 @@ public java.lang.String getIpAddress() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipAddress_ = s; return s; } } /** + * + * *
        * Output only. An external IP address.
        * 
* * string ip_address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for ipAddress. */ @java.lang.Override - public com.google.protobuf.ByteString - getIpAddressBytes() { + public com.google.protobuf.ByteString getIpAddressBytes() { java.lang.Object ref = ipAddress_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ipAddress_ = b; return b; } else { @@ -380,44 +466,54 @@ public java.lang.String getIpAddress() { public static final int PORTS_FIELD_NUMBER = 3; private com.google.protobuf.Internal.IntList ports_; /** + * + * *
        * Output only. Ports.
        * 
* * repeated uint32 ports = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the ports. */ @java.lang.Override - public java.util.List - getPortsList() { + public java.util.List getPortsList() { return ports_; } /** + * + * *
        * Output only. Ports.
        * 
* * repeated uint32 ports = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of ports. */ public int getPortsCount() { return ports_.size(); } /** + * + * *
        * Output only. Ports.
        * 
* * repeated uint32 ports = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The ports at the given index. */ public int getPorts(int index) { return ports_.getInt(index); } + private int portsMemoizedSerializedSize = -1; private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -429,8 +525,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ipAddress_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ipAddress_); @@ -457,14 +552,13 @@ public int getSerializedSize() { { int dataSize = 0; for (int i = 0; i < ports_.size(); i++) { - dataSize += com.google.protobuf.CodedOutputStream - .computeUInt32SizeNoTag(ports_.getInt(i)); + dataSize += + com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(ports_.getInt(i)); } size += dataSize; if (!getPortsList().isEmpty()) { size += 1; - size += com.google.protobuf.CodedOutputStream - .computeInt32SizeNoTag(dataSize); + size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize); } portsMemoizedSerializedSize = dataSize; } @@ -476,17 +570,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.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig)) { + if (!(obj + instanceof com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig other = (com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig) obj; + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig other = + (com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig) obj; - if (!getIpAddress() - .equals(other.getIpAddress())) return false; - if (!getPortsList() - .equals(other.getPortsList())) return false; + if (!getIpAddress().equals(other.getIpAddress())) return false; + if (!getPortsList().equals(other.getPortsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -509,88 +603,103 @@ public int hashCode() { return hash; } - public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig parseDelimitedFrom( - java.io.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.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig + parseDelimitedFrom( + java.io.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.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -600,39 +709,43 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Defines IP configuration where this Certificate Map is serving.
        * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig) com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfigOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_IpConfig_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_IpConfig_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_IpConfig_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_IpConfig_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.class, com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.Builder.class); + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.class, + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.Builder + .class); } - // Construct using com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -644,19 +757,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_IpConfig_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_IpConfig_descriptor; } @java.lang.Override - public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig getDefaultInstanceForType() { - return com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.getDefaultInstance(); + public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig + getDefaultInstanceForType() { + return com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig build() { - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig result = buildPartial(); + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -664,8 +780,10 @@ public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig } @java.lang.Override - public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig buildPartial() { - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig result = new com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig(this); + public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig + buildPartial() { + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig result = + new com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig(this); int from_bitField0_ = bitField0_; result.ipAddress_ = ipAddress_; if (((bitField0_ & 0x00000001) != 0)) { @@ -681,46 +799,55 @@ public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig) { - return mergeFrom((com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig)other); + if (other + instanceof + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig) { + return mergeFrom( + (com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig other) { - if (other == com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig other) { + if (other + == com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig + .getDefaultInstance()) return this; if (!other.getIpAddress().isEmpty()) { ipAddress_ = other.ipAddress_; onChanged(); @@ -761,33 +888,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - ipAddress_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 24: { - int v = input.readUInt32(); - ensurePortsIsMutable(); - ports_.addInt(v); - break; - } // case 24 - case 26: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - ensurePortsIsMutable(); - while (input.getBytesUntilLimit() > 0) { - ports_.addInt(input.readUInt32()); - } - input.popLimit(limit); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + ipAddress_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 24: + { + int v = input.readUInt32(); + ensurePortsIsMutable(); + ports_.addInt(v); + break; + } // case 24 + case 26: + { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + ensurePortsIsMutable(); + while (input.getBytesUntilLimit() > 0) { + ports_.addInt(input.readUInt32()); + } + input.popLimit(limit); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -797,22 +928,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object ipAddress_ = ""; /** + * + * *
          * Output only. An external IP address.
          * 
* * string ip_address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The ipAddress. */ public java.lang.String getIpAddress() { java.lang.Object ref = ipAddress_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); ipAddress_ = s; return s; @@ -821,20 +955,21 @@ public java.lang.String getIpAddress() { } } /** + * + * *
          * Output only. An external IP address.
          * 
* * string ip_address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for ipAddress. */ - public com.google.protobuf.ByteString - getIpAddressBytes() { + public com.google.protobuf.ByteString getIpAddressBytes() { java.lang.Object ref = ipAddress_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); ipAddress_ = b; return b; } else { @@ -842,96 +977,113 @@ public java.lang.String getIpAddress() { } } /** + * + * *
          * Output only. An external IP address.
          * 
* * string ip_address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The ipAddress to set. * @return This builder for chaining. */ - public Builder setIpAddress( - java.lang.String value) { + public Builder setIpAddress(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + ipAddress_ = value; onChanged(); return this; } /** + * + * *
          * Output only. An external IP address.
          * 
* * string ip_address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearIpAddress() { - + ipAddress_ = getDefaultInstance().getIpAddress(); onChanged(); return this; } /** + * + * *
          * Output only. An external IP address.
          * 
* * string ip_address = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for ipAddress to set. * @return This builder for chaining. */ - public Builder setIpAddressBytes( - com.google.protobuf.ByteString value) { + public Builder setIpAddressBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + ipAddress_ = value; onChanged(); return this; } private com.google.protobuf.Internal.IntList ports_ = emptyIntList(); + private void ensurePortsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { ports_ = mutableCopy(ports_); bitField0_ |= 0x00000001; - } + } } /** + * + * *
          * Output only. Ports.
          * 
* * repeated uint32 ports = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the ports. */ - public java.util.List - getPortsList() { - return ((bitField0_ & 0x00000001) != 0) ? - java.util.Collections.unmodifiableList(ports_) : ports_; + public java.util.List getPortsList() { + return ((bitField0_ & 0x00000001) != 0) + ? java.util.Collections.unmodifiableList(ports_) + : ports_; } /** + * + * *
          * Output only. Ports.
          * 
* * repeated uint32 ports = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of ports. */ public int getPortsCount() { return ports_.size(); } /** + * + * *
          * Output only. Ports.
          * 
* * repeated uint32 ports = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The ports at the given index. */ @@ -939,28 +1091,33 @@ public int getPorts(int index) { return ports_.getInt(index); } /** + * + * *
          * Output only. Ports.
          * 
* * repeated uint32 ports = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index to set the value at. * @param value The ports to set. * @return This builder for chaining. */ - public Builder setPorts( - int index, int value) { + public Builder setPorts(int index, int value) { ensurePortsIsMutable(); ports_.setInt(index, value); onChanged(); return this; } /** + * + * *
          * Output only. Ports.
          * 
* * repeated uint32 ports = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The ports to add. * @return This builder for chaining. */ @@ -971,28 +1128,32 @@ public Builder addPorts(int value) { return this; } /** + * + * *
          * Output only. Ports.
          * 
* * repeated uint32 ports = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param values The ports to add. * @return This builder for chaining. */ - public Builder addAllPorts( - java.lang.Iterable values) { + public Builder addAllPorts(java.lang.Iterable values) { ensurePortsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, ports_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ports_); onChanged(); return this; } /** + * + * *
          * Output only. Ports.
          * 
* * repeated uint32 ports = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearPorts() { @@ -1001,6 +1162,7 @@ public Builder clearPorts() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1013,41 +1175,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig) - private static final com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig(); + DEFAULT_INSTANCE = + new com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig(); } - public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IpConfig parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IpConfig parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1059,21 +1225,24 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int targetProxyCase_ = 0; private java.lang.Object targetProxy_; + public enum TargetProxyCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TARGET_HTTPS_PROXY(1), TARGET_SSL_PROXY(3), TARGETPROXY_NOT_SET(0); private final int value; + private TargetProxyCase(int value) { this.value = value; } @@ -1089,25 +1258,30 @@ public static TargetProxyCase valueOf(int value) { public static TargetProxyCase forNumber(int value) { switch (value) { - case 1: return TARGET_HTTPS_PROXY; - case 3: return TARGET_SSL_PROXY; - case 0: return TARGETPROXY_NOT_SET; - default: return null; + case 1: + return TARGET_HTTPS_PROXY; + case 3: + return TARGET_SSL_PROXY; + case 0: + return TARGETPROXY_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TargetProxyCase - getTargetProxyCase() { - return TargetProxyCase.forNumber( - targetProxyCase_); + public TargetProxyCase getTargetProxyCase() { + return TargetProxyCase.forNumber(targetProxyCase_); } public static final int TARGET_HTTPS_PROXY_FIELD_NUMBER = 1; /** + * + * *
      * Output only. This field returns the resource name in the following
      * format:
@@ -1115,12 +1289,15 @@ public int getNumber() {
      * 
* * string target_https_proxy = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the targetHttpsProxy field is set. */ public boolean hasTargetHttpsProxy() { return targetProxyCase_ == 1; } /** + * + * *
      * Output only. This field returns the resource name in the following
      * format:
@@ -1128,6 +1305,7 @@ public boolean hasTargetHttpsProxy() {
      * 
* * string target_https_proxy = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The targetHttpsProxy. */ public java.lang.String getTargetHttpsProxy() { @@ -1138,8 +1316,7 @@ public java.lang.String getTargetHttpsProxy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (targetProxyCase_ == 1) { targetProxy_ = s; @@ -1148,6 +1325,8 @@ public java.lang.String getTargetHttpsProxy() { } } /** + * + * *
      * Output only. This field returns the resource name in the following
      * format:
@@ -1155,18 +1334,17 @@ public java.lang.String getTargetHttpsProxy() {
      * 
* * string target_https_proxy = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for targetHttpsProxy. */ - public com.google.protobuf.ByteString - getTargetHttpsProxyBytes() { + public com.google.protobuf.ByteString getTargetHttpsProxyBytes() { java.lang.Object ref = ""; if (targetProxyCase_ == 1) { ref = targetProxy_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (targetProxyCase_ == 1) { targetProxy_ = b; } @@ -1178,6 +1356,8 @@ public java.lang.String getTargetHttpsProxy() { public static final int TARGET_SSL_PROXY_FIELD_NUMBER = 3; /** + * + * *
      * Output only. This field returns the resource name in the following
      * format:
@@ -1185,12 +1365,15 @@ public java.lang.String getTargetHttpsProxy() {
      * 
* * string target_ssl_proxy = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the targetSslProxy field is set. */ public boolean hasTargetSslProxy() { return targetProxyCase_ == 3; } /** + * + * *
      * Output only. This field returns the resource name in the following
      * format:
@@ -1198,6 +1381,7 @@ public boolean hasTargetSslProxy() {
      * 
* * string target_ssl_proxy = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The targetSslProxy. */ public java.lang.String getTargetSslProxy() { @@ -1208,8 +1392,7 @@ public java.lang.String getTargetSslProxy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (targetProxyCase_ == 3) { targetProxy_ = s; @@ -1218,6 +1401,8 @@ public java.lang.String getTargetSslProxy() { } } /** + * + * *
      * Output only. This field returns the resource name in the following
      * format:
@@ -1225,18 +1410,17 @@ public java.lang.String getTargetSslProxy() {
      * 
* * string target_ssl_proxy = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for targetSslProxy. */ - public com.google.protobuf.ByteString - getTargetSslProxyBytes() { + public com.google.protobuf.ByteString getTargetSslProxyBytes() { java.lang.Object ref = ""; if (targetProxyCase_ == 3) { ref = targetProxy_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (targetProxyCase_ == 3) { targetProxy_ = b; } @@ -1247,71 +1431,98 @@ public java.lang.String getTargetSslProxy() { } public static final int IP_CONFIGS_FIELD_NUMBER = 2; - private java.util.List ipConfigs_; + private java.util.List< + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig> + ipConfigs_; /** + * + * *
      * Output only. IP configurations for this Target Proxy where the
      * Certificate Map is serving.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List getIpConfigsList() { + public java.util.List + getIpConfigsList() { return ipConfigs_; } /** + * + * *
      * Output only. IP configurations for this Target Proxy where the
      * Certificate Map is serving.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfigOrBuilder> getIpConfigsOrBuilderList() { return ipConfigs_; } /** + * + * *
      * Output only. IP configurations for this Target Proxy where the
      * Certificate Map is serving.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getIpConfigsCount() { return ipConfigs_.size(); } /** + * + * *
      * Output only. IP configurations for this Target Proxy where the
      * Certificate Map is serving.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig getIpConfigs(int index) { + public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig getIpConfigs( + int index) { return ipConfigs_.get(index); } /** + * + * *
      * Output only. IP configurations for this Target Proxy where the
      * Certificate Map is serving.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfigOrBuilder getIpConfigsOrBuilder( - int index) { + public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfigOrBuilder + getIpConfigsOrBuilder(int index) { return ipConfigs_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1323,8 +1534,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (targetProxyCase_ == 1) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, targetProxy_); } @@ -1347,8 +1557,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, targetProxy_); } for (int i = 0; i < ipConfigs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, ipConfigs_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, ipConfigs_.get(i)); } if (targetProxyCase_ == 3) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, targetProxy_); @@ -1361,24 +1570,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.certificatemanager.v1.CertificateMap.GclbTarget)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget other = (com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget) obj; + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget other = + (com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget) obj; - if (!getIpConfigsList() - .equals(other.getIpConfigsList())) return false; + if (!getIpConfigsList().equals(other.getIpConfigsList())) return false; if (!getTargetProxyCase().equals(other.getTargetProxyCase())) return false; switch (targetProxyCase_) { case 1: - if (!getTargetHttpsProxy() - .equals(other.getTargetHttpsProxy())) return false; + if (!getTargetHttpsProxy().equals(other.getTargetHttpsProxy())) return false; break; case 3: - if (!getTargetSslProxy() - .equals(other.getTargetSslProxy())) return false; + if (!getTargetSslProxy().equals(other.getTargetSslProxy())) return false; break; case 0: default: @@ -1416,87 +1623,95 @@ public int hashCode() { } public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + + public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget parseDelimitedFrom( - java.io.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.certificatemanager.v1.CertificateMap.GclbTarget + parseDelimitedFrom( + java.io.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.certificatemanager.v1.CertificateMap.GclbTarget parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1506,39 +1721,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Describes a Target Proxy which uses this Certificate Map.
      * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.CertificateMap.GclbTarget} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.CertificateMap.GclbTarget) com.google.cloud.certificatemanager.v1.CertificateMap.GclbTargetOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.class, com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.Builder.class); + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.class, + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.Builder.class); } - // Construct using com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1555,14 +1773,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_descriptor; } @java.lang.Override - public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget getDefaultInstanceForType() { - return com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.getDefaultInstance(); + public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget + getDefaultInstanceForType() { + return com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget + .getDefaultInstance(); } @java.lang.Override @@ -1576,7 +1796,8 @@ public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget build() @java.lang.Override public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget buildPartial() { - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget result = new com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget(this); + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget result = + new com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget(this); int from_bitField0_ = bitField0_; if (targetProxyCase_ == 1) { result.targetProxy_ = targetProxy_; @@ -1602,46 +1823,53 @@ public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget 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) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget) { - return mergeFrom((com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget)other); + return mergeFrom( + (com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget other) { - if (other == com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget other) { + if (other + == com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget + .getDefaultInstance()) return this; if (ipConfigsBuilder_ == null) { if (!other.ipConfigs_.isEmpty()) { if (ipConfigs_.isEmpty()) { @@ -1660,30 +1888,34 @@ public Builder mergeFrom(com.google.cloud.certificatemanager.v1.CertificateMap.G ipConfigsBuilder_ = null; ipConfigs_ = other.ipConfigs_; bitField0_ = (bitField0_ & ~0x00000001); - ipConfigsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getIpConfigsFieldBuilder() : null; + ipConfigsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getIpConfigsFieldBuilder() + : null; } else { ipConfigsBuilder_.addAllMessages(other.ipConfigs_); } } } switch (other.getTargetProxyCase()) { - case TARGET_HTTPS_PROXY: { - targetProxyCase_ = 1; - targetProxy_ = other.targetProxy_; - onChanged(); - break; - } - case TARGET_SSL_PROXY: { - targetProxyCase_ = 3; - targetProxy_ = other.targetProxy_; - onChanged(); - break; - } - case TARGETPROXY_NOT_SET: { - break; - } + case TARGET_HTTPS_PROXY: + { + targetProxyCase_ = 1; + targetProxy_ = other.targetProxy_; + onChanged(); + break; + } + case TARGET_SSL_PROXY: + { + targetProxyCase_ = 3; + targetProxy_ = other.targetProxy_; + onChanged(); + break; + } + case TARGETPROXY_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1711,37 +1943,42 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - targetProxyCase_ = 1; - targetProxy_ = s; - break; - } // case 10 - case 18: { - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig m = - input.readMessage( - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.parser(), - extensionRegistry); - if (ipConfigsBuilder_ == null) { - ensureIpConfigsIsMutable(); - ipConfigs_.add(m); - } else { - ipConfigsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - targetProxyCase_ = 3; - targetProxy_ = s; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + targetProxyCase_ = 1; + targetProxy_ = s; + break; + } // case 10 + case 18: + { + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig m = + input.readMessage( + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig + .parser(), + extensionRegistry); + if (ipConfigsBuilder_ == null) { + ensureIpConfigsIsMutable(); + ipConfigs_.add(m); + } else { + ipConfigsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + targetProxyCase_ = 3; + targetProxy_ = s; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1751,12 +1988,12 @@ public Builder mergeFrom( } // finally return this; } + private int targetProxyCase_ = 0; private java.lang.Object targetProxy_; - public TargetProxyCase - getTargetProxyCase() { - return TargetProxyCase.forNumber( - targetProxyCase_); + + public TargetProxyCase getTargetProxyCase() { + return TargetProxyCase.forNumber(targetProxyCase_); } public Builder clearTargetProxy() { @@ -1769,6 +2006,8 @@ public Builder clearTargetProxy() { private int bitField0_; /** + * + * *
        * Output only. This field returns the resource name in the following
        * format:
@@ -1776,6 +2015,7 @@ public Builder clearTargetProxy() {
        * 
* * string target_https_proxy = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the targetHttpsProxy field is set. */ @java.lang.Override @@ -1783,6 +2023,8 @@ public boolean hasTargetHttpsProxy() { return targetProxyCase_ == 1; } /** + * + * *
        * Output only. This field returns the resource name in the following
        * format:
@@ -1790,6 +2032,7 @@ public boolean hasTargetHttpsProxy() {
        * 
* * string target_https_proxy = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The targetHttpsProxy. */ @java.lang.Override @@ -1799,8 +2042,7 @@ public java.lang.String getTargetHttpsProxy() { ref = targetProxy_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (targetProxyCase_ == 1) { targetProxy_ = s; @@ -1811,6 +2053,8 @@ public java.lang.String getTargetHttpsProxy() { } } /** + * + * *
        * Output only. This field returns the resource name in the following
        * format:
@@ -1818,19 +2062,18 @@ public java.lang.String getTargetHttpsProxy() {
        * 
* * string target_https_proxy = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for targetHttpsProxy. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetHttpsProxyBytes() { + public com.google.protobuf.ByteString getTargetHttpsProxyBytes() { java.lang.Object ref = ""; if (targetProxyCase_ == 1) { ref = targetProxy_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (targetProxyCase_ == 1) { targetProxy_ = b; } @@ -1840,6 +2083,8 @@ public java.lang.String getTargetHttpsProxy() { } } /** + * + * *
        * Output only. This field returns the resource name in the following
        * format:
@@ -1847,20 +2092,22 @@ public java.lang.String getTargetHttpsProxy() {
        * 
* * string target_https_proxy = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The targetHttpsProxy to set. * @return This builder for chaining. */ - public Builder setTargetHttpsProxy( - java.lang.String value) { + public Builder setTargetHttpsProxy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - targetProxyCase_ = 1; + throw new NullPointerException(); + } + targetProxyCase_ = 1; targetProxy_ = value; onChanged(); return this; } /** + * + * *
        * Output only. This field returns the resource name in the following
        * format:
@@ -1868,6 +2115,7 @@ public Builder setTargetHttpsProxy(
        * 
* * string target_https_proxy = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTargetHttpsProxy() { @@ -1879,6 +2127,8 @@ public Builder clearTargetHttpsProxy() { return this; } /** + * + * *
        * Output only. This field returns the resource name in the following
        * format:
@@ -1886,15 +2136,15 @@ public Builder clearTargetHttpsProxy() {
        * 
* * string target_https_proxy = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for targetHttpsProxy to set. * @return This builder for chaining. */ - public Builder setTargetHttpsProxyBytes( - com.google.protobuf.ByteString value) { + public Builder setTargetHttpsProxyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); targetProxyCase_ = 1; targetProxy_ = value; onChanged(); @@ -1902,6 +2152,8 @@ public Builder setTargetHttpsProxyBytes( } /** + * + * *
        * Output only. This field returns the resource name in the following
        * format:
@@ -1909,6 +2161,7 @@ public Builder setTargetHttpsProxyBytes(
        * 
* * string target_ssl_proxy = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return Whether the targetSslProxy field is set. */ @java.lang.Override @@ -1916,6 +2169,8 @@ public boolean hasTargetSslProxy() { return targetProxyCase_ == 3; } /** + * + * *
        * Output only. This field returns the resource name in the following
        * format:
@@ -1923,6 +2178,7 @@ public boolean hasTargetSslProxy() {
        * 
* * string target_ssl_proxy = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The targetSslProxy. */ @java.lang.Override @@ -1932,8 +2188,7 @@ public java.lang.String getTargetSslProxy() { ref = targetProxy_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (targetProxyCase_ == 3) { targetProxy_ = s; @@ -1944,6 +2199,8 @@ public java.lang.String getTargetSslProxy() { } } /** + * + * *
        * Output only. This field returns the resource name in the following
        * format:
@@ -1951,19 +2208,18 @@ public java.lang.String getTargetSslProxy() {
        * 
* * string target_ssl_proxy = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for targetSslProxy. */ @java.lang.Override - public com.google.protobuf.ByteString - getTargetSslProxyBytes() { + public com.google.protobuf.ByteString getTargetSslProxyBytes() { java.lang.Object ref = ""; if (targetProxyCase_ == 3) { ref = targetProxy_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (targetProxyCase_ == 3) { targetProxy_ = b; } @@ -1973,6 +2229,8 @@ public java.lang.String getTargetSslProxy() { } } /** + * + * *
        * Output only. This field returns the resource name in the following
        * format:
@@ -1980,20 +2238,22 @@ public java.lang.String getTargetSslProxy() {
        * 
* * string target_ssl_proxy = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The targetSslProxy to set. * @return This builder for chaining. */ - public Builder setTargetSslProxy( - java.lang.String value) { + public Builder setTargetSslProxy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - targetProxyCase_ = 3; + throw new NullPointerException(); + } + targetProxyCase_ = 3; targetProxy_ = value; onChanged(); return this; } /** + * + * *
        * Output only. This field returns the resource name in the following
        * format:
@@ -2001,6 +2261,7 @@ public Builder setTargetSslProxy(
        * 
* * string target_ssl_proxy = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearTargetSslProxy() { @@ -2012,6 +2273,8 @@ public Builder clearTargetSslProxy() { return this; } /** + * + * *
        * Output only. This field returns the resource name in the following
        * format:
@@ -2019,42 +2282,56 @@ public Builder clearTargetSslProxy() {
        * 
* * string target_ssl_proxy = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for targetSslProxy to set. * @return This builder for chaining. */ - public Builder setTargetSslProxyBytes( - com.google.protobuf.ByteString value) { + public Builder setTargetSslProxyBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); targetProxyCase_ = 3; targetProxy_ = value; onChanged(); return this; } - private java.util.List ipConfigs_ = - java.util.Collections.emptyList(); + private java.util.List< + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig> + ipConfigs_ = java.util.Collections.emptyList(); + private void ensureIpConfigsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - ipConfigs_ = new java.util.ArrayList(ipConfigs_); + ipConfigs_ = + new java.util.ArrayList< + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig>( + ipConfigs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig, com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.Builder, com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfigOrBuilder> ipConfigsBuilder_; + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig, + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.Builder, + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfigOrBuilder> + ipConfigsBuilder_; /** + * + * *
        * Output only. IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List getIpConfigsList() { + public java.util.List< + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig> + getIpConfigsList() { if (ipConfigsBuilder_ == null) { return java.util.Collections.unmodifiableList(ipConfigs_); } else { @@ -2062,12 +2339,16 @@ public java.util.List * Output only. IP configurations for this Target Proxy where the * Certificate Map is serving. *
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getIpConfigsCount() { if (ipConfigsBuilder_ == null) { @@ -2077,14 +2358,19 @@ public int getIpConfigsCount() { } } /** + * + * *
        * Output only. IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig getIpConfigs(int index) { + public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig getIpConfigs( + int index) { if (ipConfigsBuilder_ == null) { return ipConfigs_.get(index); } else { @@ -2092,15 +2378,20 @@ public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig } } /** + * + * *
        * Output only. IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setIpConfigs( - int index, com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig value) { + int index, + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig value) { if (ipConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2114,15 +2405,21 @@ public Builder setIpConfigs( return this; } /** + * + * *
        * Output only. IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setIpConfigs( - int index, com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.Builder builderForValue) { + int index, + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.Builder + builderForValue) { if (ipConfigsBuilder_ == null) { ensureIpConfigsIsMutable(); ipConfigs_.set(index, builderForValue.build()); @@ -2133,14 +2430,19 @@ public Builder setIpConfigs( return this; } /** + * + * *
        * Output only. IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addIpConfigs(com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig value) { + public Builder addIpConfigs( + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig value) { if (ipConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2154,15 +2456,20 @@ public Builder addIpConfigs(com.google.cloud.certificatemanager.v1.CertificateMa return this; } /** + * + * *
        * Output only. IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addIpConfigs( - int index, com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig value) { + int index, + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig value) { if (ipConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2176,15 +2483,20 @@ public Builder addIpConfigs( return this; } /** + * + * *
        * Output only. IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addIpConfigs( - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.Builder builderForValue) { + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.Builder + builderForValue) { if (ipConfigsBuilder_ == null) { ensureIpConfigsIsMutable(); ipConfigs_.add(builderForValue.build()); @@ -2195,15 +2507,21 @@ public Builder addIpConfigs( return this; } /** + * + * *
        * Output only. IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addIpConfigs( - int index, com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.Builder builderForValue) { + int index, + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.Builder + builderForValue) { if (ipConfigsBuilder_ == null) { ensureIpConfigsIsMutable(); ipConfigs_.add(index, builderForValue.build()); @@ -2214,19 +2532,25 @@ public Builder addIpConfigs( return this; } /** + * + * *
        * Output only. IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllIpConfigs( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig> + values) { if (ipConfigsBuilder_ == null) { ensureIpConfigsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, ipConfigs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, ipConfigs_); onChanged(); } else { ipConfigsBuilder_.addAllMessages(values); @@ -2234,12 +2558,16 @@ public Builder addAllIpConfigs( return this; } /** + * + * *
        * Output only. IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearIpConfigs() { if (ipConfigsBuilder_ == null) { @@ -2252,12 +2580,16 @@ public Builder clearIpConfigs() { return this; } /** + * + * *
        * Output only. IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeIpConfigs(int index) { if (ipConfigsBuilder_ == null) { @@ -2270,42 +2602,58 @@ public Builder removeIpConfigs(int index) { return this; } /** + * + * *
        * Output only. IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.Builder getIpConfigsBuilder( - int index) { + public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.Builder + getIpConfigsBuilder(int index) { return getIpConfigsFieldBuilder().getBuilder(index); } /** + * + * *
        * Output only. IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfigOrBuilder getIpConfigsOrBuilder( - int index) { + public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfigOrBuilder + getIpConfigsOrBuilder(int index) { if (ipConfigsBuilder_ == null) { - return ipConfigs_.get(index); } else { + return ipConfigs_.get(index); + } else { return ipConfigsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * Output only. IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getIpConfigsOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget + .IpConfigOrBuilder> + getIpConfigsOrBuilderList() { if (ipConfigsBuilder_ != null) { return ipConfigsBuilder_.getMessageOrBuilderList(); } else { @@ -2313,56 +2661,80 @@ public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig } } /** + * + * *
        * Output only. IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.Builder addIpConfigsBuilder() { - return getIpConfigsFieldBuilder().addBuilder( - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.getDefaultInstance()); + public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.Builder + addIpConfigsBuilder() { + return getIpConfigsFieldBuilder() + .addBuilder( + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig + .getDefaultInstance()); } /** + * + * *
        * Output only. IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.Builder addIpConfigsBuilder( - int index) { - return getIpConfigsFieldBuilder().addBuilder( - index, com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.getDefaultInstance()); + public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.Builder + addIpConfigsBuilder(int index) { + return getIpConfigsFieldBuilder() + .addBuilder( + index, + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig + .getDefaultInstance()); } /** + * + * *
        * Output only. IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getIpConfigsBuilderList() { + public java.util.List< + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.Builder> + getIpConfigsBuilderList() { return getIpConfigsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig, com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.Builder, com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfigOrBuilder> + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig, + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.Builder, + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfigOrBuilder> getIpConfigsFieldBuilder() { if (ipConfigsBuilder_ == null) { - ipConfigsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig, com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.Builder, com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfigOrBuilder>( - ipConfigs_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + ipConfigsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig, + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.Builder, + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget + .IpConfigOrBuilder>( + ipConfigs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); ipConfigs_ = null; } return ipConfigsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2375,41 +2747,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.CertificateMap.GclbTarget) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.CertificateMap.GclbTarget) - private static final com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget(); } - public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GclbTarget parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GclbTarget parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2421,15 +2796,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * A user-defined name of the Certificate Map. Certificate Map names must be
    * unique globally and match pattern
@@ -2437,6 +2814,7 @@ public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget getDefau
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -2445,14 +2823,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * A user-defined name of the Certificate Map. Certificate Map names must be
    * unique globally and match pattern
@@ -2460,16 +2839,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -2480,11 +2858,14 @@ public java.lang.String getName() { public static final int DESCRIPTION_FIELD_NUMBER = 5; private volatile java.lang.Object description_; /** + * + * *
    * One or more paragraphs of text description of a certificate map.
    * 
* * string description = 5; + * * @return The description. */ @java.lang.Override @@ -2493,29 +2874,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * One or more paragraphs of text description of a certificate map.
    * 
* * string description = 5; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -2526,11 +2907,15 @@ public java.lang.String getDescription() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The creation timestamp of a Certificate Map.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -2538,11 +2923,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The creation timestamp of a Certificate Map.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -2550,11 +2939,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The creation timestamp of a Certificate Map.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -2564,11 +2956,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The update timestamp of a Certificate Map.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -2576,11 +2972,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The update timestamp of a Certificate Map.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -2588,11 +2988,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The update timestamp of a Certificate Map.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -2600,24 +3003,23 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 3; + 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.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CertificateMap_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CertificateMap_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -2626,28 +3028,30 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Set of labels associated with a Certificate Map.
    * 
* * map<string, string> labels = 3; */ - @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * Set of labels associated with a Certificate Map.
    * 
@@ -2655,11 +3059,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 3; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Set of labels associated with a Certificate Map.
    * 
@@ -2667,16 +3072,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 3; */ @java.lang.Override - - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Set of labels associated with a Certificate Map.
    * 
@@ -2684,12 +3089,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 3; */ @java.lang.Override - - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -2697,76 +3101,101 @@ public java.lang.String getLabelsOrThrow( } public static final int GCLB_TARGETS_FIELD_NUMBER = 4; - private java.util.List gclbTargets_; + private java.util.List + gclbTargets_; /** + * + * *
    * Output only. A list of GCLB targets which use this Certificate Map.
    * A Target Proxy is only present on this list if it's attached to a
    * Forwarding Rule.
    * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List getGclbTargetsList() { + public java.util.List + getGclbTargetsList() { return gclbTargets_; } /** + * + * *
    * Output only. A list of GCLB targets which use this Certificate Map.
    * A Target Proxy is only present on this list if it's attached to a
    * Forwarding Rule.
    * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.certificatemanager.v1.CertificateMap.GclbTargetOrBuilder> getGclbTargetsOrBuilderList() { return gclbTargets_; } /** + * + * *
    * Output only. A list of GCLB targets which use this Certificate Map.
    * A Target Proxy is only present on this list if it's attached to a
    * Forwarding Rule.
    * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public int getGclbTargetsCount() { return gclbTargets_.size(); } /** + * + * *
    * Output only. A list of GCLB targets which use this Certificate Map.
    * A Target Proxy is only present on this list if it's attached to a
    * Forwarding Rule.
    * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget getGclbTargets(int index) { + public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget getGclbTargets( + int index) { return gclbTargets_.get(index); } /** + * + * *
    * Output only. A list of GCLB targets which use this Certificate Map.
    * A Target Proxy is only present on this list if it's attached to a
    * Forwarding Rule.
    * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTargetOrBuilder getGclbTargetsOrBuilder( - int index) { + public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTargetOrBuilder + getGclbTargetsOrBuilder(int index) { return gclbTargets_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2778,20 +3207,15 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (createTime_ != null) { output.writeMessage(2, getCreateTime()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 3); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 3); for (int i = 0; i < gclbTargets_.size(); i++) { output.writeMessage(4, gclbTargets_.get(i)); } @@ -2814,29 +3238,26 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCreateTime()); - } - 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(3, labels__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); + } + 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(3, labels__); } for (int i = 0; i < gclbTargets_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, gclbTargets_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, gclbTargets_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2846,31 +3267,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.certificatemanager.v1.CertificateMap)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.CertificateMap other = (com.google.cloud.certificatemanager.v1.CertificateMap) obj; + com.google.cloud.certificatemanager.v1.CertificateMap other = + (com.google.cloud.certificatemanager.v1.CertificateMap) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; - if (!getGclbTargetsList() - .equals(other.getGclbTargetsList())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getGclbTargetsList().equals(other.getGclbTargetsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2908,151 +3324,156 @@ public int hashCode() { } public static com.google.cloud.certificatemanager.v1.CertificateMap parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.CertificateMap parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.CertificateMap parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.CertificateMap parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.CertificateMap parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.CertificateMap parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CertificateMap parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.CertificateMap parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.CertificateMap parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CertificateMap parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.CertificateMap parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.CertificateMap parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.CertificateMap parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.CertificateMap parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.CertificateMap prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.CertificateMap prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 a collection of certificate configurations.
    * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.CertificateMap} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.CertificateMap) com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CertificateMap_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CertificateMap_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 3: 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 3: 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.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CertificateMap_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CertificateMap_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.CertificateMap.class, com.google.cloud.certificatemanager.v1.CertificateMap.Builder.class); + com.google.cloud.certificatemanager.v1.CertificateMap.class, + com.google.cloud.certificatemanager.v1.CertificateMap.Builder.class); } // Construct using com.google.cloud.certificatemanager.v1.CertificateMap.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3084,9 +3505,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CertificateMap_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CertificateMap_descriptor; } @java.lang.Override @@ -3105,7 +3526,8 @@ public com.google.cloud.certificatemanager.v1.CertificateMap build() { @java.lang.Override public com.google.cloud.certificatemanager.v1.CertificateMap buildPartial() { - com.google.cloud.certificatemanager.v1.CertificateMap result = new com.google.cloud.certificatemanager.v1.CertificateMap(this); + com.google.cloud.certificatemanager.v1.CertificateMap result = + new com.google.cloud.certificatemanager.v1.CertificateMap(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.description_ = description_; @@ -3138,38 +3560,39 @@ public com.google.cloud.certificatemanager.v1.CertificateMap buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.certificatemanager.v1.CertificateMap) { - return mergeFrom((com.google.cloud.certificatemanager.v1.CertificateMap)other); + return mergeFrom((com.google.cloud.certificatemanager.v1.CertificateMap) other); } else { super.mergeFrom(other); return this; @@ -3177,7 +3600,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.certificatemanager.v1.CertificateMap other) { - if (other == com.google.cloud.certificatemanager.v1.CertificateMap.getDefaultInstance()) return this; + if (other == com.google.cloud.certificatemanager.v1.CertificateMap.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -3192,8 +3616,7 @@ public Builder mergeFrom(com.google.cloud.certificatemanager.v1.CertificateMap o if (other.hasUpdateTime()) { mergeUpdateTime(other.getUpdateTime()); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); if (gclbTargetsBuilder_ == null) { if (!other.gclbTargets_.isEmpty()) { if (gclbTargets_.isEmpty()) { @@ -3212,9 +3635,10 @@ public Builder mergeFrom(com.google.cloud.certificatemanager.v1.CertificateMap o gclbTargetsBuilder_ = null; gclbTargets_ = other.gclbTargets_; bitField0_ = (bitField0_ & ~0x00000002); - gclbTargetsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getGclbTargetsFieldBuilder() : null; + gclbTargetsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getGclbTargetsFieldBuilder() + : null; } else { gclbTargetsBuilder_.addAllMessages(other.gclbTargets_); } @@ -3246,57 +3670,62 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); + case 10: + { + name_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - case 26: { - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableLabels().getMutableMap().put( - labels__.getKey(), labels__.getValue()); - break; - } // case 26 - case 34: { - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget m = - input.readMessage( - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.parser(), - extensionRegistry); - if (gclbTargetsBuilder_ == null) { - ensureGclbTargetsIsMutable(); - gclbTargets_.add(m); - } else { - gclbTargetsBuilder_.addMessage(m); - } - break; - } // case 34 - case 42: { - description_ = input.readStringRequireUtf8(); + break; + } // case 18 + case 26: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + break; + } // case 26 + case 34: + { + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget m = + input.readMessage( + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.parser(), + extensionRegistry); + if (gclbTargetsBuilder_ == null) { + ensureGclbTargetsIsMutable(); + gclbTargets_.add(m); + } else { + gclbTargetsBuilder_.addMessage(m); + } + break; + } // case 34 + case 42: + { + description_ = input.readStringRequireUtf8(); - break; - } // case 42 - case 50: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 42 + case 50: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 50 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3306,10 +3735,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * A user-defined name of the Certificate Map. Certificate Map names must be
      * unique globally and match pattern
@@ -3317,13 +3749,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -3332,6 +3764,8 @@ public java.lang.String getName() { } } /** + * + * *
      * A user-defined name of the Certificate Map. Certificate Map names must be
      * unique globally and match pattern
@@ -3339,15 +3773,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -3355,6 +3788,8 @@ public java.lang.String getName() { } } /** + * + * *
      * A user-defined name of the Certificate Map. Certificate Map names must be
      * unique globally and match pattern
@@ -3362,20 +3797,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * A user-defined name of the Certificate Map. Certificate Map names must be
      * unique globally and match pattern
@@ -3383,15 +3820,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * A user-defined name of the Certificate Map. Certificate Map names must be
      * unique globally and match pattern
@@ -3399,16 +3839,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -3416,18 +3856,20 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * One or more paragraphs of text description of a certificate map.
      * 
* * string description = 5; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -3436,20 +3878,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * One or more paragraphs of text description of a certificate map.
      * 
* * string description = 5; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -3457,54 +3900,61 @@ public java.lang.String getDescription() { } } /** + * + * *
      * One or more paragraphs of text description of a certificate map.
      * 
* * string description = 5; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * One or more paragraphs of text description of a certificate map.
      * 
* * string description = 5; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * One or more paragraphs of text description of a certificate map.
      * 
* * string description = 5; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -3512,39 +3962,58 @@ public Builder setDescriptionBytes( 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 a Certificate Map.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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 a Certificate Map.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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 a Certificate Map.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -3560,14 +4029,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The creation timestamp of a Certificate Map.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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(); @@ -3578,17 +4050,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The creation timestamp of a Certificate Map.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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; } @@ -3600,11 +4076,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The creation timestamp of a Certificate Map.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -3618,48 +4098,64 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The creation timestamp of a Certificate Map.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The creation timestamp of a Certificate Map.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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 a Certificate Map.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -3667,39 +4163,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. The update timestamp of a Certificate Map.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Output only. The update timestamp of a Certificate Map.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The update timestamp of a Certificate Map.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -3715,14 +4230,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The update timestamp of a Certificate Map.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -3733,17 +4251,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The update timestamp of a Certificate Map.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -3755,11 +4277,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The update timestamp of a Certificate Map.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -3773,69 +4299,84 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The update timestamp of a Certificate Map.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The update timestamp of a Certificate Map.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. The update timestamp of a Certificate Map.
      * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; } - 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(); @@ -3847,28 +4388,30 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Set of labels associated with a Certificate Map.
      * 
* * map<string, string> labels = 3; */ - @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * Set of labels associated with a Certificate Map.
      * 
@@ -3876,11 +4419,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 3; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Set of labels associated with a Certificate Map.
      * 
@@ -3888,16 +4432,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 3; */ @java.lang.Override - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Set of labels associated with a Certificate Map.
      * 
@@ -3905,12 +4450,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 3; */ @java.lang.Override - - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -3918,89 +4462,97 @@ public java.lang.String getLabelsOrThrow( } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Set of labels associated with a Certificate Map.
      * 
* * map<string, string> labels = 3; */ - - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Set of labels associated with a Certificate Map.
      * 
* * map<string, string> labels = 3; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableLabels().getMutableMap() - .put(key, value); + internalGetMutableLabels().getMutableMap().put(key, value); return this; } /** + * + * *
      * Set of labels associated with a Certificate Map.
      * 
* * map<string, string> labels = 3; */ - - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); return this; } - private java.util.List gclbTargets_ = - java.util.Collections.emptyList(); + private java.util.List + gclbTargets_ = java.util.Collections.emptyList(); + private void ensureGclbTargetsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - gclbTargets_ = new java.util.ArrayList(gclbTargets_); + gclbTargets_ = + new java.util.ArrayList< + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget>(gclbTargets_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget, com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.Builder, com.google.cloud.certificatemanager.v1.CertificateMap.GclbTargetOrBuilder> gclbTargetsBuilder_; + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget, + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.Builder, + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTargetOrBuilder> + gclbTargetsBuilder_; /** + * + * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * A Target Proxy is only present on this list if it's attached to a
      * Forwarding Rule.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List getGclbTargetsList() { + public java.util.List + getGclbTargetsList() { if (gclbTargetsBuilder_ == null) { return java.util.Collections.unmodifiableList(gclbTargets_); } else { @@ -4008,13 +4560,17 @@ public java.util.List * Output only. A list of GCLB targets which use this Certificate Map. * A Target Proxy is only present on this list if it's attached to a * Forwarding Rule. *
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public int getGclbTargetsCount() { if (gclbTargetsBuilder_ == null) { @@ -4024,15 +4580,20 @@ public int getGclbTargetsCount() { } } /** + * + * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * A Target Proxy is only present on this list if it's attached to a
      * Forwarding Rule.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget getGclbTargets(int index) { + public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget getGclbTargets( + int index) { if (gclbTargetsBuilder_ == null) { return gclbTargets_.get(index); } else { @@ -4040,13 +4601,17 @@ public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget getGclbT } } /** + * + * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * A Target Proxy is only present on this list if it's attached to a
      * Forwarding Rule.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setGclbTargets( int index, com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget value) { @@ -4063,16 +4628,21 @@ public Builder setGclbTargets( return this; } /** + * + * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * A Target Proxy is only present on this list if it's attached to a
      * Forwarding Rule.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setGclbTargets( - int index, com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.Builder builderForValue) { + int index, + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.Builder builderForValue) { if (gclbTargetsBuilder_ == null) { ensureGclbTargetsIsMutable(); gclbTargets_.set(index, builderForValue.build()); @@ -4083,15 +4653,20 @@ public Builder setGclbTargets( return this; } /** + * + * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * A Target Proxy is only present on this list if it's attached to a
      * Forwarding Rule.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder addGclbTargets(com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget value) { + public Builder addGclbTargets( + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget value) { if (gclbTargetsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -4105,13 +4680,17 @@ public Builder addGclbTargets(com.google.cloud.certificatemanager.v1.Certificate return this; } /** + * + * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * A Target Proxy is only present on this list if it's attached to a
      * Forwarding Rule.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addGclbTargets( int index, com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget value) { @@ -4128,13 +4707,17 @@ public Builder addGclbTargets( return this; } /** + * + * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * A Target Proxy is only present on this list if it's attached to a
      * Forwarding Rule.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addGclbTargets( com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.Builder builderForValue) { @@ -4148,16 +4731,21 @@ public Builder addGclbTargets( return this; } /** + * + * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * A Target Proxy is only present on this list if it's attached to a
      * Forwarding Rule.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addGclbTargets( - int index, com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.Builder builderForValue) { + int index, + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.Builder builderForValue) { if (gclbTargetsBuilder_ == null) { ensureGclbTargetsIsMutable(); gclbTargets_.add(index, builderForValue.build()); @@ -4168,20 +4756,25 @@ public Builder addGclbTargets( return this; } /** + * + * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * A Target Proxy is only present on this list if it's attached to a
      * Forwarding Rule.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder addAllGclbTargets( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget> + values) { if (gclbTargetsBuilder_ == null) { ensureGclbTargetsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, gclbTargets_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, gclbTargets_); onChanged(); } else { gclbTargetsBuilder_.addAllMessages(values); @@ -4189,13 +4782,17 @@ public Builder addAllGclbTargets( return this; } /** + * + * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * A Target Proxy is only present on this list if it's attached to a
      * Forwarding Rule.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearGclbTargets() { if (gclbTargetsBuilder_ == null) { @@ -4208,13 +4805,17 @@ public Builder clearGclbTargets() { return this; } /** + * + * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * A Target Proxy is only present on this list if it's attached to a
      * Forwarding Rule.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder removeGclbTargets(int index) { if (gclbTargetsBuilder_ == null) { @@ -4227,45 +4828,59 @@ public Builder removeGclbTargets(int index) { return this; } /** + * + * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * A Target Proxy is only present on this list if it's attached to a
      * Forwarding Rule.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.Builder getGclbTargetsBuilder( - int index) { + public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.Builder + getGclbTargetsBuilder(int index) { return getGclbTargetsFieldBuilder().getBuilder(index); } /** + * + * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * A Target Proxy is only present on this list if it's attached to a
      * Forwarding Rule.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTargetOrBuilder getGclbTargetsOrBuilder( - int index) { + public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTargetOrBuilder + getGclbTargetsOrBuilder(int index) { if (gclbTargetsBuilder_ == null) { - return gclbTargets_.get(index); } else { + return gclbTargets_.get(index); + } else { return gclbTargetsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * A Target Proxy is only present on this list if it's attached to a
      * Forwarding Rule.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getGclbTargetsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.certificatemanager.v1.CertificateMap.GclbTargetOrBuilder> + getGclbTargetsOrBuilderList() { if (gclbTargetsBuilder_ != null) { return gclbTargetsBuilder_.getMessageOrBuilderList(); } else { @@ -4273,62 +4888,83 @@ public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTargetOrBuilder } } /** + * + * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * A Target Proxy is only present on this list if it's attached to a
      * Forwarding Rule.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.Builder addGclbTargetsBuilder() { - return getGclbTargetsFieldBuilder().addBuilder( - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.getDefaultInstance()); + public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.Builder + addGclbTargetsBuilder() { + return getGclbTargetsFieldBuilder() + .addBuilder( + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget + .getDefaultInstance()); } /** + * + * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * A Target Proxy is only present on this list if it's attached to a
      * Forwarding Rule.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.Builder addGclbTargetsBuilder( - int index) { - return getGclbTargetsFieldBuilder().addBuilder( - index, com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.getDefaultInstance()); + public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.Builder + addGclbTargetsBuilder(int index) { + return getGclbTargetsFieldBuilder() + .addBuilder( + index, + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget + .getDefaultInstance()); } /** + * + * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * A Target Proxy is only present on this list if it's attached to a
      * Forwarding Rule.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public java.util.List - getGclbTargetsBuilderList() { + public java.util.List + getGclbTargetsBuilderList() { return getGclbTargetsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget, com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.Builder, com.google.cloud.certificatemanager.v1.CertificateMap.GclbTargetOrBuilder> + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget, + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.Builder, + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTargetOrBuilder> getGclbTargetsFieldBuilder() { if (gclbTargetsBuilder_ == null) { - gclbTargetsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget, com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.Builder, com.google.cloud.certificatemanager.v1.CertificateMap.GclbTargetOrBuilder>( - gclbTargets_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + gclbTargetsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget, + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.Builder, + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTargetOrBuilder>( + gclbTargets_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); gclbTargets_ = null; } return gclbTargetsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4338,12 +4974,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.CertificateMap) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.CertificateMap) private static final com.google.cloud.certificatemanager.v1.CertificateMap DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.CertificateMap(); } @@ -4352,27 +4988,27 @@ public static com.google.cloud.certificatemanager.v1.CertificateMap getDefaultIn return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CertificateMap parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CertificateMap parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4387,6 +5023,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.certificatemanager.v1.CertificateMap getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntry.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntry.java similarity index 69% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntry.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntry.java index 9ec179f43571..a80d347f7516 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntry.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntry.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/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; /** + * + * *
  * Defines a certificate map entry.
  * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.CertificateMapEntry} */ -public final class CertificateMapEntry extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CertificateMapEntry extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.CertificateMapEntry) CertificateMapEntryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CertificateMapEntry.newBuilder() to construct. private CertificateMapEntry(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CertificateMapEntry() { name_ = ""; description_ = ""; @@ -28,42 +46,44 @@ private CertificateMapEntry() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CertificateMapEntry(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CertificateMapEntry_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CertificateMapEntry_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 4: 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.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CertificateMapEntry_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CertificateMapEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.CertificateMapEntry.class, com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder.class); + com.google.cloud.certificatemanager.v1.CertificateMapEntry.class, + com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder.class); } /** + * + * *
    * Defines predefined cases other than SNI-hostname match when this
    * configuration should be applied.
@@ -71,9 +91,10 @@ protected com.google.protobuf.MapField internalGetMapField(
    *
    * Protobuf enum {@code google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher}
    */
-  public enum Matcher
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum Matcher implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * A matcher has't been recognized.
      * 
@@ -82,6 +103,8 @@ public enum Matcher */ MATCHER_UNSPECIFIED(0), /** + * + * *
      * A primary certificate that is served when SNI wasn't specified in the
      * request or SNI couldn't be found in the map.
@@ -94,6 +117,8 @@ public enum Matcher
     ;
 
     /**
+     *
+     *
      * 
      * A matcher has't been recognized.
      * 
@@ -102,6 +127,8 @@ public enum Matcher */ public static final int MATCHER_UNSPECIFIED_VALUE = 0; /** + * + * *
      * A primary certificate that is served when SNI wasn't specified in the
      * request or SNI couldn't be found in the map.
@@ -111,7 +138,6 @@ public enum Matcher
      */
     public static final int PRIMARY_VALUE = 1;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -136,48 +162,49 @@ public static Matcher valueOf(int value) {
      */
     public static Matcher forNumber(int value) {
       switch (value) {
-        case 0: return MATCHER_UNSPECIFIED;
-        case 1: return PRIMARY;
-        default: return null;
+        case 0:
+          return MATCHER_UNSPECIFIED;
+        case 1:
+          return PRIMARY;
+        default:
+          return null;
       }
     }
 
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
       return internalValueMap;
     }
-    private static final com.google.protobuf.Internal.EnumLiteMap<
-        Matcher> internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public Matcher findValueByNumber(int number) {
-              return Matcher.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 Matcher findValueByNumber(int number) {
+            return Matcher.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.certificatemanager.v1.CertificateMapEntry.getDescriptor().getEnumTypes().get(0);
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
+      return com.google.cloud.certificatemanager.v1.CertificateMapEntry.getDescriptor()
+          .getEnumTypes()
+          .get(0);
     }
 
     private static final Matcher[] VALUES = values();
 
-    public static Matcher valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static Matcher valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -196,13 +223,16 @@ private Matcher(int value) {
 
   private int matchCase_ = 0;
   private java.lang.Object match_;
+
   public enum MatchCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     HOSTNAME(5),
     MATCHER(10),
     MATCH_NOT_SET(0);
     private final int value;
+
     private MatchCase(int value) {
       this.value = value;
     }
@@ -218,26 +248,31 @@ public static MatchCase valueOf(int value) {
 
     public static MatchCase forNumber(int value) {
       switch (value) {
-        case 5: return HOSTNAME;
-        case 10: return MATCHER;
-        case 0: return MATCH_NOT_SET;
-        default: return null;
+        case 5:
+          return HOSTNAME;
+        case 10:
+          return MATCHER;
+        case 0:
+          return MATCH_NOT_SET;
+        default:
+          return null;
       }
     }
+
     public int getNumber() {
       return this.value;
     }
   };
 
-  public MatchCase
-  getMatchCase() {
-    return MatchCase.forNumber(
-        matchCase_);
+  public MatchCase getMatchCase() {
+    return MatchCase.forNumber(matchCase_);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
   private volatile java.lang.Object name_;
   /**
+   *
+   *
    * 
    * A user-defined name of the Certificate Map Entry. Certificate Map Entry
    * names must be unique globally and match pattern
@@ -245,6 +280,7 @@ public int getNumber() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -253,14 +289,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * A user-defined name of the Certificate Map Entry. Certificate Map Entry
    * names must be unique globally and match pattern
@@ -268,16 +305,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -288,11 +324,14 @@ public java.lang.String getName() { public static final int DESCRIPTION_FIELD_NUMBER = 9; private volatile java.lang.Object description_; /** + * + * *
    * One or more paragraphs of text description of a certificate map entry.
    * 
* * string description = 9; + * * @return The description. */ @java.lang.Override @@ -301,29 +340,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * One or more paragraphs of text description of a certificate map entry.
    * 
* * string description = 9; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -334,11 +373,15 @@ public java.lang.String getDescription() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The creation timestamp of a Certificate Map Entry.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -346,11 +389,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The creation timestamp of a Certificate Map Entry.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -358,11 +405,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The creation timestamp of a Certificate Map Entry.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -372,11 +422,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The update timestamp of a Certificate Map Entry.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -384,11 +438,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The update timestamp of a Certificate Map Entry.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -396,11 +454,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The update timestamp of a Certificate Map Entry.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -408,24 +469,23 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 4; + 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.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CertificateMapEntry_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.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CertificateMapEntry_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_; } @@ -434,28 +494,30 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Set of labels associated with a Certificate Map Entry.
    * 
* * map<string, string> labels = 4; */ - @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * Set of labels associated with a Certificate Map Entry.
    * 
@@ -463,11 +525,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Set of labels associated with a Certificate Map Entry.
    * 
@@ -475,16 +538,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Set of labels associated with a Certificate Map Entry.
    * 
@@ -492,12 +555,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -506,6 +568,8 @@ public java.lang.String getLabelsOrThrow( public static final int HOSTNAME_FIELD_NUMBER = 5; /** + * + * *
    * A Hostname (FQDN, e.g. `example.com`) or a wildcard hostname expression
    * (`*.example.com`) for a set of hostnames with common suffix. Used as
@@ -513,12 +577,15 @@ public java.lang.String getLabelsOrThrow(
    * 
* * string hostname = 5; + * * @return Whether the hostname field is set. */ public boolean hasHostname() { return matchCase_ == 5; } /** + * + * *
    * A Hostname (FQDN, e.g. `example.com`) or a wildcard hostname expression
    * (`*.example.com`) for a set of hostnames with common suffix. Used as
@@ -526,6 +593,7 @@ public boolean hasHostname() {
    * 
* * string hostname = 5; + * * @return The hostname. */ public java.lang.String getHostname() { @@ -536,8 +604,7 @@ 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(); if (matchCase_ == 5) { match_ = s; @@ -546,6 +613,8 @@ public java.lang.String getHostname() { } } /** + * + * *
    * A Hostname (FQDN, e.g. `example.com`) or a wildcard hostname expression
    * (`*.example.com`) for a set of hostnames with common suffix. Used as
@@ -553,18 +622,17 @@ public java.lang.String getHostname() {
    * 
* * string hostname = 5; + * * @return The bytes for hostname. */ - public com.google.protobuf.ByteString - getHostnameBytes() { + public com.google.protobuf.ByteString getHostnameBytes() { java.lang.Object ref = ""; if (matchCase_ == 5) { ref = match_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (matchCase_ == 5) { match_ = b; } @@ -576,22 +644,28 @@ public java.lang.String getHostname() { public static final int MATCHER_FIELD_NUMBER = 10; /** + * + * *
    * A predefined matcher for particular cases, other than SNI selection.
    * 
* * .google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher matcher = 10; + * * @return Whether the matcher field is set. */ public boolean hasMatcher() { return matchCase_ == 10; } /** + * + * *
    * A predefined matcher for particular cases, other than SNI selection.
    * 
* * .google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher matcher = 10; + * * @return The enum numeric value on the wire for matcher. */ public int getMatcherValue() { @@ -601,19 +675,25 @@ public int getMatcherValue() { return 0; } /** + * + * *
    * A predefined matcher for particular cases, other than SNI selection.
    * 
* * .google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher matcher = 10; + * * @return The matcher. */ public com.google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher getMatcher() { if (matchCase_ == 10) { @SuppressWarnings("deprecation") - com.google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher result = com.google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher.valueOf( - (java.lang.Integer) match_); - return result == null ? com.google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher.UNRECOGNIZED : result; + com.google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher result = + com.google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher.valueOf( + (java.lang.Integer) match_); + return result == null + ? com.google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher.UNRECOGNIZED + : result; } return com.google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher.MATCHER_UNSPECIFIED; } @@ -621,6 +701,8 @@ public com.google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher getMat public static final int CERTIFICATES_FIELD_NUMBER = 7; private com.google.protobuf.LazyStringList certificates_; /** + * + * *
    * A set of Certificates defines for the given `hostname`. There can be
    * defined up to fifteen certificates in each Certificate Map Entry. Each
@@ -628,13 +710,15 @@ public com.google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher getMat
    * 
* * repeated string certificates = 7 [(.google.api.resource_reference) = { ... } + * * @return A list containing the certificates. */ - public com.google.protobuf.ProtocolStringList - getCertificatesList() { + public com.google.protobuf.ProtocolStringList getCertificatesList() { return certificates_; } /** + * + * *
    * A set of Certificates defines for the given `hostname`. There can be
    * defined up to fifteen certificates in each Certificate Map Entry. Each
@@ -642,12 +726,15 @@ public com.google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher getMat
    * 
* * repeated string certificates = 7 [(.google.api.resource_reference) = { ... } + * * @return The count of certificates. */ public int getCertificatesCount() { return certificates_.size(); } /** + * + * *
    * A set of Certificates defines for the given `hostname`. There can be
    * defined up to fifteen certificates in each Certificate Map Entry. Each
@@ -655,6 +742,7 @@ public int getCertificatesCount() {
    * 
* * repeated string certificates = 7 [(.google.api.resource_reference) = { ... } + * * @param index The index of the element to return. * @return The certificates at the given index. */ @@ -662,6 +750,8 @@ public java.lang.String getCertificates(int index) { return certificates_.get(index); } /** + * + * *
    * A set of Certificates defines for the given `hostname`. There can be
    * defined up to fifteen certificates in each Certificate Map Entry. Each
@@ -669,42 +759,58 @@ public java.lang.String getCertificates(int index) {
    * 
* * repeated string certificates = 7 [(.google.api.resource_reference) = { ... } + * * @param index The index of the value to return. * @return The bytes of the certificates at the given index. */ - public com.google.protobuf.ByteString - getCertificatesBytes(int index) { + public com.google.protobuf.ByteString getCertificatesBytes(int index) { return certificates_.getByteString(index); } public static final int STATE_FIELD_NUMBER = 8; private int state_; /** + * + * *
    * Output only. A serving state of this Certificate Map Entry.
    * 
* - * .google.cloud.certificatemanager.v1.ServingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.ServingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
    * Output only. A serving state of this Certificate Map Entry.
    * 
* - * .google.cloud.certificatemanager.v1.ServingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.ServingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.certificatemanager.v1.ServingState getState() { + @java.lang.Override + public com.google.cloud.certificatemanager.v1.ServingState getState() { @SuppressWarnings("deprecation") - com.google.cloud.certificatemanager.v1.ServingState result = com.google.cloud.certificatemanager.v1.ServingState.valueOf(state_); - return result == null ? com.google.cloud.certificatemanager.v1.ServingState.UNRECOGNIZED : result; + com.google.cloud.certificatemanager.v1.ServingState result = + com.google.cloud.certificatemanager.v1.ServingState.valueOf(state_); + return result == null + ? com.google.cloud.certificatemanager.v1.ServingState.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -716,8 +822,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -727,19 +832,17 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (updateTime_ != null) { output.writeMessage(3, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); if (matchCase_ == 5) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, match_); } for (int i = 0; i < certificates_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, certificates_.getRaw(i)); } - if (state_ != com.google.cloud.certificatemanager.v1.ServingState.SERVING_STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.certificatemanager.v1.ServingState.SERVING_STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(8, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { @@ -761,22 +864,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateTime()); - } - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, labels__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); + } + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__); } if (matchCase_ == 5) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, match_); @@ -789,16 +890,17 @@ public int getSerializedSize() { size += dataSize; size += 1 * getCertificatesList().size(); } - if (state_ != com.google.cloud.certificatemanager.v1.ServingState.SERVING_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(8, state_); + if (state_ + != com.google.cloud.certificatemanager.v1.ServingState.SERVING_STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(8, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, description_); } if (matchCase_ == 10) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(10, ((java.lang.Integer) match_)); + size += + com.google.protobuf.CodedOutputStream.computeEnumSize(10, ((java.lang.Integer) match_)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -808,41 +910,34 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.certificatemanager.v1.CertificateMapEntry)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.CertificateMapEntry other = (com.google.cloud.certificatemanager.v1.CertificateMapEntry) obj; + com.google.cloud.certificatemanager.v1.CertificateMapEntry other = + (com.google.cloud.certificatemanager.v1.CertificateMapEntry) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; + if (!getName().equals(other.getName())) return false; + if (!getDescription().equals(other.getDescription())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; } - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; - if (!getCertificatesList() - .equals(other.getCertificatesList())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getCertificatesList().equals(other.getCertificatesList())) return false; if (state_ != other.state_) return false; if (!getMatchCase().equals(other.getMatchCase())) return false; switch (matchCase_) { case 5: - if (!getHostname() - .equals(other.getHostname())) return false; + if (!getHostname().equals(other.getHostname())) return false; break; case 10: - if (getMatcherValue() - != other.getMatcherValue()) return false; + if (getMatcherValue() != other.getMatcherValue()) return false; break; case 0: default: @@ -898,151 +993,156 @@ public int hashCode() { } public static com.google.cloud.certificatemanager.v1.CertificateMapEntry parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.CertificateMapEntry parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.CertificateMapEntry parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.CertificateMapEntry parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.CertificateMapEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.CertificateMapEntry parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CertificateMapEntry parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.CertificateMapEntry parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.CertificateMapEntry parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CertificateMapEntry parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.CertificateMapEntry parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.CertificateMapEntry parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.CertificateMapEntry parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.CertificateMapEntry parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.CertificateMapEntry prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.CertificateMapEntry prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 a certificate map entry.
    * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.CertificateMapEntry} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.CertificateMapEntry) com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CertificateMapEntry_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CertificateMapEntry_descriptor; } @SuppressWarnings({"rawtypes"}) - protected com.google.protobuf.MapField internalGetMapField( - int number) { + protected com.google.protobuf.MapField internalGetMapField(int number) { switch (number) { case 4: 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 4: 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.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CertificateMapEntry_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CertificateMapEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.CertificateMapEntry.class, com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder.class); + com.google.cloud.certificatemanager.v1.CertificateMapEntry.class, + com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder.class); } // Construct using com.google.cloud.certificatemanager.v1.CertificateMapEntry.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1073,9 +1173,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CertificateMapEntry_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CertificateMapEntry_descriptor; } @java.lang.Override @@ -1094,7 +1194,8 @@ public com.google.cloud.certificatemanager.v1.CertificateMapEntry build() { @java.lang.Override public com.google.cloud.certificatemanager.v1.CertificateMapEntry buildPartial() { - com.google.cloud.certificatemanager.v1.CertificateMapEntry result = new com.google.cloud.certificatemanager.v1.CertificateMapEntry(this); + com.google.cloud.certificatemanager.v1.CertificateMapEntry result = + new com.google.cloud.certificatemanager.v1.CertificateMapEntry(this); int from_bitField0_ = bitField0_; result.name_ = name_; result.description_ = description_; @@ -1131,38 +1232,39 @@ public com.google.cloud.certificatemanager.v1.CertificateMapEntry buildPartial() public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.certificatemanager.v1.CertificateMapEntry) { - return mergeFrom((com.google.cloud.certificatemanager.v1.CertificateMapEntry)other); + return mergeFrom((com.google.cloud.certificatemanager.v1.CertificateMapEntry) other); } else { super.mergeFrom(other); return this; @@ -1170,7 +1272,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.certificatemanager.v1.CertificateMapEntry other) { - if (other == com.google.cloud.certificatemanager.v1.CertificateMapEntry.getDefaultInstance()) return this; + if (other == com.google.cloud.certificatemanager.v1.CertificateMapEntry.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -1185,8 +1288,7 @@ public Builder mergeFrom(com.google.cloud.certificatemanager.v1.CertificateMapEn if (other.hasUpdateTime()) { mergeUpdateTime(other.getUpdateTime()); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); if (!other.certificates_.isEmpty()) { if (certificates_.isEmpty()) { certificates_ = other.certificates_; @@ -1201,19 +1303,22 @@ public Builder mergeFrom(com.google.cloud.certificatemanager.v1.CertificateMapEn setStateValue(other.getStateValue()); } switch (other.getMatchCase()) { - case HOSTNAME: { - matchCase_ = 5; - match_ = other.match_; - onChanged(); - break; - } - case MATCHER: { - setMatcherValue(other.getMatcherValue()); - break; - } - case MATCH_NOT_SET: { - break; - } + case HOSTNAME: + { + matchCase_ = 5; + match_ = other.match_; + onChanged(); + break; + } + case MATCHER: + { + setMatcherValue(other.getMatcherValue()); + break; + } + case MATCH_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1241,67 +1346,75 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - case 18: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - case 26: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 26 - case 34: { - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableLabels().getMutableMap().put( - labels__.getKey(), labels__.getValue()); - break; - } // case 34 - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - matchCase_ = 5; - match_ = s; - break; - } // case 42 - case 58: { - java.lang.String s = input.readStringRequireUtf8(); - ensureCertificatesIsMutable(); - certificates_.add(s); - break; - } // case 58 - case 64: { - state_ = input.readEnum(); - - break; - } // case 64 - case 74: { - description_ = input.readStringRequireUtf8(); - - break; - } // case 74 - case 80: { - int rawValue = input.readEnum(); - matchCase_ = 10; - match_ = rawValue; - break; - } // case 80 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + case 18: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + case 26: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 26 + case 34: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + break; + } // case 34 + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + matchCase_ = 5; + match_ = s; + break; + } // case 42 + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureCertificatesIsMutable(); + certificates_.add(s); + break; + } // case 58 + case 64: + { + state_ = input.readEnum(); + + break; + } // case 64 + case 74: + { + description_ = input.readStringRequireUtf8(); + + break; + } // case 74 + case 80: + { + int rawValue = input.readEnum(); + matchCase_ = 10; + match_ = rawValue; + break; + } // case 80 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1311,12 +1424,12 @@ public Builder mergeFrom( } // finally return this; } + private int matchCase_ = 0; private java.lang.Object match_; - public MatchCase - getMatchCase() { - return MatchCase.forNumber( - matchCase_); + + public MatchCase getMatchCase() { + return MatchCase.forNumber(matchCase_); } public Builder clearMatch() { @@ -1330,6 +1443,8 @@ public Builder clearMatch() { private java.lang.Object name_ = ""; /** + * + * *
      * A user-defined name of the Certificate Map Entry. Certificate Map Entry
      * names must be unique globally and match pattern
@@ -1337,13 +1452,13 @@ public Builder clearMatch() {
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1352,6 +1467,8 @@ public java.lang.String getName() { } } /** + * + * *
      * A user-defined name of the Certificate Map Entry. Certificate Map Entry
      * names must be unique globally and match pattern
@@ -1359,15 +1476,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1375,6 +1491,8 @@ public java.lang.String getName() { } } /** + * + * *
      * A user-defined name of the Certificate Map Entry. Certificate Map Entry
      * names must be unique globally and match pattern
@@ -1382,20 +1500,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * A user-defined name of the Certificate Map Entry. Certificate Map Entry
      * names must be unique globally and match pattern
@@ -1403,15 +1523,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * A user-defined name of the Certificate Map Entry. Certificate Map Entry
      * names must be unique globally and match pattern
@@ -1419,16 +1542,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -1436,18 +1559,20 @@ public Builder setNameBytes( private java.lang.Object description_ = ""; /** + * + * *
      * One or more paragraphs of text description of a certificate map entry.
      * 
* * string description = 9; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -1456,20 +1581,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * One or more paragraphs of text description of a certificate map entry.
      * 
* * string description = 9; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1477,54 +1603,61 @@ public java.lang.String getDescription() { } } /** + * + * *
      * One or more paragraphs of text description of a certificate map entry.
      * 
* * string description = 9; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * One or more paragraphs of text description of a certificate map entry.
      * 
* * string description = 9; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * One or more paragraphs of text description of a certificate map entry.
      * 
* * string description = 9; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -1532,39 +1665,58 @@ public Builder setDescriptionBytes( 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 a Certificate Map Entry.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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 a Certificate Map Entry.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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 a Certificate Map Entry.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -1580,14 +1732,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The creation timestamp of a Certificate Map Entry.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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(); @@ -1598,17 +1753,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The creation timestamp of a Certificate Map Entry.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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; } @@ -1620,11 +1779,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The creation timestamp of a Certificate Map Entry.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -1638,48 +1801,64 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The creation timestamp of a Certificate Map Entry.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The creation timestamp of a Certificate Map Entry.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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 a Certificate Map Entry.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -1687,39 +1866,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. The update timestamp of a Certificate Map Entry.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Output only. The update timestamp of a Certificate Map Entry.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The update timestamp of a Certificate Map Entry.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -1735,14 +1933,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The update timestamp of a Certificate Map Entry.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -1753,17 +1954,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The update timestamp of a Certificate Map Entry.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -1775,11 +1980,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The update timestamp of a Certificate Map Entry.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -1793,69 +2002,84 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The update timestamp of a Certificate Map Entry.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The update timestamp of a Certificate Map Entry.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. The update timestamp of a Certificate Map Entry.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; } - 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(); @@ -1867,28 +2091,30 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Set of labels associated with a Certificate Map Entry.
      * 
* * map<string, string> labels = 4; */ - @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * Set of labels associated with a Certificate Map Entry.
      * 
@@ -1896,11 +2122,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Set of labels associated with a Certificate Map Entry.
      * 
@@ -1908,16 +2135,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Set of labels associated with a Certificate Map Entry.
      * 
@@ -1925,12 +2153,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1938,68 +2165,67 @@ public java.lang.String getLabelsOrThrow( } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Set of labels associated with a Certificate Map Entry.
      * 
* * map<string, string> labels = 4; */ - - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Set of labels associated with a Certificate Map Entry.
      * 
* * map<string, string> labels = 4; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableLabels().getMutableMap() - .put(key, value); + internalGetMutableLabels().getMutableMap().put(key, value); return this; } /** + * + * *
      * Set of labels associated with a Certificate Map Entry.
      * 
* * map<string, string> labels = 4; */ - - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); return this; } /** + * + * *
      * A Hostname (FQDN, e.g. `example.com`) or a wildcard hostname expression
      * (`*.example.com`) for a set of hostnames with common suffix. Used as
@@ -2007,6 +2233,7 @@ public Builder putAllLabels(
      * 
* * string hostname = 5; + * * @return Whether the hostname field is set. */ @java.lang.Override @@ -2014,6 +2241,8 @@ public boolean hasHostname() { return matchCase_ == 5; } /** + * + * *
      * A Hostname (FQDN, e.g. `example.com`) or a wildcard hostname expression
      * (`*.example.com`) for a set of hostnames with common suffix. Used as
@@ -2021,6 +2250,7 @@ public boolean hasHostname() {
      * 
* * string hostname = 5; + * * @return The hostname. */ @java.lang.Override @@ -2030,8 +2260,7 @@ public java.lang.String getHostname() { ref = match_; } if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (matchCase_ == 5) { match_ = s; @@ -2042,6 +2271,8 @@ public java.lang.String getHostname() { } } /** + * + * *
      * A Hostname (FQDN, e.g. `example.com`) or a wildcard hostname expression
      * (`*.example.com`) for a set of hostnames with common suffix. Used as
@@ -2049,19 +2280,18 @@ public java.lang.String getHostname() {
      * 
* * string hostname = 5; + * * @return The bytes for hostname. */ @java.lang.Override - public com.google.protobuf.ByteString - getHostnameBytes() { + public com.google.protobuf.ByteString getHostnameBytes() { java.lang.Object ref = ""; if (matchCase_ == 5) { ref = match_; } if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); if (matchCase_ == 5) { match_ = b; } @@ -2071,6 +2301,8 @@ public java.lang.String getHostname() { } } /** + * + * *
      * A Hostname (FQDN, e.g. `example.com`) or a wildcard hostname expression
      * (`*.example.com`) for a set of hostnames with common suffix. Used as
@@ -2078,20 +2310,22 @@ public java.lang.String getHostname() {
      * 
* * string hostname = 5; + * * @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(); - } - matchCase_ = 5; + throw new NullPointerException(); + } + matchCase_ = 5; match_ = value; onChanged(); return this; } /** + * + * *
      * A Hostname (FQDN, e.g. `example.com`) or a wildcard hostname expression
      * (`*.example.com`) for a set of hostnames with common suffix. Used as
@@ -2099,6 +2333,7 @@ public Builder setHostname(
      * 
* * string hostname = 5; + * * @return This builder for chaining. */ public Builder clearHostname() { @@ -2110,6 +2345,8 @@ public Builder clearHostname() { return this; } /** + * + * *
      * A Hostname (FQDN, e.g. `example.com`) or a wildcard hostname expression
      * (`*.example.com`) for a set of hostnames with common suffix. Used as
@@ -2117,15 +2354,15 @@ public Builder clearHostname() {
      * 
* * string hostname = 5; + * * @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); matchCase_ = 5; match_ = value; onChanged(); @@ -2133,11 +2370,14 @@ public Builder setHostnameBytes( } /** + * + * *
      * A predefined matcher for particular cases, other than SNI selection.
      * 
* * .google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher matcher = 10; + * * @return Whether the matcher field is set. */ @java.lang.Override @@ -2145,11 +2385,14 @@ public boolean hasMatcher() { return matchCase_ == 10; } /** + * + * *
      * A predefined matcher for particular cases, other than SNI selection.
      * 
* * .google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher matcher = 10; + * * @return The enum numeric value on the wire for matcher. */ @java.lang.Override @@ -2160,11 +2403,14 @@ public int getMatcherValue() { return 0; } /** + * + * *
      * A predefined matcher for particular cases, other than SNI selection.
      * 
* * .google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher matcher = 10; + * * @param value The enum numeric value on the wire for matcher to set. * @return This builder for chaining. */ @@ -2175,33 +2421,43 @@ public Builder setMatcherValue(int value) { return this; } /** + * + * *
      * A predefined matcher for particular cases, other than SNI selection.
      * 
* * .google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher matcher = 10; + * * @return The matcher. */ @java.lang.Override public com.google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher getMatcher() { if (matchCase_ == 10) { @SuppressWarnings("deprecation") - com.google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher result = com.google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher.valueOf( - (java.lang.Integer) match_); - return result == null ? com.google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher.UNRECOGNIZED : result; + com.google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher result = + com.google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher.valueOf( + (java.lang.Integer) match_); + return result == null + ? com.google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher.UNRECOGNIZED + : result; } return com.google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher.MATCHER_UNSPECIFIED; } /** + * + * *
      * A predefined matcher for particular cases, other than SNI selection.
      * 
* * .google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher matcher = 10; + * * @param value The matcher to set. * @return This builder for chaining. */ - public Builder setMatcher(com.google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher value) { + public Builder setMatcher( + com.google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher value) { if (value == null) { throw new NullPointerException(); } @@ -2211,11 +2467,14 @@ public Builder setMatcher(com.google.cloud.certificatemanager.v1.CertificateMapE return this; } /** + * + * *
      * A predefined matcher for particular cases, other than SNI selection.
      * 
* * .google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher matcher = 10; + * * @return This builder for chaining. */ public Builder clearMatcher() { @@ -2227,14 +2486,18 @@ public Builder clearMatcher() { return this; } - private com.google.protobuf.LazyStringList certificates_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList certificates_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureCertificatesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { certificates_ = new com.google.protobuf.LazyStringArrayList(certificates_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * A set of Certificates defines for the given `hostname`. There can be
      * defined up to fifteen certificates in each Certificate Map Entry. Each
@@ -2242,13 +2505,15 @@ private void ensureCertificatesIsMutable() {
      * 
* * repeated string certificates = 7 [(.google.api.resource_reference) = { ... } + * * @return A list containing the certificates. */ - public com.google.protobuf.ProtocolStringList - getCertificatesList() { + public com.google.protobuf.ProtocolStringList getCertificatesList() { return certificates_.getUnmodifiableView(); } /** + * + * *
      * A set of Certificates defines for the given `hostname`. There can be
      * defined up to fifteen certificates in each Certificate Map Entry. Each
@@ -2256,12 +2521,15 @@ private void ensureCertificatesIsMutable() {
      * 
* * repeated string certificates = 7 [(.google.api.resource_reference) = { ... } + * * @return The count of certificates. */ public int getCertificatesCount() { return certificates_.size(); } /** + * + * *
      * A set of Certificates defines for the given `hostname`. There can be
      * defined up to fifteen certificates in each Certificate Map Entry. Each
@@ -2269,6 +2537,7 @@ public int getCertificatesCount() {
      * 
* * repeated string certificates = 7 [(.google.api.resource_reference) = { ... } + * * @param index The index of the element to return. * @return The certificates at the given index. */ @@ -2276,6 +2545,8 @@ public java.lang.String getCertificates(int index) { return certificates_.get(index); } /** + * + * *
      * A set of Certificates defines for the given `hostname`. There can be
      * defined up to fifteen certificates in each Certificate Map Entry. Each
@@ -2283,14 +2554,16 @@ public java.lang.String getCertificates(int index) {
      * 
* * repeated string certificates = 7 [(.google.api.resource_reference) = { ... } + * * @param index The index of the value to return. * @return The bytes of the certificates at the given index. */ - public com.google.protobuf.ByteString - getCertificatesBytes(int index) { + public com.google.protobuf.ByteString getCertificatesBytes(int index) { return certificates_.getByteString(index); } /** + * + * *
      * A set of Certificates defines for the given `hostname`. There can be
      * defined up to fifteen certificates in each Certificate Map Entry. Each
@@ -2298,21 +2571,23 @@ public java.lang.String getCertificates(int index) {
      * 
* * repeated string certificates = 7 [(.google.api.resource_reference) = { ... } + * * @param index The index to set the value at. * @param value The certificates to set. * @return This builder for chaining. */ - public Builder setCertificates( - int index, java.lang.String value) { + public Builder setCertificates(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCertificatesIsMutable(); + throw new NullPointerException(); + } + ensureCertificatesIsMutable(); certificates_.set(index, value); onChanged(); return this; } /** + * + * *
      * A set of Certificates defines for the given `hostname`. There can be
      * defined up to fifteen certificates in each Certificate Map Entry. Each
@@ -2320,20 +2595,22 @@ public Builder setCertificates(
      * 
* * repeated string certificates = 7 [(.google.api.resource_reference) = { ... } + * * @param value The certificates to add. * @return This builder for chaining. */ - public Builder addCertificates( - java.lang.String value) { + public Builder addCertificates(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureCertificatesIsMutable(); + throw new NullPointerException(); + } + ensureCertificatesIsMutable(); certificates_.add(value); onChanged(); return this; } /** + * + * *
      * A set of Certificates defines for the given `hostname`. There can be
      * defined up to fifteen certificates in each Certificate Map Entry. Each
@@ -2341,18 +2618,19 @@ public Builder addCertificates(
      * 
* * repeated string certificates = 7 [(.google.api.resource_reference) = { ... } + * * @param values The certificates to add. * @return This builder for chaining. */ - public Builder addAllCertificates( - java.lang.Iterable values) { + public Builder addAllCertificates(java.lang.Iterable values) { ensureCertificatesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, certificates_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, certificates_); onChanged(); return this; } /** + * + * *
      * A set of Certificates defines for the given `hostname`. There can be
      * defined up to fifteen certificates in each Certificate Map Entry. Each
@@ -2360,6 +2638,7 @@ public Builder addAllCertificates(
      * 
* * repeated string certificates = 7 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearCertificates() { @@ -2369,6 +2648,8 @@ public Builder clearCertificates() { return this; } /** + * + * *
      * A set of Certificates defines for the given `hostname`. There can be
      * defined up to fifteen certificates in each Certificate Map Entry. Each
@@ -2376,15 +2657,15 @@ public Builder clearCertificates() {
      * 
* * repeated string certificates = 7 [(.google.api.resource_reference) = { ... } + * * @param value The bytes of the certificates to add. * @return This builder for chaining. */ - public Builder addCertificatesBytes( - com.google.protobuf.ByteString value) { + public Builder addCertificatesBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureCertificatesIsMutable(); certificates_.add(value); onChanged(); @@ -2393,51 +2674,75 @@ public Builder addCertificatesBytes( private int state_ = 0; /** + * + * *
      * Output only. A serving state of this Certificate Map Entry.
      * 
* - * .google.cloud.certificatemanager.v1.ServingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.ServingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
      * Output only. A serving state of this Certificate Map Entry.
      * 
* - * .google.cloud.certificatemanager.v1.ServingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.ServingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); return this; } /** + * + * *
      * Output only. A serving state of this Certificate Map Entry.
      * 
* - * .google.cloud.certificatemanager.v1.ServingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.ServingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.certificatemanager.v1.ServingState getState() { @SuppressWarnings("deprecation") - com.google.cloud.certificatemanager.v1.ServingState result = com.google.cloud.certificatemanager.v1.ServingState.valueOf(state_); - return result == null ? com.google.cloud.certificatemanager.v1.ServingState.UNRECOGNIZED : result; + com.google.cloud.certificatemanager.v1.ServingState result = + com.google.cloud.certificatemanager.v1.ServingState.valueOf(state_); + return result == null + ? com.google.cloud.certificatemanager.v1.ServingState.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. A serving state of this Certificate Map Entry.
      * 
* - * .google.cloud.certificatemanager.v1.ServingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.ServingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -2445,28 +2750,33 @@ public Builder setState(com.google.cloud.certificatemanager.v1.ServingState valu if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); return this; } /** + * + * *
      * Output only. A serving state of this Certificate Map Entry.
      * 
* - * .google.cloud.certificatemanager.v1.ServingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.ServingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2476,12 +2786,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.CertificateMapEntry) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.CertificateMapEntry) private static final com.google.cloud.certificatemanager.v1.CertificateMapEntry DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.CertificateMapEntry(); } @@ -2490,27 +2800,27 @@ public static com.google.cloud.certificatemanager.v1.CertificateMapEntry getDefa return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CertificateMapEntry parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CertificateMapEntry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2525,6 +2835,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.certificatemanager.v1.CertificateMapEntry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntryName.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntryName.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntryName.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntryName.java diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntryOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntryOrBuilder.java similarity index 78% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntryOrBuilder.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntryOrBuilder.java index 5574376304d0..ffc7eb9724bf 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntryOrBuilder.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntryOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; -public interface CertificateMapEntryOrBuilder extends +public interface CertificateMapEntryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.CertificateMapEntry) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A user-defined name of the Certificate Map Entry. Certificate Map Entry
    * names must be unique globally and match pattern
@@ -15,10 +33,13 @@ public interface CertificateMapEntryOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * A user-defined name of the Certificate Map Entry. Certificate Map Entry
    * names must be unique globally and match pattern
@@ -26,86 +47,115 @@ public interface CertificateMapEntryOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * One or more paragraphs of text description of a certificate map entry.
    * 
* * string description = 9; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * One or more paragraphs of text description of a certificate map entry.
    * 
* * string description = 9; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Output only. The creation timestamp of a Certificate Map Entry.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The creation timestamp of a Certificate Map Entry.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The creation timestamp of a Certificate Map Entry.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The update timestamp of a Certificate Map Entry.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The update timestamp of a Certificate Map Entry.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The update timestamp of a Certificate Map Entry.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Set of labels associated with a Certificate Map Entry.
    * 
@@ -114,30 +164,31 @@ public interface CertificateMapEntryOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Set of labels associated with a Certificate Map Entry.
    * 
* * map<string, string> labels = 4; */ - 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 a Certificate Map Entry.
    * 
* * map<string, string> labels = 4; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Set of labels associated with a Certificate Map Entry.
    * 
@@ -146,22 +197,24 @@ boolean containsLabels( */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Set of labels associated with a Certificate Map Entry.
    * 
* * map<string, string> labels = 4; */ - - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * A Hostname (FQDN, e.g. `example.com`) or a wildcard hostname expression
    * (`*.example.com`) for a set of hostnames with common suffix. Used as
@@ -169,10 +222,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * string hostname = 5; + * * @return Whether the hostname field is set. */ boolean hasHostname(); /** + * + * *
    * A Hostname (FQDN, e.g. `example.com`) or a wildcard hostname expression
    * (`*.example.com`) for a set of hostnames with common suffix. Used as
@@ -180,10 +236,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * string hostname = 5; + * * @return The hostname. */ java.lang.String getHostname(); /** + * + * *
    * A Hostname (FQDN, e.g. `example.com`) or a wildcard hostname expression
    * (`*.example.com`) for a set of hostnames with common suffix. Used as
@@ -191,40 +250,51 @@ java.lang.String getLabelsOrThrow(
    * 
* * string hostname = 5; + * * @return The bytes for hostname. */ - com.google.protobuf.ByteString - getHostnameBytes(); + com.google.protobuf.ByteString getHostnameBytes(); /** + * + * *
    * A predefined matcher for particular cases, other than SNI selection.
    * 
* * .google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher matcher = 10; + * * @return Whether the matcher field is set. */ boolean hasMatcher(); /** + * + * *
    * A predefined matcher for particular cases, other than SNI selection.
    * 
* * .google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher matcher = 10; + * * @return The enum numeric value on the wire for matcher. */ int getMatcherValue(); /** + * + * *
    * A predefined matcher for particular cases, other than SNI selection.
    * 
* * .google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher matcher = 10; + * * @return The matcher. */ com.google.cloud.certificatemanager.v1.CertificateMapEntry.Matcher getMatcher(); /** + * + * *
    * A set of Certificates defines for the given `hostname`. There can be
    * defined up to fifteen certificates in each Certificate Map Entry. Each
@@ -232,11 +302,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * repeated string certificates = 7 [(.google.api.resource_reference) = { ... } + * * @return A list containing the certificates. */ - java.util.List - getCertificatesList(); + java.util.List getCertificatesList(); /** + * + * *
    * A set of Certificates defines for the given `hostname`. There can be
    * defined up to fifteen certificates in each Certificate Map Entry. Each
@@ -244,10 +316,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * repeated string certificates = 7 [(.google.api.resource_reference) = { ... } + * * @return The count of certificates. */ int getCertificatesCount(); /** + * + * *
    * A set of Certificates defines for the given `hostname`. There can be
    * defined up to fifteen certificates in each Certificate Map Entry. Each
@@ -255,11 +330,14 @@ java.lang.String getLabelsOrThrow(
    * 
* * repeated string certificates = 7 [(.google.api.resource_reference) = { ... } + * * @param index The index of the element to return. * @return The certificates at the given index. */ java.lang.String getCertificates(int index); /** + * + * *
    * A set of Certificates defines for the given `hostname`. There can be
    * defined up to fifteen certificates in each Certificate Map Entry. Each
@@ -267,27 +345,37 @@ java.lang.String getLabelsOrThrow(
    * 
* * repeated string certificates = 7 [(.google.api.resource_reference) = { ... } + * * @param index The index of the value to return. * @return The bytes of the certificates at the given index. */ - com.google.protobuf.ByteString - getCertificatesBytes(int index); + com.google.protobuf.ByteString getCertificatesBytes(int index); /** + * + * *
    * Output only. A serving state of this Certificate Map Entry.
    * 
* - * .google.cloud.certificatemanager.v1.ServingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.ServingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. A serving state of this Certificate Map Entry.
    * 
* - * .google.cloud.certificatemanager.v1.ServingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.ServingState state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.certificatemanager.v1.ServingState getState(); diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapName.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapName.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapName.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapName.java diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapOrBuilder.java similarity index 66% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapOrBuilder.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapOrBuilder.java index dcb7e9dc8543..39626a5d5236 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapOrBuilder.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; -public interface CertificateMapOrBuilder extends +public interface CertificateMapOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.CertificateMap) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A user-defined name of the Certificate Map. Certificate Map names must be
    * unique globally and match pattern
@@ -15,10 +33,13 @@ public interface CertificateMapOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * A user-defined name of the Certificate Map. Certificate Map names must be
    * unique globally and match pattern
@@ -26,86 +47,115 @@ public interface CertificateMapOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * One or more paragraphs of text description of a certificate map.
    * 
* * string description = 5; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * One or more paragraphs of text description of a certificate map.
    * 
* * string description = 5; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Output only. The creation timestamp of a Certificate Map.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The creation timestamp of a Certificate Map.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The creation timestamp of a Certificate Map.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The update timestamp of a Certificate Map.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The update timestamp of a Certificate Map.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The update timestamp of a Certificate Map.
    * 
* - * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Set of labels associated with a Certificate Map.
    * 
@@ -114,30 +164,31 @@ public interface CertificateMapOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Set of labels associated with a Certificate Map.
    * 
* * map<string, string> labels = 3; */ - 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 a Certificate Map.
    * 
* * map<string, string> labels = 3; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Set of labels associated with a Certificate Map.
    * 
@@ -146,71 +197,92 @@ boolean containsLabels( */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Set of labels associated with a Certificate Map.
    * 
* * map<string, string> labels = 3; */ - - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Output only. A list of GCLB targets which use this Certificate Map.
    * A Target Proxy is only present on this list if it's attached to a
    * Forwarding Rule.
    * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List getGclbTargetsList(); /** + * + * *
    * Output only. A list of GCLB targets which use this Certificate Map.
    * A Target Proxy is only present on this list if it's attached to a
    * Forwarding Rule.
    * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget getGclbTargets(int index); /** + * + * *
    * Output only. A list of GCLB targets which use this Certificate Map.
    * A Target Proxy is only present on this list if it's attached to a
    * Forwarding Rule.
    * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ int getGclbTargetsCount(); /** + * + * *
    * Output only. A list of GCLB targets which use this Certificate Map.
    * A Target Proxy is only present on this list if it's attached to a
    * Forwarding Rule.
    * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.certificatemanager.v1.CertificateMap.GclbTargetOrBuilder> getGclbTargetsOrBuilderList(); /** + * + * *
    * Output only. A list of GCLB targets which use this Certificate Map.
    * A Target Proxy is only present on this list if it's attached to a
    * Forwarding Rule.
    * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget gclb_targets = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.certificatemanager.v1.CertificateMap.GclbTargetOrBuilder getGclbTargetsOrBuilder( int index); diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateName.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateName.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateName.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateName.java diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateOrBuilder.java similarity index 76% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateOrBuilder.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateOrBuilder.java index 82e424e77b03..56b959a2959d 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateOrBuilder.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateOrBuilder.java @@ -1,109 +1,159 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; -public interface CertificateOrBuilder extends +public interface CertificateOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.Certificate) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A user-defined name of the certificate. Certificate names must be unique
    * globally and match pattern `projects/*/locations/*/certificates/*`.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * A user-defined name of the certificate. Certificate names must be unique
    * globally and match pattern `projects/*/locations/*/certificates/*`.
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * One or more paragraphs of text description of a certificate.
    * 
* * string description = 8; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * One or more paragraphs of text description of a certificate.
    * 
* * string description = 8; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Output only. The creation timestamp of a Certificate.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The creation timestamp of a Certificate.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The creation timestamp of a Certificate.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The last update timestamp of a Certificate.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The last update timestamp of a Certificate.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The last update timestamp of a Certificate.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Set of labels associated with a Certificate.
    * 
@@ -112,30 +162,31 @@ public interface CertificateOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Set of labels associated with a Certificate.
    * 
* * map<string, string> labels = 4; */ - 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 a Certificate.
    * 
* * map<string, string> labels = 4; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Set of labels associated with a Certificate.
    * 
@@ -144,76 +195,99 @@ boolean containsLabels( */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Set of labels associated with a Certificate.
    * 
* * map<string, string> labels = 4; */ - - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * If set, defines data of a self-managed certificate.
    * 
* - * .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5; + * .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5; + * + * * @return Whether the selfManaged field is set. */ boolean hasSelfManaged(); /** + * + * *
    * If set, defines data of a self-managed certificate.
    * 
* - * .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5; + * .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5; + * + * * @return The selfManaged. */ com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate getSelfManaged(); /** + * + * *
    * If set, defines data of a self-managed certificate.
    * 
* - * .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5; + * .google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate self_managed = 5; + * */ - com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificateOrBuilder getSelfManagedOrBuilder(); + com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificateOrBuilder + getSelfManagedOrBuilder(); /** + * + * *
    * If set, contains configuration and state of a managed certificate.
    * 
* * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11; + * * @return Whether the managed field is set. */ boolean hasManaged(); /** + * + * *
    * If set, contains configuration and state of a managed certificate.
    * 
* * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11; + * * @return The managed. */ com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate getManaged(); /** + * + * *
    * If set, contains configuration and state of a managed certificate.
    * 
* * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate managed = 11; */ - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificateOrBuilder getManagedOrBuilder(); + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificateOrBuilder + getManagedOrBuilder(); /** + * + * *
    * Output only. The list of Subject Alternative Names of dnsName type defined
    * in the certificate (see RFC 5280 4.2.1.6). Managed certificates that
@@ -222,11 +296,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return A list containing the sanDnsnames. */ - java.util.List - getSanDnsnamesList(); + java.util.List getSanDnsnamesList(); /** + * + * *
    * Output only. The list of Subject Alternative Names of dnsName type defined
    * in the certificate (see RFC 5280 4.2.1.6). Managed certificates that
@@ -235,10 +311,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The count of sanDnsnames. */ int getSanDnsnamesCount(); /** + * + * *
    * Output only. The list of Subject Alternative Names of dnsName type defined
    * in the certificate (see RFC 5280 4.2.1.6). Managed certificates that
@@ -247,11 +326,14 @@ java.lang.String getLabelsOrThrow(
    * 
* * repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the element to return. * @return The sanDnsnames at the given index. */ java.lang.String getSanDnsnames(int index); /** + * + * *
    * Output only. The list of Subject Alternative Names of dnsName type defined
    * in the certificate (see RFC 5280 4.2.1.6). Managed certificates that
@@ -260,74 +342,100 @@ java.lang.String getLabelsOrThrow(
    * 
* * repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param index The index of the value to return. * @return The bytes of the sanDnsnames at the given index. */ - com.google.protobuf.ByteString - getSanDnsnamesBytes(int index); + com.google.protobuf.ByteString getSanDnsnamesBytes(int index); /** + * + * *
    * Output only. The PEM-encoded certificate chain.
    * 
* * string pem_certificate = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The pemCertificate. */ java.lang.String getPemCertificate(); /** + * + * *
    * Output only. The PEM-encoded certificate chain.
    * 
* * string pem_certificate = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for pemCertificate. */ - com.google.protobuf.ByteString - getPemCertificateBytes(); + com.google.protobuf.ByteString getPemCertificateBytes(); /** + * + * *
    * Output only. The expiry timestamp of a Certificate.
    * 
* - * .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the expireTime field is set. */ boolean hasExpireTime(); /** + * + * *
    * Output only. The expiry timestamp of a Certificate.
    * 
* - * .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The expireTime. */ com.google.protobuf.Timestamp getExpireTime(); /** + * + * *
    * Output only. The expiry timestamp of a Certificate.
    * 
* - * .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp expire_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder(); /** + * + * *
    * Immutable. The scope of the certificate.
    * 
* - * .google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The enum numeric value on the wire for scope. */ int getScopeValue(); /** + * + * *
    * Immutable. The scope of the certificate.
    * 
* - * .google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE]; + * + * .google.cloud.certificatemanager.v1.Certificate.Scope scope = 12 [(.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The scope. */ com.google.cloud.certificatemanager.v1.Certificate.Scope getScope(); diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateIssuanceConfigRequest.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateIssuanceConfigRequest.java similarity index 56% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateIssuanceConfigRequest.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateIssuanceConfigRequest.java index 4bcc61f06609..6ebb8da957e2 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateIssuanceConfigRequest.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateIssuanceConfigRequest.java @@ -1,24 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_issuance_config.proto package com.google.cloud.certificatemanager.v1; /** + * + * *
  * Request for the `CreateCertificateIssuanceConfig` method.
  * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest} */ -public final class CreateCertificateIssuanceConfigRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateCertificateIssuanceConfigRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest) CreateCertificateIssuanceConfigRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateCertificateIssuanceConfigRequest.newBuilder() to construct. - private CreateCertificateIssuanceConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateCertificateIssuanceConfigRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateCertificateIssuanceConfigRequest() { parent_ = ""; certificateIssuanceConfigId_ = ""; @@ -26,38 +46,45 @@ private CreateCertificateIssuanceConfigRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateCertificateIssuanceConfigRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_CreateCertificateIssuanceConfigRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_CreateCertificateIssuanceConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_CreateCertificateIssuanceConfigRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_CreateCertificateIssuanceConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest.class, com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest.Builder.class); + com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest.class, + com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest.Builder + .class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent resource of the certificate issuance config. 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 @@ -66,30 +93,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource of the certificate issuance config. 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 { @@ -100,11 +129,15 @@ public java.lang.String getParent() { public static final int CERTIFICATE_ISSUANCE_CONFIG_ID_FIELD_NUMBER = 2; private volatile java.lang.Object certificateIssuanceConfigId_; /** + * + * *
    * Required. A user-provided name of the certificate config.
    * 
* - * string certificate_issuance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * string certificate_issuance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The certificateIssuanceConfigId. */ @java.lang.Override @@ -113,29 +146,30 @@ public java.lang.String getCertificateIssuanceConfigId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); certificateIssuanceConfigId_ = s; return s; } } /** + * + * *
    * Required. A user-provided name of the certificate config.
    * 
* - * string certificate_issuance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * string certificate_issuance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The bytes for certificateIssuanceConfigId. */ @java.lang.Override - public com.google.protobuf.ByteString - getCertificateIssuanceConfigIdBytes() { + public com.google.protobuf.ByteString getCertificateIssuanceConfigIdBytes() { java.lang.Object ref = certificateIssuanceConfigId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); certificateIssuanceConfigId_ = b; return b; } else { @@ -144,13 +178,19 @@ public java.lang.String getCertificateIssuanceConfigId() { } public static final int CERTIFICATE_ISSUANCE_CONFIG_FIELD_NUMBER = 3; - private com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificateIssuanceConfig_; + private com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + certificateIssuanceConfig_; /** + * + * *
    * Required. A definition of the certificate issuance config to create.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the certificateIssuanceConfig field is set. */ @java.lang.Override @@ -158,30 +198,44 @@ public boolean hasCertificateIssuanceConfig() { return certificateIssuanceConfig_ != null; } /** + * + * *
    * Required. A definition of the certificate issuance config to create.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The certificateIssuanceConfig. */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig getCertificateIssuanceConfig() { - return certificateIssuanceConfig_ == null ? com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.getDefaultInstance() : certificateIssuanceConfig_; + public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + getCertificateIssuanceConfig() { + return certificateIssuanceConfig_ == null + ? com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.getDefaultInstance() + : certificateIssuanceConfig_; } /** + * + * *
    * Required. A definition of the certificate issuance config to create.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigOrBuilder getCertificateIssuanceConfigOrBuilder() { + public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigOrBuilder + getCertificateIssuanceConfigOrBuilder() { return getCertificateIssuanceConfig(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -193,8 +247,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -217,11 +270,13 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(certificateIssuanceConfigId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, certificateIssuanceConfigId_); + size += + com.google.protobuf.GeneratedMessageV3.computeStringSize(2, certificateIssuanceConfigId_); } if (certificateIssuanceConfig_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCertificateIssuanceConfig()); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, getCertificateIssuanceConfig()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -231,21 +286,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.certificatemanager.v1.CreateCertificateIssuanceConfigRequest)) { + if (!(obj + instanceof com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest other = (com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest) obj; + com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest other = + (com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getCertificateIssuanceConfigId() - .equals(other.getCertificateIssuanceConfigId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getCertificateIssuanceConfigId().equals(other.getCertificateIssuanceConfigId())) + return false; if (hasCertificateIssuanceConfig() != other.hasCertificateIssuanceConfig()) return false; if (hasCertificateIssuanceConfig()) { - if (!getCertificateIssuanceConfig() - .equals(other.getCertificateIssuanceConfig())) return false; + if (!getCertificateIssuanceConfig().equals(other.getCertificateIssuanceConfig())) + return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -271,130 +327,145 @@ public int hashCode() { return hash; } - public static com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest parseDelimitedFrom( - java.io.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.certificatemanager.v1.CreateCertificateIssuanceConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest + parseDelimitedFrom( + java.io.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.certificatemanager.v1.CreateCertificateIssuanceConfigRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 `CreateCertificateIssuanceConfig` method.
    * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest) com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_CreateCertificateIssuanceConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_CreateCertificateIssuanceConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_CreateCertificateIssuanceConfigRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_CreateCertificateIssuanceConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest.class, com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest.Builder.class); + com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest.class, + com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest.Builder + .class); } - // Construct using com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -412,19 +483,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_CreateCertificateIssuanceConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_CreateCertificateIssuanceConfigRequest_descriptor; } @java.lang.Override - public com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest getDefaultInstanceForType() { - return com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest.getDefaultInstance(); + public com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest + getDefaultInstanceForType() { + return com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest build() { - com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest result = buildPartial(); + com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -432,8 +506,10 @@ public com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigReq } @java.lang.Override - public com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest buildPartial() { - com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest result = new com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest(this); + public com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest + buildPartial() { + com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest result = + new com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest(this); result.parent_ = parent_; result.certificateIssuanceConfigId_ = certificateIssuanceConfigId_; if (certificateIssuanceConfigBuilder_ == null) { @@ -449,46 +525,53 @@ public com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigReq public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest) { - return mergeFrom((com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest)other); + if (other + instanceof + com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest) { + return mergeFrom( + (com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest other) { - if (other == com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest other) { + if (other + == com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -526,29 +609,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - certificateIssuanceConfigId_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + certificateIssuanceConfigId_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - input.readMessage( - getCertificateIssuanceConfigFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage( + getCertificateIssuanceConfigFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -561,19 +647,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource of the certificate issuance config. 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; @@ -582,21 +672,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the certificate issuance config. 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 { @@ -604,57 +697,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the certificate issuance config. 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 certificate issuance config. 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 certificate issuance config. 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; @@ -662,18 +768,21 @@ public Builder setParentBytes( private java.lang.Object certificateIssuanceConfigId_ = ""; /** + * + * *
      * Required. A user-provided name of the certificate config.
      * 
* - * string certificate_issuance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * string certificate_issuance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The certificateIssuanceConfigId. */ public java.lang.String getCertificateIssuanceConfigId() { java.lang.Object ref = certificateIssuanceConfigId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); certificateIssuanceConfigId_ = s; return s; @@ -682,20 +791,22 @@ public java.lang.String getCertificateIssuanceConfigId() { } } /** + * + * *
      * Required. A user-provided name of the certificate config.
      * 
* - * string certificate_issuance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * string certificate_issuance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The bytes for certificateIssuanceConfigId. */ - public com.google.protobuf.ByteString - getCertificateIssuanceConfigIdBytes() { + public com.google.protobuf.ByteString getCertificateIssuanceConfigIdBytes() { java.lang.Object ref = certificateIssuanceConfigId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); certificateIssuanceConfigId_ = b; return b; } else { @@ -703,96 +814,128 @@ public java.lang.String getCertificateIssuanceConfigId() { } } /** + * + * *
      * Required. A user-provided name of the certificate config.
      * 
* - * string certificate_issuance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * string certificate_issuance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The certificateIssuanceConfigId to set. * @return This builder for chaining. */ - public Builder setCertificateIssuanceConfigId( - java.lang.String value) { + public Builder setCertificateIssuanceConfigId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + certificateIssuanceConfigId_ = value; onChanged(); return this; } /** + * + * *
      * Required. A user-provided name of the certificate config.
      * 
* - * string certificate_issuance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * string certificate_issuance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearCertificateIssuanceConfigId() { - + certificateIssuanceConfigId_ = getDefaultInstance().getCertificateIssuanceConfigId(); onChanged(); return this; } /** + * + * *
      * Required. A user-provided name of the certificate config.
      * 
* - * string certificate_issuance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * string certificate_issuance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The bytes for certificateIssuanceConfigId to set. * @return This builder for chaining. */ - public Builder setCertificateIssuanceConfigIdBytes( - com.google.protobuf.ByteString value) { + public Builder setCertificateIssuanceConfigIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + certificateIssuanceConfigId_ = value; onChanged(); return this; } - private com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificateIssuanceConfig_; + private com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + certificateIssuanceConfig_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig, com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Builder, com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigOrBuilder> certificateIssuanceConfigBuilder_; + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Builder, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigOrBuilder> + certificateIssuanceConfigBuilder_; /** + * + * *
      * Required. A definition of the certificate issuance config to create.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the certificateIssuanceConfig field is set. */ public boolean hasCertificateIssuanceConfig() { return certificateIssuanceConfigBuilder_ != null || certificateIssuanceConfig_ != null; } /** + * + * *
      * Required. A definition of the certificate issuance config to create.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The certificateIssuanceConfig. */ - public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig getCertificateIssuanceConfig() { + public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + getCertificateIssuanceConfig() { if (certificateIssuanceConfigBuilder_ == null) { - return certificateIssuanceConfig_ == null ? com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.getDefaultInstance() : certificateIssuanceConfig_; + return certificateIssuanceConfig_ == null + ? com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.getDefaultInstance() + : certificateIssuanceConfig_; } else { return certificateIssuanceConfigBuilder_.getMessage(); } } /** + * + * *
      * Required. A definition of the certificate issuance config to create.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCertificateIssuanceConfig(com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig value) { + public Builder setCertificateIssuanceConfig( + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig value) { if (certificateIssuanceConfigBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -806,11 +949,15 @@ public Builder setCertificateIssuanceConfig(com.google.cloud.certificatemanager. return this; } /** + * + * *
      * Required. A definition of the certificate issuance config to create.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCertificateIssuanceConfig( com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Builder builderForValue) { @@ -824,17 +971,25 @@ public Builder setCertificateIssuanceConfig( return this; } /** + * + * *
      * Required. A definition of the certificate issuance config to create.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeCertificateIssuanceConfig(com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig value) { + public Builder mergeCertificateIssuanceConfig( + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig value) { if (certificateIssuanceConfigBuilder_ == null) { if (certificateIssuanceConfig_ != null) { certificateIssuanceConfig_ = - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.newBuilder(certificateIssuanceConfig_).mergeFrom(value).buildPartial(); + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.newBuilder( + certificateIssuanceConfig_) + .mergeFrom(value) + .buildPartial(); } else { certificateIssuanceConfig_ = value; } @@ -846,11 +1001,15 @@ public Builder mergeCertificateIssuanceConfig(com.google.cloud.certificatemanage return this; } /** + * + * *
      * Required. A definition of the certificate issuance config to create.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCertificateIssuanceConfig() { if (certificateIssuanceConfigBuilder_ == null) { @@ -864,55 +1023,73 @@ public Builder clearCertificateIssuanceConfig() { return this; } /** + * + * *
      * Required. A definition of the certificate issuance config to create.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Builder getCertificateIssuanceConfigBuilder() { - + public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Builder + getCertificateIssuanceConfigBuilder() { + onChanged(); return getCertificateIssuanceConfigFieldBuilder().getBuilder(); } /** + * + * *
      * Required. A definition of the certificate issuance config to create.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigOrBuilder getCertificateIssuanceConfigOrBuilder() { + public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigOrBuilder + getCertificateIssuanceConfigOrBuilder() { if (certificateIssuanceConfigBuilder_ != null) { return certificateIssuanceConfigBuilder_.getMessageOrBuilder(); } else { - return certificateIssuanceConfig_ == null ? - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.getDefaultInstance() : certificateIssuanceConfig_; + return certificateIssuanceConfig_ == null + ? com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.getDefaultInstance() + : certificateIssuanceConfig_; } } /** + * + * *
      * Required. A definition of the certificate issuance config to create.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig, com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Builder, com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigOrBuilder> + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Builder, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigOrBuilder> getCertificateIssuanceConfigFieldBuilder() { if (certificateIssuanceConfigBuilder_ == null) { - certificateIssuanceConfigBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig, com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Builder, com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigOrBuilder>( - getCertificateIssuanceConfig(), - getParentForChildren(), - isClean()); + certificateIssuanceConfigBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Builder, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigOrBuilder>( + getCertificateIssuanceConfig(), getParentForChildren(), isClean()); certificateIssuanceConfig_ = null; } return certificateIssuanceConfigBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -922,41 +1099,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest) - private static final com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest(); } - public static com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateCertificateIssuanceConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateCertificateIssuanceConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -968,9 +1148,8 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateIssuanceConfigRequestOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateIssuanceConfigRequestOrBuilder.java similarity index 53% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateIssuanceConfigRequestOrBuilder.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateIssuanceConfigRequestOrBuilder.java index 75449733e45c..f27d7a6dfd88 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateIssuanceConfigRequestOrBuilder.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateIssuanceConfigRequestOrBuilder.java @@ -1,78 +1,125 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_issuance_config.proto package com.google.cloud.certificatemanager.v1; -public interface CreateCertificateIssuanceConfigRequestOrBuilder extends +public interface CreateCertificateIssuanceConfigRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource of the certificate issuance config. 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 certificate issuance config. 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. A user-provided name of the certificate config.
    * 
* - * string certificate_issuance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * string certificate_issuance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The certificateIssuanceConfigId. */ java.lang.String getCertificateIssuanceConfigId(); /** + * + * *
    * Required. A user-provided name of the certificate config.
    * 
* - * string certificate_issuance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * string certificate_issuance_config_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The bytes for certificateIssuanceConfigId. */ - com.google.protobuf.ByteString - getCertificateIssuanceConfigIdBytes(); + com.google.protobuf.ByteString getCertificateIssuanceConfigIdBytes(); /** + * + * *
    * Required. A definition of the certificate issuance config to create.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the certificateIssuanceConfig field is set. */ boolean hasCertificateIssuanceConfig(); /** + * + * *
    * Required. A definition of the certificate issuance config to create.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The certificateIssuanceConfig. */ com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig getCertificateIssuanceConfig(); /** + * + * *
    * Required. A definition of the certificate issuance config to create.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_config = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigOrBuilder getCertificateIssuanceConfigOrBuilder(); + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigOrBuilder + getCertificateIssuanceConfigOrBuilder(); } diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequest.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequest.java similarity index 61% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequest.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequest.java index 27ce20c5464a..92cc812dc505 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequest.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequest.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/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; /** + * + * *
  * Request for the `CreateCertificateMapEntry` method.
  * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest} */ -public final class CreateCertificateMapEntryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateCertificateMapEntryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest) CreateCertificateMapEntryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateCertificateMapEntryRequest.newBuilder() to construct. - private CreateCertificateMapEntryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private CreateCertificateMapEntryRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateCertificateMapEntryRequest() { parent_ = ""; certificateMapEntryId_ = ""; @@ -26,38 +45,44 @@ private CreateCertificateMapEntryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateCertificateMapEntryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapEntryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapEntryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapEntryRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapEntryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest.class, com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest.Builder.class); + com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest.class, + com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent resource of the certificate map entry. Must be in the
    * format `projects/*/locations/*/certificateMaps/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -66,30 +91,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource of the certificate map entry. Must be in the
    * format `projects/*/locations/*/certificateMaps/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -100,11 +127,14 @@ public java.lang.String getParent() { public static final int CERTIFICATE_MAP_ENTRY_ID_FIELD_NUMBER = 2; private volatile java.lang.Object certificateMapEntryId_; /** + * + * *
    * Required. A user-provided name of the certificate map entry.
    * 
* * string certificate_map_entry_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The certificateMapEntryId. */ @java.lang.Override @@ -113,29 +143,29 @@ public java.lang.String getCertificateMapEntryId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); certificateMapEntryId_ = s; return s; } } /** + * + * *
    * Required. A user-provided name of the certificate map entry.
    * 
* * string certificate_map_entry_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for certificateMapEntryId. */ @java.lang.Override - public com.google.protobuf.ByteString - getCertificateMapEntryIdBytes() { + public com.google.protobuf.ByteString getCertificateMapEntryIdBytes() { java.lang.Object ref = certificateMapEntryId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); certificateMapEntryId_ = b; return b; } else { @@ -146,11 +176,16 @@ public java.lang.String getCertificateMapEntryId() { public static final int CERTIFICATE_MAP_ENTRY_FIELD_NUMBER = 3; private com.google.cloud.certificatemanager.v1.CertificateMapEntry certificateMapEntry_; /** + * + * *
    * Required. A definition of the certificate map entry to create.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the certificateMapEntry field is set. */ @java.lang.Override @@ -158,30 +193,43 @@ public boolean hasCertificateMapEntry() { return certificateMapEntry_ != null; } /** + * + * *
    * Required. A definition of the certificate map entry to create.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The certificateMapEntry. */ @java.lang.Override public com.google.cloud.certificatemanager.v1.CertificateMapEntry getCertificateMapEntry() { - return certificateMapEntry_ == null ? com.google.cloud.certificatemanager.v1.CertificateMapEntry.getDefaultInstance() : certificateMapEntry_; + return certificateMapEntry_ == null + ? com.google.cloud.certificatemanager.v1.CertificateMapEntry.getDefaultInstance() + : certificateMapEntry_; } /** + * + * *
    * Required. A definition of the certificate map entry to create.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder getCertificateMapEntryOrBuilder() { + public com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder + getCertificateMapEntryOrBuilder() { return getCertificateMapEntry(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -193,8 +241,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -220,8 +267,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, certificateMapEntryId_); } if (certificateMapEntry_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCertificateMapEntry()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCertificateMapEntry()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -231,21 +277,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.certificatemanager.v1.CreateCertificateMapEntryRequest)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest other = (com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest) obj; + com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest other = + (com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getCertificateMapEntryId() - .equals(other.getCertificateMapEntryId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getCertificateMapEntryId().equals(other.getCertificateMapEntryId())) return false; if (hasCertificateMapEntry() != other.hasCertificateMapEntry()) return false; if (hasCertificateMapEntry()) { - if (!getCertificateMapEntry() - .equals(other.getCertificateMapEntry())) return false; + if (!getCertificateMapEntry().equals(other.getCertificateMapEntry())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -272,129 +316,139 @@ public int hashCode() { } public static com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest parseDelimitedFrom( - java.io.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.certificatemanager.v1.CreateCertificateMapEntryRequest + parseDelimitedFrom( + java.io.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.certificatemanager.v1.CreateCertificateMapEntryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 `CreateCertificateMapEntry` method.
    * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest) com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapEntryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapEntryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapEntryRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapEntryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest.class, com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest.Builder.class); + com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest.class, + com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest.Builder + .class); } - // Construct using com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -412,19 +466,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapEntryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapEntryRequest_descriptor; } @java.lang.Override - public com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest getDefaultInstanceForType() { - return com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest.getDefaultInstance(); + public com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest + getDefaultInstanceForType() { + return com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest build() { - com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest result = buildPartial(); + com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -433,7 +490,8 @@ public com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest b @java.lang.Override public com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest buildPartial() { - com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest result = new com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest(this); + com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest result = + new com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest(this); result.parent_ = parent_; result.certificateMapEntryId_ = certificateMapEntryId_; if (certificateMapEntryBuilder_ == null) { @@ -449,46 +507,52 @@ public com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest) { - return mergeFrom((com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest)other); + if (other + instanceof com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest) { + return mergeFrom( + (com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest other) { - if (other == com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest other) { + if (other + == com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -526,29 +590,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - certificateMapEntryId_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + certificateMapEntryId_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - input.readMessage( - getCertificateMapEntryFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage( + getCertificateMapEntryFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -561,19 +628,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource of the certificate map entry. Must be in the
      * format `projects/*/locations/*/certificateMaps/*`.
      * 
* - * string parent = 1 [(.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; @@ -582,21 +653,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the certificate map entry. Must be in the
      * format `projects/*/locations/*/certificateMaps/*`.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -604,57 +678,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the certificate map entry. Must be in the
      * format `projects/*/locations/*/certificateMaps/*`.
      * 
* - * string parent = 1 [(.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 certificate map entry. Must be in the
      * format `projects/*/locations/*/certificateMaps/*`.
      * 
* - * string 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 certificate map entry. Must be in the
      * format `projects/*/locations/*/certificateMaps/*`.
      * 
* - * string parent = 1 [(.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; @@ -662,18 +749,20 @@ public Builder setParentBytes( private java.lang.Object certificateMapEntryId_ = ""; /** + * + * *
      * Required. A user-provided name of the certificate map entry.
      * 
* * string certificate_map_entry_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The certificateMapEntryId. */ public java.lang.String getCertificateMapEntryId() { java.lang.Object ref = certificateMapEntryId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); certificateMapEntryId_ = s; return s; @@ -682,20 +771,21 @@ public java.lang.String getCertificateMapEntryId() { } } /** + * + * *
      * Required. A user-provided name of the certificate map entry.
      * 
* * string certificate_map_entry_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for certificateMapEntryId. */ - public com.google.protobuf.ByteString - getCertificateMapEntryIdBytes() { + public com.google.protobuf.ByteString getCertificateMapEntryIdBytes() { java.lang.Object ref = certificateMapEntryId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); certificateMapEntryId_ = b; return b; } else { @@ -703,54 +793,61 @@ public java.lang.String getCertificateMapEntryId() { } } /** + * + * *
      * Required. A user-provided name of the certificate map entry.
      * 
* * string certificate_map_entry_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The certificateMapEntryId to set. * @return This builder for chaining. */ - public Builder setCertificateMapEntryId( - java.lang.String value) { + public Builder setCertificateMapEntryId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + certificateMapEntryId_ = value; onChanged(); return this; } /** + * + * *
      * Required. A user-provided name of the certificate map entry.
      * 
* * string certificate_map_entry_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearCertificateMapEntryId() { - + certificateMapEntryId_ = getDefaultInstance().getCertificateMapEntryId(); onChanged(); return this; } /** + * + * *
      * Required. A user-provided name of the certificate map entry.
      * 
* * string certificate_map_entry_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for certificateMapEntryId to set. * @return This builder for chaining. */ - public Builder setCertificateMapEntryIdBytes( - com.google.protobuf.ByteString value) { + public Builder setCertificateMapEntryIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + certificateMapEntryId_ = value; onChanged(); return this; @@ -758,41 +855,61 @@ public Builder setCertificateMapEntryIdBytes( private com.google.cloud.certificatemanager.v1.CertificateMapEntry certificateMapEntry_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.CertificateMapEntry, com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder, com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder> certificateMapEntryBuilder_; + com.google.cloud.certificatemanager.v1.CertificateMapEntry, + com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder, + com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder> + certificateMapEntryBuilder_; /** + * + * *
      * Required. A definition of the certificate map entry to create.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the certificateMapEntry field is set. */ public boolean hasCertificateMapEntry() { return certificateMapEntryBuilder_ != null || certificateMapEntry_ != null; } /** + * + * *
      * Required. A definition of the certificate map entry to create.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The certificateMapEntry. */ public com.google.cloud.certificatemanager.v1.CertificateMapEntry getCertificateMapEntry() { if (certificateMapEntryBuilder_ == null) { - return certificateMapEntry_ == null ? com.google.cloud.certificatemanager.v1.CertificateMapEntry.getDefaultInstance() : certificateMapEntry_; + return certificateMapEntry_ == null + ? com.google.cloud.certificatemanager.v1.CertificateMapEntry.getDefaultInstance() + : certificateMapEntry_; } else { return certificateMapEntryBuilder_.getMessage(); } } /** + * + * *
      * Required. A definition of the certificate map entry to create.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCertificateMapEntry(com.google.cloud.certificatemanager.v1.CertificateMapEntry value) { + public Builder setCertificateMapEntry( + com.google.cloud.certificatemanager.v1.CertificateMapEntry value) { if (certificateMapEntryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -806,11 +923,15 @@ public Builder setCertificateMapEntry(com.google.cloud.certificatemanager.v1.Cer return this; } /** + * + * *
      * Required. A definition of the certificate map entry to create.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCertificateMapEntry( com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder builderForValue) { @@ -824,17 +945,25 @@ public Builder setCertificateMapEntry( return this; } /** + * + * *
      * Required. A definition of the certificate map entry to create.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeCertificateMapEntry(com.google.cloud.certificatemanager.v1.CertificateMapEntry value) { + public Builder mergeCertificateMapEntry( + com.google.cloud.certificatemanager.v1.CertificateMapEntry value) { if (certificateMapEntryBuilder_ == null) { if (certificateMapEntry_ != null) { certificateMapEntry_ = - com.google.cloud.certificatemanager.v1.CertificateMapEntry.newBuilder(certificateMapEntry_).mergeFrom(value).buildPartial(); + com.google.cloud.certificatemanager.v1.CertificateMapEntry.newBuilder( + certificateMapEntry_) + .mergeFrom(value) + .buildPartial(); } else { certificateMapEntry_ = value; } @@ -846,11 +975,15 @@ public Builder mergeCertificateMapEntry(com.google.cloud.certificatemanager.v1.C return this; } /** + * + * *
      * Required. A definition of the certificate map entry to create.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCertificateMapEntry() { if (certificateMapEntryBuilder_ == null) { @@ -864,55 +997,73 @@ public Builder clearCertificateMapEntry() { return this; } /** + * + * *
      * Required. A definition of the certificate map entry to create.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder getCertificateMapEntryBuilder() { - + public com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder + getCertificateMapEntryBuilder() { + onChanged(); return getCertificateMapEntryFieldBuilder().getBuilder(); } /** + * + * *
      * Required. A definition of the certificate map entry to create.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder getCertificateMapEntryOrBuilder() { + public com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder + getCertificateMapEntryOrBuilder() { if (certificateMapEntryBuilder_ != null) { return certificateMapEntryBuilder_.getMessageOrBuilder(); } else { - return certificateMapEntry_ == null ? - com.google.cloud.certificatemanager.v1.CertificateMapEntry.getDefaultInstance() : certificateMapEntry_; + return certificateMapEntry_ == null + ? com.google.cloud.certificatemanager.v1.CertificateMapEntry.getDefaultInstance() + : certificateMapEntry_; } } /** + * + * *
      * Required. A definition of the certificate map entry to create.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.CertificateMapEntry, com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder, com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder> + com.google.cloud.certificatemanager.v1.CertificateMapEntry, + com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder, + com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder> getCertificateMapEntryFieldBuilder() { if (certificateMapEntryBuilder_ == null) { - certificateMapEntryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.CertificateMapEntry, com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder, com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder>( - getCertificateMapEntry(), - getParentForChildren(), - isClean()); + certificateMapEntryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.certificatemanager.v1.CertificateMapEntry, + com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder, + com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder>( + getCertificateMapEntry(), getParentForChildren(), isClean()); certificateMapEntry_ = null; } return certificateMapEntryBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -922,41 +1073,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest) - private static final com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest(); } - public static com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateCertificateMapEntryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateCertificateMapEntryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -968,9 +1122,8 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequestOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequestOrBuilder.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequestOrBuilder.java index bebd865e8848..4c7de283fe65 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequestOrBuilder.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequestOrBuilder.java @@ -1,78 +1,123 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; -public interface CreateCertificateMapEntryRequestOrBuilder extends +public interface CreateCertificateMapEntryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource of the certificate map entry. Must be in the
    * format `projects/*/locations/*/certificateMaps/*`.
    * 
* - * string parent = 1 [(.google.api.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 certificate map entry. Must be in the
    * format `projects/*/locations/*/certificateMaps/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Required. A user-provided name of the certificate map entry.
    * 
* * string certificate_map_entry_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The certificateMapEntryId. */ java.lang.String getCertificateMapEntryId(); /** + * + * *
    * Required. A user-provided name of the certificate map entry.
    * 
* * string certificate_map_entry_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for certificateMapEntryId. */ - com.google.protobuf.ByteString - getCertificateMapEntryIdBytes(); + com.google.protobuf.ByteString getCertificateMapEntryIdBytes(); /** + * + * *
    * Required. A definition of the certificate map entry to create.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the certificateMapEntry field is set. */ boolean hasCertificateMapEntry(); /** + * + * *
    * Required. A definition of the certificate map entry to create.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The certificateMapEntry. */ com.google.cloud.certificatemanager.v1.CertificateMapEntry getCertificateMapEntry(); /** + * + * *
    * Required. A definition of the certificate map entry to create.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder getCertificateMapEntryOrBuilder(); + com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder + getCertificateMapEntryOrBuilder(); } diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequest.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequest.java similarity index 62% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequest.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequest.java index a52b32fc752f..7c5df27eee58 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequest.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequest.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/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; /** + * + * *
  * Request for the `CreateCertificateMap` method.
  * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.CreateCertificateMapRequest} */ -public final class CreateCertificateMapRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateCertificateMapRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.CreateCertificateMapRequest) CreateCertificateMapRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateCertificateMapRequest.newBuilder() to construct. private CreateCertificateMapRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateCertificateMapRequest() { parent_ = ""; certificateMapId_ = ""; @@ -26,38 +44,44 @@ private CreateCertificateMapRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateCertificateMapRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest.class, com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest.Builder.class); + com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest.class, + com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent resource of the certificate map. 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 @@ -66,30 +90,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource of the certificate map. 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 { @@ -100,11 +126,14 @@ public java.lang.String getParent() { public static final int CERTIFICATE_MAP_ID_FIELD_NUMBER = 2; private volatile java.lang.Object certificateMapId_; /** + * + * *
    * Required. A user-provided name of the certificate map.
    * 
* * string certificate_map_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The certificateMapId. */ @java.lang.Override @@ -113,29 +142,29 @@ public java.lang.String getCertificateMapId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); certificateMapId_ = s; return s; } } /** + * + * *
    * Required. A user-provided name of the certificate map.
    * 
* * string certificate_map_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for certificateMapId. */ @java.lang.Override - public com.google.protobuf.ByteString - getCertificateMapIdBytes() { + public com.google.protobuf.ByteString getCertificateMapIdBytes() { java.lang.Object ref = certificateMapId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); certificateMapId_ = b; return b; } else { @@ -146,11 +175,16 @@ public java.lang.String getCertificateMapId() { public static final int CERTIFICATE_MAP_FIELD_NUMBER = 3; private com.google.cloud.certificatemanager.v1.CertificateMap certificateMap_; /** + * + * *
    * Required. A definition of the certificate map to create.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the certificateMap field is set. */ @java.lang.Override @@ -158,30 +192,43 @@ public boolean hasCertificateMap() { return certificateMap_ != null; } /** + * + * *
    * Required. A definition of the certificate map to create.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The certificateMap. */ @java.lang.Override public com.google.cloud.certificatemanager.v1.CertificateMap getCertificateMap() { - return certificateMap_ == null ? com.google.cloud.certificatemanager.v1.CertificateMap.getDefaultInstance() : certificateMap_; + return certificateMap_ == null + ? com.google.cloud.certificatemanager.v1.CertificateMap.getDefaultInstance() + : certificateMap_; } /** + * + * *
    * Required. A definition of the certificate map to create.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder getCertificateMapOrBuilder() { + public com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder + getCertificateMapOrBuilder() { return getCertificateMap(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -193,8 +240,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -220,8 +266,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, certificateMapId_); } if (certificateMap_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCertificateMap()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCertificateMap()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -231,21 +276,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.certificatemanager.v1.CreateCertificateMapRequest)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest other = (com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest) obj; + com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest other = + (com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getCertificateMapId() - .equals(other.getCertificateMapId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getCertificateMapId().equals(other.getCertificateMapId())) return false; if (hasCertificateMap() != other.hasCertificateMap()) return false; if (hasCertificateMap()) { - if (!getCertificateMap() - .equals(other.getCertificateMap())) return false; + if (!getCertificateMap().equals(other.getCertificateMap())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -272,129 +315,138 @@ public int hashCode() { } public static com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest parseDelimitedFrom( - java.io.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.certificatemanager.v1.CreateCertificateMapRequest + parseDelimitedFrom( + java.io.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.certificatemanager.v1.CreateCertificateMapRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 `CreateCertificateMap` method.
    * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.CreateCertificateMapRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.CreateCertificateMapRequest) com.google.cloud.certificatemanager.v1.CreateCertificateMapRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest.class, com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest.Builder.class); + com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest.class, + com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest.Builder.class); } - // Construct using com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -412,14 +464,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapRequest_descriptor; } @java.lang.Override - public com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest getDefaultInstanceForType() { - return com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest.getDefaultInstance(); + public com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest + getDefaultInstanceForType() { + return com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest + .getDefaultInstance(); } @java.lang.Override @@ -433,7 +487,8 @@ public com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest build( @java.lang.Override public com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest buildPartial() { - com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest result = new com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest(this); + com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest result = + new com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest(this); result.parent_ = parent_; result.certificateMapId_ = certificateMapId_; if (certificateMapBuilder_ == null) { @@ -449,46 +504,51 @@ public com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest 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.certificatemanager.v1.CreateCertificateMapRequest) { - return mergeFrom((com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest)other); + return mergeFrom( + (com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest other) { - if (other == com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest other) { + if (other + == com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -526,29 +586,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - certificateMapId_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + certificateMapId_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - input.readMessage( - getCertificateMapFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage(getCertificateMapFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -561,19 +623,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource of the certificate map. 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; @@ -582,21 +648,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the certificate map. 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 { @@ -604,57 +673,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the certificate map. 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 certificate map. 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 certificate map. 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; @@ -662,18 +744,20 @@ public Builder setParentBytes( private java.lang.Object certificateMapId_ = ""; /** + * + * *
      * Required. A user-provided name of the certificate map.
      * 
* * string certificate_map_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The certificateMapId. */ public java.lang.String getCertificateMapId() { java.lang.Object ref = certificateMapId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); certificateMapId_ = s; return s; @@ -682,20 +766,21 @@ public java.lang.String getCertificateMapId() { } } /** + * + * *
      * Required. A user-provided name of the certificate map.
      * 
* * string certificate_map_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for certificateMapId. */ - public com.google.protobuf.ByteString - getCertificateMapIdBytes() { + public com.google.protobuf.ByteString getCertificateMapIdBytes() { java.lang.Object ref = certificateMapId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); certificateMapId_ = b; return b; } else { @@ -703,54 +788,61 @@ public java.lang.String getCertificateMapId() { } } /** + * + * *
      * Required. A user-provided name of the certificate map.
      * 
* * string certificate_map_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The certificateMapId to set. * @return This builder for chaining. */ - public Builder setCertificateMapId( - java.lang.String value) { + public Builder setCertificateMapId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + certificateMapId_ = value; onChanged(); return this; } /** + * + * *
      * Required. A user-provided name of the certificate map.
      * 
* * string certificate_map_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearCertificateMapId() { - + certificateMapId_ = getDefaultInstance().getCertificateMapId(); onChanged(); return this; } /** + * + * *
      * Required. A user-provided name of the certificate map.
      * 
* * string certificate_map_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for certificateMapId to set. * @return This builder for chaining. */ - public Builder setCertificateMapIdBytes( - com.google.protobuf.ByteString value) { + public Builder setCertificateMapIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + certificateMapId_ = value; onChanged(); return this; @@ -758,39 +850,58 @@ public Builder setCertificateMapIdBytes( private com.google.cloud.certificatemanager.v1.CertificateMap certificateMap_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.CertificateMap, com.google.cloud.certificatemanager.v1.CertificateMap.Builder, com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder> certificateMapBuilder_; + com.google.cloud.certificatemanager.v1.CertificateMap, + com.google.cloud.certificatemanager.v1.CertificateMap.Builder, + com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder> + certificateMapBuilder_; /** + * + * *
      * Required. A definition of the certificate map to create.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the certificateMap field is set. */ public boolean hasCertificateMap() { return certificateMapBuilder_ != null || certificateMap_ != null; } /** + * + * *
      * Required. A definition of the certificate map to create.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The certificateMap. */ public com.google.cloud.certificatemanager.v1.CertificateMap getCertificateMap() { if (certificateMapBuilder_ == null) { - return certificateMap_ == null ? com.google.cloud.certificatemanager.v1.CertificateMap.getDefaultInstance() : certificateMap_; + return certificateMap_ == null + ? com.google.cloud.certificatemanager.v1.CertificateMap.getDefaultInstance() + : certificateMap_; } else { return certificateMapBuilder_.getMessage(); } } /** + * + * *
      * Required. A definition of the certificate map to create.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCertificateMap(com.google.cloud.certificatemanager.v1.CertificateMap value) { if (certificateMapBuilder_ == null) { @@ -806,11 +917,15 @@ public Builder setCertificateMap(com.google.cloud.certificatemanager.v1.Certific return this; } /** + * + * *
      * Required. A definition of the certificate map to create.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCertificateMap( com.google.cloud.certificatemanager.v1.CertificateMap.Builder builderForValue) { @@ -824,17 +939,24 @@ public Builder setCertificateMap( return this; } /** + * + * *
      * Required. A definition of the certificate map to create.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeCertificateMap(com.google.cloud.certificatemanager.v1.CertificateMap value) { + public Builder mergeCertificateMap( + com.google.cloud.certificatemanager.v1.CertificateMap value) { if (certificateMapBuilder_ == null) { if (certificateMap_ != null) { certificateMap_ = - com.google.cloud.certificatemanager.v1.CertificateMap.newBuilder(certificateMap_).mergeFrom(value).buildPartial(); + com.google.cloud.certificatemanager.v1.CertificateMap.newBuilder(certificateMap_) + .mergeFrom(value) + .buildPartial(); } else { certificateMap_ = value; } @@ -846,11 +968,15 @@ public Builder mergeCertificateMap(com.google.cloud.certificatemanager.v1.Certif return this; } /** + * + * *
      * Required. A definition of the certificate map to create.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCertificateMap() { if (certificateMapBuilder_ == null) { @@ -864,55 +990,73 @@ public Builder clearCertificateMap() { return this; } /** + * + * *
      * Required. A definition of the certificate map to create.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.certificatemanager.v1.CertificateMap.Builder getCertificateMapBuilder() { - + public com.google.cloud.certificatemanager.v1.CertificateMap.Builder + getCertificateMapBuilder() { + onChanged(); return getCertificateMapFieldBuilder().getBuilder(); } /** + * + * *
      * Required. A definition of the certificate map to create.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder getCertificateMapOrBuilder() { + public com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder + getCertificateMapOrBuilder() { if (certificateMapBuilder_ != null) { return certificateMapBuilder_.getMessageOrBuilder(); } else { - return certificateMap_ == null ? - com.google.cloud.certificatemanager.v1.CertificateMap.getDefaultInstance() : certificateMap_; + return certificateMap_ == null + ? com.google.cloud.certificatemanager.v1.CertificateMap.getDefaultInstance() + : certificateMap_; } } /** + * + * *
      * Required. A definition of the certificate map to create.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.CertificateMap, com.google.cloud.certificatemanager.v1.CertificateMap.Builder, com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder> + com.google.cloud.certificatemanager.v1.CertificateMap, + com.google.cloud.certificatemanager.v1.CertificateMap.Builder, + com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder> getCertificateMapFieldBuilder() { if (certificateMapBuilder_ == null) { - certificateMapBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.CertificateMap, com.google.cloud.certificatemanager.v1.CertificateMap.Builder, com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder>( - getCertificateMap(), - getParentForChildren(), - isClean()); + certificateMapBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.certificatemanager.v1.CertificateMap, + com.google.cloud.certificatemanager.v1.CertificateMap.Builder, + com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder>( + getCertificateMap(), getParentForChildren(), isClean()); certificateMap_ = null; } return certificateMapBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -922,41 +1066,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.CreateCertificateMapRequest) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.CreateCertificateMapRequest) - private static final com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest(); } - public static com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateCertificateMapRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateCertificateMapRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -968,9 +1114,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequestOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequestOrBuilder.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequestOrBuilder.java index 76308ca8fdff..b0aebeaa9e60 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequestOrBuilder.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequestOrBuilder.java @@ -1,78 +1,122 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; -public interface CreateCertificateMapRequestOrBuilder extends +public interface CreateCertificateMapRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.CreateCertificateMapRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource of the certificate map. 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 certificate map. 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. A user-provided name of the certificate map.
    * 
* * string certificate_map_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The certificateMapId. */ java.lang.String getCertificateMapId(); /** + * + * *
    * Required. A user-provided name of the certificate map.
    * 
* * string certificate_map_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for certificateMapId. */ - com.google.protobuf.ByteString - getCertificateMapIdBytes(); + com.google.protobuf.ByteString getCertificateMapIdBytes(); /** + * + * *
    * Required. A definition of the certificate map to create.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the certificateMap field is set. */ boolean hasCertificateMap(); /** + * + * *
    * Required. A definition of the certificate map to create.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The certificateMap. */ com.google.cloud.certificatemanager.v1.CertificateMap getCertificateMap(); /** + * + * *
    * Required. A definition of the certificate map to create.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder getCertificateMapOrBuilder(); } diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequest.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequest.java similarity index 62% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequest.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequest.java index 60ad34c49b4b..a43b086aae81 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequest.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequest.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/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; /** + * + * *
  * Request for the `CreateCertificate` method.
  * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.CreateCertificateRequest} */ -public final class CreateCertificateRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateCertificateRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.CreateCertificateRequest) CreateCertificateRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateCertificateRequest.newBuilder() to construct. private CreateCertificateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateCertificateRequest() { parent_ = ""; certificateId_ = ""; @@ -26,38 +44,44 @@ private CreateCertificateRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateCertificateRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CreateCertificateRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CreateCertificateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CreateCertificateRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CreateCertificateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.CreateCertificateRequest.class, com.google.cloud.certificatemanager.v1.CreateCertificateRequest.Builder.class); + com.google.cloud.certificatemanager.v1.CreateCertificateRequest.class, + com.google.cloud.certificatemanager.v1.CreateCertificateRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent resource of the certificate. 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 @@ -66,30 +90,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource of the certificate. 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 { @@ -100,11 +126,14 @@ public java.lang.String getParent() { public static final int CERTIFICATE_ID_FIELD_NUMBER = 2; private volatile java.lang.Object certificateId_; /** + * + * *
    * Required. A user-provided name of the certificate.
    * 
* * string certificate_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The certificateId. */ @java.lang.Override @@ -113,29 +142,29 @@ public java.lang.String getCertificateId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); certificateId_ = s; return s; } } /** + * + * *
    * Required. A user-provided name of the certificate.
    * 
* * string certificate_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for certificateId. */ @java.lang.Override - public com.google.protobuf.ByteString - getCertificateIdBytes() { + public com.google.protobuf.ByteString getCertificateIdBytes() { java.lang.Object ref = certificateId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); certificateId_ = b; return b; } else { @@ -146,11 +175,16 @@ public java.lang.String getCertificateId() { public static final int CERTIFICATE_FIELD_NUMBER = 3; private com.google.cloud.certificatemanager.v1.Certificate certificate_; /** + * + * *
    * Required. A definition of the certificate to create.
    * 
* - * .google.cloud.certificatemanager.v1.Certificate certificate = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.Certificate certificate = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the certificate field is set. */ @java.lang.Override @@ -158,23 +192,34 @@ public boolean hasCertificate() { return certificate_ != null; } /** + * + * *
    * Required. A definition of the certificate to create.
    * 
* - * .google.cloud.certificatemanager.v1.Certificate certificate = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.Certificate certificate = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The certificate. */ @java.lang.Override public com.google.cloud.certificatemanager.v1.Certificate getCertificate() { - return certificate_ == null ? com.google.cloud.certificatemanager.v1.Certificate.getDefaultInstance() : certificate_; + return certificate_ == null + ? com.google.cloud.certificatemanager.v1.Certificate.getDefaultInstance() + : certificate_; } /** + * + * *
    * Required. A definition of the certificate to create.
    * 
* - * .google.cloud.certificatemanager.v1.Certificate certificate = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.Certificate certificate = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.certificatemanager.v1.CertificateOrBuilder getCertificateOrBuilder() { @@ -182,6 +227,7 @@ public com.google.cloud.certificatemanager.v1.CertificateOrBuilder getCertificat } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -193,8 +239,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -220,8 +265,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, certificateId_); } if (certificate_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getCertificate()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getCertificate()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -231,21 +275,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.certificatemanager.v1.CreateCertificateRequest)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.CreateCertificateRequest other = (com.google.cloud.certificatemanager.v1.CreateCertificateRequest) obj; + com.google.cloud.certificatemanager.v1.CreateCertificateRequest other = + (com.google.cloud.certificatemanager.v1.CreateCertificateRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getCertificateId() - .equals(other.getCertificateId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getCertificateId().equals(other.getCertificateId())) return false; if (hasCertificate() != other.hasCertificate()) return false; if (hasCertificate()) { - if (!getCertificate() - .equals(other.getCertificate())) return false; + if (!getCertificate().equals(other.getCertificate())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -272,129 +314,136 @@ public int hashCode() { } public static com.google.cloud.certificatemanager.v1.CreateCertificateRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.CreateCertificateRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.CreateCertificateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.CreateCertificateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CreateCertificateRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.CreateCertificateRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.CreateCertificateRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CreateCertificateRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.CreateCertificateRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.CreateCertificateRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CreateCertificateRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.CreateCertificateRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.CreateCertificateRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.CreateCertificateRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.CreateCertificateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.CreateCertificateRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.CreateCertificateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 `CreateCertificate` method.
    * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.CreateCertificateRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.CreateCertificateRequest) com.google.cloud.certificatemanager.v1.CreateCertificateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CreateCertificateRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CreateCertificateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CreateCertificateRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CreateCertificateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.CreateCertificateRequest.class, com.google.cloud.certificatemanager.v1.CreateCertificateRequest.Builder.class); + com.google.cloud.certificatemanager.v1.CreateCertificateRequest.class, + com.google.cloud.certificatemanager.v1.CreateCertificateRequest.Builder.class); } // Construct using com.google.cloud.certificatemanager.v1.CreateCertificateRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -412,13 +461,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CreateCertificateRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CreateCertificateRequest_descriptor; } @java.lang.Override - public com.google.cloud.certificatemanager.v1.CreateCertificateRequest getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.CreateCertificateRequest + getDefaultInstanceForType() { return com.google.cloud.certificatemanager.v1.CreateCertificateRequest.getDefaultInstance(); } @@ -433,7 +483,8 @@ public com.google.cloud.certificatemanager.v1.CreateCertificateRequest build() { @java.lang.Override public com.google.cloud.certificatemanager.v1.CreateCertificateRequest buildPartial() { - com.google.cloud.certificatemanager.v1.CreateCertificateRequest result = new com.google.cloud.certificatemanager.v1.CreateCertificateRequest(this); + com.google.cloud.certificatemanager.v1.CreateCertificateRequest result = + new com.google.cloud.certificatemanager.v1.CreateCertificateRequest(this); result.parent_ = parent_; result.certificateId_ = certificateId_; if (certificateBuilder_ == null) { @@ -449,46 +500,50 @@ public com.google.cloud.certificatemanager.v1.CreateCertificateRequest 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.certificatemanager.v1.CreateCertificateRequest) { - return mergeFrom((com.google.cloud.certificatemanager.v1.CreateCertificateRequest)other); + return mergeFrom((com.google.cloud.certificatemanager.v1.CreateCertificateRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.certificatemanager.v1.CreateCertificateRequest other) { - if (other == com.google.cloud.certificatemanager.v1.CreateCertificateRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.certificatemanager.v1.CreateCertificateRequest other) { + if (other + == com.google.cloud.certificatemanager.v1.CreateCertificateRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -526,29 +581,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - certificateId_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + certificateId_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - input.readMessage( - getCertificateFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage(getCertificateFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -561,19 +618,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource of the certificate. 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; @@ -582,21 +643,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the certificate. 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 { @@ -604,57 +668,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the certificate. 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 certificate. 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 certificate. 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; @@ -662,18 +739,20 @@ public Builder setParentBytes( private java.lang.Object certificateId_ = ""; /** + * + * *
      * Required. A user-provided name of the certificate.
      * 
* * string certificate_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The certificateId. */ public java.lang.String getCertificateId() { java.lang.Object ref = certificateId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); certificateId_ = s; return s; @@ -682,20 +761,21 @@ public java.lang.String getCertificateId() { } } /** + * + * *
      * Required. A user-provided name of the certificate.
      * 
* * string certificate_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for certificateId. */ - public com.google.protobuf.ByteString - getCertificateIdBytes() { + public com.google.protobuf.ByteString getCertificateIdBytes() { java.lang.Object ref = certificateId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); certificateId_ = b; return b; } else { @@ -703,54 +783,61 @@ public java.lang.String getCertificateId() { } } /** + * + * *
      * Required. A user-provided name of the certificate.
      * 
* * string certificate_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The certificateId to set. * @return This builder for chaining. */ - public Builder setCertificateId( - java.lang.String value) { + public Builder setCertificateId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + certificateId_ = value; onChanged(); return this; } /** + * + * *
      * Required. A user-provided name of the certificate.
      * 
* * string certificate_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearCertificateId() { - + certificateId_ = getDefaultInstance().getCertificateId(); onChanged(); return this; } /** + * + * *
      * Required. A user-provided name of the certificate.
      * 
* * string certificate_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for certificateId to set. * @return This builder for chaining. */ - public Builder setCertificateIdBytes( - com.google.protobuf.ByteString value) { + public Builder setCertificateIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + certificateId_ = value; onChanged(); return this; @@ -758,39 +845,58 @@ public Builder setCertificateIdBytes( private com.google.cloud.certificatemanager.v1.Certificate certificate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.Certificate, com.google.cloud.certificatemanager.v1.Certificate.Builder, com.google.cloud.certificatemanager.v1.CertificateOrBuilder> certificateBuilder_; + com.google.cloud.certificatemanager.v1.Certificate, + com.google.cloud.certificatemanager.v1.Certificate.Builder, + com.google.cloud.certificatemanager.v1.CertificateOrBuilder> + certificateBuilder_; /** + * + * *
      * Required. A definition of the certificate to create.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate certificate = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.Certificate certificate = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the certificate field is set. */ public boolean hasCertificate() { return certificateBuilder_ != null || certificate_ != null; } /** + * + * *
      * Required. A definition of the certificate to create.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate certificate = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.Certificate certificate = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The certificate. */ public com.google.cloud.certificatemanager.v1.Certificate getCertificate() { if (certificateBuilder_ == null) { - return certificate_ == null ? com.google.cloud.certificatemanager.v1.Certificate.getDefaultInstance() : certificate_; + return certificate_ == null + ? com.google.cloud.certificatemanager.v1.Certificate.getDefaultInstance() + : certificate_; } else { return certificateBuilder_.getMessage(); } } /** + * + * *
      * Required. A definition of the certificate to create.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate certificate = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.Certificate certificate = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCertificate(com.google.cloud.certificatemanager.v1.Certificate value) { if (certificateBuilder_ == null) { @@ -806,11 +912,15 @@ public Builder setCertificate(com.google.cloud.certificatemanager.v1.Certificate return this; } /** + * + * *
      * Required. A definition of the certificate to create.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate certificate = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.Certificate certificate = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCertificate( com.google.cloud.certificatemanager.v1.Certificate.Builder builderForValue) { @@ -824,17 +934,23 @@ public Builder setCertificate( return this; } /** + * + * *
      * Required. A definition of the certificate to create.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate certificate = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.Certificate certificate = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCertificate(com.google.cloud.certificatemanager.v1.Certificate value) { if (certificateBuilder_ == null) { if (certificate_ != null) { certificate_ = - com.google.cloud.certificatemanager.v1.Certificate.newBuilder(certificate_).mergeFrom(value).buildPartial(); + com.google.cloud.certificatemanager.v1.Certificate.newBuilder(certificate_) + .mergeFrom(value) + .buildPartial(); } else { certificate_ = value; } @@ -846,11 +962,15 @@ public Builder mergeCertificate(com.google.cloud.certificatemanager.v1.Certifica return this; } /** + * + * *
      * Required. A definition of the certificate to create.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate certificate = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.Certificate certificate = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCertificate() { if (certificateBuilder_ == null) { @@ -864,55 +984,71 @@ public Builder clearCertificate() { return this; } /** + * + * *
      * Required. A definition of the certificate to create.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate certificate = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.Certificate certificate = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.certificatemanager.v1.Certificate.Builder getCertificateBuilder() { - + onChanged(); return getCertificateFieldBuilder().getBuilder(); } /** + * + * *
      * Required. A definition of the certificate to create.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate certificate = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.Certificate certificate = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.certificatemanager.v1.CertificateOrBuilder getCertificateOrBuilder() { if (certificateBuilder_ != null) { return certificateBuilder_.getMessageOrBuilder(); } else { - return certificate_ == null ? - com.google.cloud.certificatemanager.v1.Certificate.getDefaultInstance() : certificate_; + return certificate_ == null + ? com.google.cloud.certificatemanager.v1.Certificate.getDefaultInstance() + : certificate_; } } /** + * + * *
      * Required. A definition of the certificate to create.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate certificate = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.Certificate certificate = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.Certificate, com.google.cloud.certificatemanager.v1.Certificate.Builder, com.google.cloud.certificatemanager.v1.CertificateOrBuilder> + com.google.cloud.certificatemanager.v1.Certificate, + com.google.cloud.certificatemanager.v1.Certificate.Builder, + com.google.cloud.certificatemanager.v1.CertificateOrBuilder> getCertificateFieldBuilder() { if (certificateBuilder_ == null) { - certificateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.Certificate, com.google.cloud.certificatemanager.v1.Certificate.Builder, com.google.cloud.certificatemanager.v1.CertificateOrBuilder>( - getCertificate(), - getParentForChildren(), - isClean()); + certificateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.certificatemanager.v1.Certificate, + com.google.cloud.certificatemanager.v1.Certificate.Builder, + com.google.cloud.certificatemanager.v1.CertificateOrBuilder>( + getCertificate(), getParentForChildren(), isClean()); certificate_ = null; } return certificateBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -922,41 +1058,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.CreateCertificateRequest) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.CreateCertificateRequest) - private static final com.google.cloud.certificatemanager.v1.CreateCertificateRequest DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.CreateCertificateRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.CreateCertificateRequest(); } - public static com.google.cloud.certificatemanager.v1.CreateCertificateRequest getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.CreateCertificateRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateCertificateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateCertificateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -968,9 +1106,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.certificatemanager.v1.CreateCertificateRequest getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.CreateCertificateRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequestOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequestOrBuilder.java similarity index 53% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequestOrBuilder.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequestOrBuilder.java index bc0a7a781c73..9d1c9d3ecafa 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequestOrBuilder.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequestOrBuilder.java @@ -1,78 +1,122 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; -public interface CreateCertificateRequestOrBuilder extends +public interface CreateCertificateRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.CreateCertificateRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource of the certificate. 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 certificate. 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. A user-provided name of the certificate.
    * 
* * string certificate_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The certificateId. */ java.lang.String getCertificateId(); /** + * + * *
    * Required. A user-provided name of the certificate.
    * 
* * string certificate_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for certificateId. */ - com.google.protobuf.ByteString - getCertificateIdBytes(); + com.google.protobuf.ByteString getCertificateIdBytes(); /** + * + * *
    * Required. A definition of the certificate to create.
    * 
* - * .google.cloud.certificatemanager.v1.Certificate certificate = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.Certificate certificate = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the certificate field is set. */ boolean hasCertificate(); /** + * + * *
    * Required. A definition of the certificate to create.
    * 
* - * .google.cloud.certificatemanager.v1.Certificate certificate = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.Certificate certificate = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The certificate. */ com.google.cloud.certificatemanager.v1.Certificate getCertificate(); /** + * + * *
    * Required. A definition of the certificate to create.
    * 
* - * .google.cloud.certificatemanager.v1.Certificate certificate = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.Certificate certificate = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.certificatemanager.v1.CertificateOrBuilder getCertificateOrBuilder(); } diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequest.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequest.java similarity index 61% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequest.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequest.java index ba323df8c435..0392f1ee3036 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequest.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequest.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/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; /** + * + * *
  * Request for the `CreateDnsAuthorization` method.
  * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest} */ -public final class CreateDnsAuthorizationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CreateDnsAuthorizationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest) CreateDnsAuthorizationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CreateDnsAuthorizationRequest.newBuilder() to construct. private CreateDnsAuthorizationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CreateDnsAuthorizationRequest() { parent_ = ""; dnsAuthorizationId_ = ""; @@ -26,38 +44,44 @@ private CreateDnsAuthorizationRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CreateDnsAuthorizationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CreateDnsAuthorizationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CreateDnsAuthorizationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CreateDnsAuthorizationRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CreateDnsAuthorizationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest.class, com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest.Builder.class); + com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest.class, + com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The parent resource of the dns authorization. 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 @@ -66,30 +90,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The parent resource of the dns authorization. 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 { @@ -100,11 +126,14 @@ public java.lang.String getParent() { public static final int DNS_AUTHORIZATION_ID_FIELD_NUMBER = 2; private volatile java.lang.Object dnsAuthorizationId_; /** + * + * *
    * Required. A user-provided name of the dns authorization.
    * 
* * string dns_authorization_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dnsAuthorizationId. */ @java.lang.Override @@ -113,29 +142,29 @@ public java.lang.String getDnsAuthorizationId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dnsAuthorizationId_ = s; return s; } } /** + * + * *
    * Required. A user-provided name of the dns authorization.
    * 
* * string dns_authorization_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for dnsAuthorizationId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDnsAuthorizationIdBytes() { + public com.google.protobuf.ByteString getDnsAuthorizationIdBytes() { java.lang.Object ref = dnsAuthorizationId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dnsAuthorizationId_ = b; return b; } else { @@ -146,11 +175,16 @@ public java.lang.String getDnsAuthorizationId() { public static final int DNS_AUTHORIZATION_FIELD_NUMBER = 3; private com.google.cloud.certificatemanager.v1.DnsAuthorization dnsAuthorization_; /** + * + * *
    * Required. A definition of the dns authorization to create.
    * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dnsAuthorization field is set. */ @java.lang.Override @@ -158,30 +192,43 @@ public boolean hasDnsAuthorization() { return dnsAuthorization_ != null; } /** + * + * *
    * Required. A definition of the dns authorization to create.
    * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dnsAuthorization. */ @java.lang.Override public com.google.cloud.certificatemanager.v1.DnsAuthorization getDnsAuthorization() { - return dnsAuthorization_ == null ? com.google.cloud.certificatemanager.v1.DnsAuthorization.getDefaultInstance() : dnsAuthorization_; + return dnsAuthorization_ == null + ? com.google.cloud.certificatemanager.v1.DnsAuthorization.getDefaultInstance() + : dnsAuthorization_; } /** + * + * *
    * Required. A definition of the dns authorization to create.
    * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder getDnsAuthorizationOrBuilder() { + public com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder + getDnsAuthorizationOrBuilder() { return getDnsAuthorization(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -193,8 +240,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -220,8 +266,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, dnsAuthorizationId_); } if (dnsAuthorization_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getDnsAuthorization()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getDnsAuthorization()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -231,21 +276,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.certificatemanager.v1.CreateDnsAuthorizationRequest)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest other = (com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest) obj; + com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest other = + (com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (!getDnsAuthorizationId() - .equals(other.getDnsAuthorizationId())) return false; + if (!getParent().equals(other.getParent())) return false; + if (!getDnsAuthorizationId().equals(other.getDnsAuthorizationId())) return false; if (hasDnsAuthorization() != other.hasDnsAuthorization()) return false; if (hasDnsAuthorization()) { - if (!getDnsAuthorization() - .equals(other.getDnsAuthorization())) return false; + if (!getDnsAuthorization().equals(other.getDnsAuthorization())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -272,129 +315,138 @@ public int hashCode() { } public static com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest parseDelimitedFrom( - java.io.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.certificatemanager.v1.CreateDnsAuthorizationRequest + parseDelimitedFrom( + java.io.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.certificatemanager.v1.CreateDnsAuthorizationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 `CreateDnsAuthorization` method.
    * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest) com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CreateDnsAuthorizationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CreateDnsAuthorizationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CreateDnsAuthorizationRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CreateDnsAuthorizationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest.class, com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest.Builder.class); + com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest.class, + com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest.Builder.class); } - // Construct using com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -412,14 +464,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_CreateDnsAuthorizationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_CreateDnsAuthorizationRequest_descriptor; } @java.lang.Override - public com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest getDefaultInstanceForType() { - return com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest.getDefaultInstance(); + public com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest + getDefaultInstanceForType() { + return com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest + .getDefaultInstance(); } @java.lang.Override @@ -433,7 +487,8 @@ public com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest buil @java.lang.Override public com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest buildPartial() { - com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest result = new com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest(this); + com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest result = + new com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest(this); result.parent_ = parent_; result.dnsAuthorizationId_ = dnsAuthorizationId_; if (dnsAuthorizationBuilder_ == null) { @@ -449,46 +504,51 @@ public com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest 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.certificatemanager.v1.CreateDnsAuthorizationRequest) { - return mergeFrom((com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest)other); + return mergeFrom( + (com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest other) { - if (other == com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest other) { + if (other + == com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -526,29 +586,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 18: { - dnsAuthorizationId_ = input.readStringRequireUtf8(); + break; + } // case 10 + case 18: + { + dnsAuthorizationId_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - input.readMessage( - getDnsAuthorizationFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 18 + case 26: + { + input.readMessage( + getDnsAuthorizationFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -561,19 +624,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The parent resource of the dns authorization. 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; @@ -582,21 +649,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the dns authorization. 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 { @@ -604,57 +674,70 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The parent resource of the dns authorization. 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 dns authorization. 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 dns authorization. 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; @@ -662,18 +745,20 @@ public Builder setParentBytes( private java.lang.Object dnsAuthorizationId_ = ""; /** + * + * *
      * Required. A user-provided name of the dns authorization.
      * 
* * string dns_authorization_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dnsAuthorizationId. */ public java.lang.String getDnsAuthorizationId() { java.lang.Object ref = dnsAuthorizationId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); dnsAuthorizationId_ = s; return s; @@ -682,20 +767,21 @@ public java.lang.String getDnsAuthorizationId() { } } /** + * + * *
      * Required. A user-provided name of the dns authorization.
      * 
* * string dns_authorization_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for dnsAuthorizationId. */ - public com.google.protobuf.ByteString - getDnsAuthorizationIdBytes() { + public com.google.protobuf.ByteString getDnsAuthorizationIdBytes() { java.lang.Object ref = dnsAuthorizationId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); dnsAuthorizationId_ = b; return b; } else { @@ -703,54 +789,61 @@ public java.lang.String getDnsAuthorizationId() { } } /** + * + * *
      * Required. A user-provided name of the dns authorization.
      * 
* * string dns_authorization_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The dnsAuthorizationId to set. * @return This builder for chaining. */ - public Builder setDnsAuthorizationId( - java.lang.String value) { + public Builder setDnsAuthorizationId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + dnsAuthorizationId_ = value; onChanged(); return this; } /** + * + * *
      * Required. A user-provided name of the dns authorization.
      * 
* * string dns_authorization_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearDnsAuthorizationId() { - + dnsAuthorizationId_ = getDefaultInstance().getDnsAuthorizationId(); onChanged(); return this; } /** + * + * *
      * Required. A user-provided name of the dns authorization.
      * 
* * string dns_authorization_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for dnsAuthorizationId to set. * @return This builder for chaining. */ - public Builder setDnsAuthorizationIdBytes( - com.google.protobuf.ByteString value) { + public Builder setDnsAuthorizationIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + dnsAuthorizationId_ = value; onChanged(); return this; @@ -758,41 +851,61 @@ public Builder setDnsAuthorizationIdBytes( private com.google.cloud.certificatemanager.v1.DnsAuthorization dnsAuthorization_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.DnsAuthorization, com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder, com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder> dnsAuthorizationBuilder_; + com.google.cloud.certificatemanager.v1.DnsAuthorization, + com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder, + com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder> + dnsAuthorizationBuilder_; /** + * + * *
      * Required. A definition of the dns authorization to create.
      * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dnsAuthorization field is set. */ public boolean hasDnsAuthorization() { return dnsAuthorizationBuilder_ != null || dnsAuthorization_ != null; } /** + * + * *
      * Required. A definition of the dns authorization to create.
      * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dnsAuthorization. */ public com.google.cloud.certificatemanager.v1.DnsAuthorization getDnsAuthorization() { if (dnsAuthorizationBuilder_ == null) { - return dnsAuthorization_ == null ? com.google.cloud.certificatemanager.v1.DnsAuthorization.getDefaultInstance() : dnsAuthorization_; + return dnsAuthorization_ == null + ? com.google.cloud.certificatemanager.v1.DnsAuthorization.getDefaultInstance() + : dnsAuthorization_; } else { return dnsAuthorizationBuilder_.getMessage(); } } /** + * + * *
      * Required. A definition of the dns authorization to create.
      * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setDnsAuthorization(com.google.cloud.certificatemanager.v1.DnsAuthorization value) { + public Builder setDnsAuthorization( + com.google.cloud.certificatemanager.v1.DnsAuthorization value) { if (dnsAuthorizationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -806,11 +919,15 @@ public Builder setDnsAuthorization(com.google.cloud.certificatemanager.v1.DnsAut return this; } /** + * + * *
      * Required. A definition of the dns authorization to create.
      * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDnsAuthorization( com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder builderForValue) { @@ -824,17 +941,24 @@ public Builder setDnsAuthorization( return this; } /** + * + * *
      * Required. A definition of the dns authorization to create.
      * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeDnsAuthorization(com.google.cloud.certificatemanager.v1.DnsAuthorization value) { + public Builder mergeDnsAuthorization( + com.google.cloud.certificatemanager.v1.DnsAuthorization value) { if (dnsAuthorizationBuilder_ == null) { if (dnsAuthorization_ != null) { dnsAuthorization_ = - com.google.cloud.certificatemanager.v1.DnsAuthorization.newBuilder(dnsAuthorization_).mergeFrom(value).buildPartial(); + com.google.cloud.certificatemanager.v1.DnsAuthorization.newBuilder(dnsAuthorization_) + .mergeFrom(value) + .buildPartial(); } else { dnsAuthorization_ = value; } @@ -846,11 +970,15 @@ public Builder mergeDnsAuthorization(com.google.cloud.certificatemanager.v1.DnsA return this; } /** + * + * *
      * Required. A definition of the dns authorization to create.
      * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDnsAuthorization() { if (dnsAuthorizationBuilder_ == null) { @@ -864,55 +992,73 @@ public Builder clearDnsAuthorization() { return this; } /** + * + * *
      * Required. A definition of the dns authorization to create.
      * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder getDnsAuthorizationBuilder() { - + public com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder + getDnsAuthorizationBuilder() { + onChanged(); return getDnsAuthorizationFieldBuilder().getBuilder(); } /** + * + * *
      * Required. A definition of the dns authorization to create.
      * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder getDnsAuthorizationOrBuilder() { + public com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder + getDnsAuthorizationOrBuilder() { if (dnsAuthorizationBuilder_ != null) { return dnsAuthorizationBuilder_.getMessageOrBuilder(); } else { - return dnsAuthorization_ == null ? - com.google.cloud.certificatemanager.v1.DnsAuthorization.getDefaultInstance() : dnsAuthorization_; + return dnsAuthorization_ == null + ? com.google.cloud.certificatemanager.v1.DnsAuthorization.getDefaultInstance() + : dnsAuthorization_; } } /** + * + * *
      * Required. A definition of the dns authorization to create.
      * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.DnsAuthorization, com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder, com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder> + com.google.cloud.certificatemanager.v1.DnsAuthorization, + com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder, + com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder> getDnsAuthorizationFieldBuilder() { if (dnsAuthorizationBuilder_ == null) { - dnsAuthorizationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.DnsAuthorization, com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder, com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder>( - getDnsAuthorization(), - getParentForChildren(), - isClean()); + dnsAuthorizationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.certificatemanager.v1.DnsAuthorization, + com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder, + com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder>( + getDnsAuthorization(), getParentForChildren(), isClean()); dnsAuthorization_ = null; } return dnsAuthorizationBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -922,41 +1068,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest) - private static final com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest(); } - public static com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateDnsAuthorizationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateDnsAuthorizationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -968,9 +1116,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequestOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequestOrBuilder.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequestOrBuilder.java index 66b4dc2ab024..7da9222092a3 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequestOrBuilder.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequestOrBuilder.java @@ -1,78 +1,122 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; -public interface CreateDnsAuthorizationRequestOrBuilder extends +public interface CreateDnsAuthorizationRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The parent resource of the dns authorization. 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 dns authorization. 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. A user-provided name of the dns authorization.
    * 
* * string dns_authorization_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The dnsAuthorizationId. */ java.lang.String getDnsAuthorizationId(); /** + * + * *
    * Required. A user-provided name of the dns authorization.
    * 
* * string dns_authorization_id = 2 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for dnsAuthorizationId. */ - com.google.protobuf.ByteString - getDnsAuthorizationIdBytes(); + com.google.protobuf.ByteString getDnsAuthorizationIdBytes(); /** + * + * *
    * Required. A definition of the dns authorization to create.
    * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dnsAuthorization field is set. */ boolean hasDnsAuthorization(); /** + * + * *
    * Required. A definition of the dns authorization to create.
    * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dnsAuthorization. */ com.google.cloud.certificatemanager.v1.DnsAuthorization getDnsAuthorization(); /** + * + * *
    * Required. A definition of the dns authorization to create.
    * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder getDnsAuthorizationOrBuilder(); } diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateIssuanceConfigRequest.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateIssuanceConfigRequest.java similarity index 53% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateIssuanceConfigRequest.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateIssuanceConfigRequest.java index e0ee647941c4..a1b5582d4bb1 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateIssuanceConfigRequest.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateIssuanceConfigRequest.java @@ -1,62 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_issuance_config.proto package com.google.cloud.certificatemanager.v1; /** + * + * *
  * Request for the `DeleteCertificateIssuanceConfig` method.
  * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest} */ -public final class DeleteCertificateIssuanceConfigRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteCertificateIssuanceConfigRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest) DeleteCertificateIssuanceConfigRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteCertificateIssuanceConfigRequest.newBuilder() to construct. - private DeleteCertificateIssuanceConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteCertificateIssuanceConfigRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteCertificateIssuanceConfigRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteCertificateIssuanceConfigRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_DeleteCertificateIssuanceConfigRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_DeleteCertificateIssuanceConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_DeleteCertificateIssuanceConfigRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_DeleteCertificateIssuanceConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest.class, com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest.Builder.class); + com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest.class, + com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest.Builder + .class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. A name of the certificate issuance config to delete. Must be in
    * the format `projects/*/locations/*/certificateIssuanceConfigs/*`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -65,30 +92,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. A name of the certificate issuance config to delete. Must be in
    * the format `projects/*/locations/*/certificateIssuanceConfigs/*`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -97,6 +126,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +138,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -133,15 +162,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.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest)) { + if (!(obj + instanceof com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest other = (com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest) obj; + com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest other = + (com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,130 +190,145 @@ public int hashCode() { return hash; } - public static com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest parseDelimitedFrom( - java.io.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.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest + parseDelimitedFrom( + java.io.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.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 `DeleteCertificateIssuanceConfig` method.
    * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest) com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_DeleteCertificateIssuanceConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_DeleteCertificateIssuanceConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_DeleteCertificateIssuanceConfigRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_DeleteCertificateIssuanceConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest.class, com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest.Builder.class); + com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest.class, + com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest.Builder + .class); } - // Construct using com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -293,19 +338,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_DeleteCertificateIssuanceConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_DeleteCertificateIssuanceConfigRequest_descriptor; } @java.lang.Override - public com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest getDefaultInstanceForType() { - return com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest.getDefaultInstance(); + public com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest + getDefaultInstanceForType() { + return com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest build() { - com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest result = buildPartial(); + com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -313,8 +361,10 @@ public com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigReq } @java.lang.Override - public com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest buildPartial() { - com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest result = new com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest(this); + public com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest + buildPartial() { + com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest result = + new com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest(this); result.name_ = name_; onBuilt(); return result; @@ -324,46 +374,53 @@ public com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigReq public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest) { - return mergeFrom((com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest)other); + if (other + instanceof + com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest) { + return mergeFrom( + (com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest other) { - if (other == com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest other) { + if (other + == com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -394,17 +451,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -417,19 +476,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. A name of the certificate issuance config to delete. Must be in
      * the format `projects/*/locations/*/certificateIssuanceConfigs/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -438,21 +501,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. A name of the certificate issuance config to delete. Must be in
      * the format `projects/*/locations/*/certificateIssuanceConfigs/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -460,64 +526,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. A name of the certificate issuance config to delete. Must be in
      * the format `projects/*/locations/*/certificateIssuanceConfigs/*`.
      * 
* - * string name = 1 [(.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. A name of the certificate issuance config to delete. Must be in
      * the format `projects/*/locations/*/certificateIssuanceConfigs/*`.
      * 
* - * string 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. A name of the certificate issuance config to delete. Must be in
      * the format `projects/*/locations/*/certificateIssuanceConfigs/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -527,41 +606,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest) - private static final com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest(); } - public static com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteCertificateIssuanceConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteCertificateIssuanceConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -573,9 +655,8 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateIssuanceConfigRequestOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateIssuanceConfigRequestOrBuilder.java new file mode 100644 index 000000000000..c462d2fe53b5 --- /dev/null +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateIssuanceConfigRequestOrBuilder.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/certificatemanager/v1/certificate_issuance_config.proto + +package com.google.cloud.certificatemanager.v1; + +public interface DeleteCertificateIssuanceConfigRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. A name of the certificate issuance config to delete. Must be in
+   * the format `projects/*/locations/*/certificateIssuanceConfigs/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. A name of the certificate issuance config to delete. Must be in
+   * the format `projects/*/locations/*/certificateIssuanceConfigs/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequest.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequest.java similarity index 58% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequest.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequest.java index 2cb06b2e1e30..f43f2849485c 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequest.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequest.java @@ -1,62 +1,87 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; /** + * + * *
  * Request for the `DeleteCertificateMapEntry` method.
  * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest} */ -public final class DeleteCertificateMapEntryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteCertificateMapEntryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest) DeleteCertificateMapEntryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteCertificateMapEntryRequest.newBuilder() to construct. - private DeleteCertificateMapEntryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private DeleteCertificateMapEntryRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteCertificateMapEntryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteCertificateMapEntryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapEntryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapEntryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapEntryRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapEntryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest.class, com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest.Builder.class); + com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest.class, + com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. A name of the certificate map entry to delete. Must be in the
    * format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -65,30 +90,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. A name of the certificate map entry to delete. Must be in the
    * format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -97,6 +124,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +136,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -133,15 +160,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest other = (com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest) obj; + com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest other = + (com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -161,129 +188,139 @@ public int hashCode() { } public static com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest parseDelimitedFrom( - java.io.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.certificatemanager.v1.DeleteCertificateMapEntryRequest + parseDelimitedFrom( + java.io.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.certificatemanager.v1.DeleteCertificateMapEntryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 `DeleteCertificateMapEntry` method.
    * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest) com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapEntryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapEntryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapEntryRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapEntryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest.class, com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest.Builder.class); + com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest.class, + com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest.Builder + .class); } - // Construct using com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -293,19 +330,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapEntryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapEntryRequest_descriptor; } @java.lang.Override - public com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest getDefaultInstanceForType() { - return com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest.getDefaultInstance(); + public com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest + getDefaultInstanceForType() { + return com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest build() { - com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest result = buildPartial(); + com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -314,7 +354,8 @@ public com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest b @java.lang.Override public com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest buildPartial() { - com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest result = new com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest(this); + com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest result = + new com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -324,46 +365,52 @@ public com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest) { - return mergeFrom((com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest)other); + if (other + instanceof com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest) { + return mergeFrom( + (com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest other) { - if (other == com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest other) { + if (other + == com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -394,17 +441,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -417,19 +466,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. A name of the certificate map entry to delete. Must be in the
      * format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -438,21 +491,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. A name of the certificate map entry to delete. Must be in the
      * format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -460,64 +516,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. A name of the certificate map entry to delete. Must be in the
      * format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
      * 
* - * string name = 1 [(.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. A name of the certificate map entry to delete. Must be in the
      * format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
      * 
* - * string 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. A name of the certificate map entry to delete. Must be in the
      * format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -527,41 +596,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest) - private static final com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest(); } - public static com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteCertificateMapEntryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteCertificateMapEntryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -573,9 +645,8 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequestOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequestOrBuilder.java new file mode 100644 index 000000000000..c64ebfb89530 --- /dev/null +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequestOrBuilder.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/certificatemanager/v1/certificate_manager.proto + +package com.google.cloud.certificatemanager.v1; + +public interface DeleteCertificateMapEntryRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. A name of the certificate map entry to delete. Must be in the
+   * format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. A name of the certificate map entry to delete. Must be in the
+   * format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequest.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequest.java similarity index 60% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequest.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequest.java index 9c57d2e9f932..f967b36f5e75 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequest.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequest.java @@ -1,62 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; /** + * + * *
  * Request for the `DeleteCertificateMap` method.
  * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.DeleteCertificateMapRequest} */ -public final class DeleteCertificateMapRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteCertificateMapRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.DeleteCertificateMapRequest) DeleteCertificateMapRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteCertificateMapRequest.newBuilder() to construct. private DeleteCertificateMapRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteCertificateMapRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteCertificateMapRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest.class, com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest.Builder.class); + com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest.class, + com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. A name of the certificate map to delete. Must be in the format
    * `projects/*/locations/*/certificateMaps/*`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -65,30 +89,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. A name of the certificate map to delete. Must be in the format
    * `projects/*/locations/*/certificateMaps/*`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -97,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -133,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest other = (com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest) obj; + com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest other = + (com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -161,129 +187,138 @@ public int hashCode() { } public static com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest parseDelimitedFrom( - java.io.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.certificatemanager.v1.DeleteCertificateMapRequest + parseDelimitedFrom( + java.io.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.certificatemanager.v1.DeleteCertificateMapRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 `DeleteCertificateMap` method.
    * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.DeleteCertificateMapRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.DeleteCertificateMapRequest) com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest.class, com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest.Builder.class); + com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest.class, + com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest.Builder.class); } - // Construct using com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -293,14 +328,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapRequest_descriptor; } @java.lang.Override - public com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest getDefaultInstanceForType() { - return com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest.getDefaultInstance(); + public com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest + getDefaultInstanceForType() { + return com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest + .getDefaultInstance(); } @java.lang.Override @@ -314,7 +351,8 @@ public com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest build( @java.lang.Override public com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest buildPartial() { - com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest result = new com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest(this); + com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest result = + new com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest(this); result.name_ = name_; onBuilt(); return result; @@ -324,46 +362,51 @@ public com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest 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.certificatemanager.v1.DeleteCertificateMapRequest) { - return mergeFrom((com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest)other); + return mergeFrom( + (com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest other) { - if (other == com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest other) { + if (other + == com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -394,17 +437,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -417,19 +462,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. A name of the certificate map to delete. Must be in the format
      * `projects/*/locations/*/certificateMaps/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -438,21 +487,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. A name of the certificate map to delete. Must be in the format
      * `projects/*/locations/*/certificateMaps/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -460,64 +512,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. A name of the certificate map to delete. Must be in the format
      * `projects/*/locations/*/certificateMaps/*`.
      * 
* - * string name = 1 [(.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. A name of the certificate map to delete. Must be in the format
      * `projects/*/locations/*/certificateMaps/*`.
      * 
* - * string 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. A name of the certificate map to delete. Must be in the format
      * `projects/*/locations/*/certificateMaps/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -527,41 +592,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.DeleteCertificateMapRequest) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.DeleteCertificateMapRequest) - private static final com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest(); } - public static com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteCertificateMapRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteCertificateMapRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -573,9 +640,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequestOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequestOrBuilder.java new file mode 100644 index 000000000000..a7216a2175a4 --- /dev/null +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequestOrBuilder.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/certificatemanager/v1/certificate_manager.proto + +package com.google.cloud.certificatemanager.v1; + +public interface DeleteCertificateMapRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.DeleteCertificateMapRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. A name of the certificate map to delete. Must be in the format
+   * `projects/*/locations/*/certificateMaps/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. A name of the certificate map to delete. Must be in the format
+   * `projects/*/locations/*/certificateMaps/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequest.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequest.java similarity index 61% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequest.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequest.java index 5dc7eedde2c6..5b06c6163a07 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequest.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequest.java @@ -1,62 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; /** + * + * *
  * Request for the `DeleteCertificate` method.
  * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.DeleteCertificateRequest} */ -public final class DeleteCertificateRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteCertificateRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.DeleteCertificateRequest) DeleteCertificateRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteCertificateRequest.newBuilder() to construct. private DeleteCertificateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteCertificateRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteCertificateRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_DeleteCertificateRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_DeleteCertificateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_DeleteCertificateRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_DeleteCertificateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.DeleteCertificateRequest.class, com.google.cloud.certificatemanager.v1.DeleteCertificateRequest.Builder.class); + com.google.cloud.certificatemanager.v1.DeleteCertificateRequest.class, + com.google.cloud.certificatemanager.v1.DeleteCertificateRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. A name of the certificate to delete. Must be in the format
    * `projects/*/locations/*/certificates/*`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -65,30 +89,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. A name of the certificate to delete. Must be in the format
    * `projects/*/locations/*/certificates/*`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -97,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -133,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.certificatemanager.v1.DeleteCertificateRequest)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.DeleteCertificateRequest other = (com.google.cloud.certificatemanager.v1.DeleteCertificateRequest) obj; + com.google.cloud.certificatemanager.v1.DeleteCertificateRequest other = + (com.google.cloud.certificatemanager.v1.DeleteCertificateRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -161,129 +187,136 @@ public int hashCode() { } public static com.google.cloud.certificatemanager.v1.DeleteCertificateRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.DeleteCertificateRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.DeleteCertificateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.DeleteCertificateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.DeleteCertificateRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.DeleteCertificateRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.DeleteCertificateRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.DeleteCertificateRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.DeleteCertificateRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.DeleteCertificateRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.DeleteCertificateRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.DeleteCertificateRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.DeleteCertificateRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.DeleteCertificateRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.DeleteCertificateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.DeleteCertificateRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.DeleteCertificateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 `DeleteCertificate` method.
    * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.DeleteCertificateRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.DeleteCertificateRequest) com.google.cloud.certificatemanager.v1.DeleteCertificateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_DeleteCertificateRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_DeleteCertificateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_DeleteCertificateRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_DeleteCertificateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.DeleteCertificateRequest.class, com.google.cloud.certificatemanager.v1.DeleteCertificateRequest.Builder.class); + com.google.cloud.certificatemanager.v1.DeleteCertificateRequest.class, + com.google.cloud.certificatemanager.v1.DeleteCertificateRequest.Builder.class); } // Construct using com.google.cloud.certificatemanager.v1.DeleteCertificateRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -293,13 +326,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_DeleteCertificateRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_DeleteCertificateRequest_descriptor; } @java.lang.Override - public com.google.cloud.certificatemanager.v1.DeleteCertificateRequest getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.DeleteCertificateRequest + getDefaultInstanceForType() { return com.google.cloud.certificatemanager.v1.DeleteCertificateRequest.getDefaultInstance(); } @@ -314,7 +348,8 @@ public com.google.cloud.certificatemanager.v1.DeleteCertificateRequest build() { @java.lang.Override public com.google.cloud.certificatemanager.v1.DeleteCertificateRequest buildPartial() { - com.google.cloud.certificatemanager.v1.DeleteCertificateRequest result = new com.google.cloud.certificatemanager.v1.DeleteCertificateRequest(this); + com.google.cloud.certificatemanager.v1.DeleteCertificateRequest result = + new com.google.cloud.certificatemanager.v1.DeleteCertificateRequest(this); result.name_ = name_; onBuilt(); return result; @@ -324,46 +359,50 @@ public com.google.cloud.certificatemanager.v1.DeleteCertificateRequest 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.certificatemanager.v1.DeleteCertificateRequest) { - return mergeFrom((com.google.cloud.certificatemanager.v1.DeleteCertificateRequest)other); + return mergeFrom((com.google.cloud.certificatemanager.v1.DeleteCertificateRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.certificatemanager.v1.DeleteCertificateRequest other) { - if (other == com.google.cloud.certificatemanager.v1.DeleteCertificateRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.certificatemanager.v1.DeleteCertificateRequest other) { + if (other + == com.google.cloud.certificatemanager.v1.DeleteCertificateRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -394,17 +433,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -417,19 +458,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. A name of the certificate to delete. Must be in the format
      * `projects/*/locations/*/certificates/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -438,21 +483,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. A name of the certificate to delete. Must be in the format
      * `projects/*/locations/*/certificates/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -460,64 +508,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. A name of the certificate to delete. Must be in the format
      * `projects/*/locations/*/certificates/*`.
      * 
* - * string name = 1 [(.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. A name of the certificate to delete. Must be in the format
      * `projects/*/locations/*/certificates/*`.
      * 
* - * string 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. A name of the certificate to delete. Must be in the format
      * `projects/*/locations/*/certificates/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -527,41 +588,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.DeleteCertificateRequest) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.DeleteCertificateRequest) - private static final com.google.cloud.certificatemanager.v1.DeleteCertificateRequest DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.DeleteCertificateRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.DeleteCertificateRequest(); } - public static com.google.cloud.certificatemanager.v1.DeleteCertificateRequest getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.DeleteCertificateRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteCertificateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteCertificateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -573,9 +636,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.certificatemanager.v1.DeleteCertificateRequest getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.DeleteCertificateRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequestOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequestOrBuilder.java new file mode 100644 index 000000000000..a8793846d3b9 --- /dev/null +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequestOrBuilder.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/certificatemanager/v1/certificate_manager.proto + +package com.google.cloud.certificatemanager.v1; + +public interface DeleteCertificateRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.DeleteCertificateRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. A name of the certificate to delete. Must be in the format
+   * `projects/*/locations/*/certificates/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. A name of the certificate to delete. Must be in the format
+   * `projects/*/locations/*/certificates/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequest.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequest.java similarity index 60% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequest.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequest.java index 3112f916f71e..f298504ab478 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequest.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequest.java @@ -1,62 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; /** + * + * *
  * Request for the `DeleteDnsAuthorization` method.
  * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest} */ -public final class DeleteDnsAuthorizationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class DeleteDnsAuthorizationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest) DeleteDnsAuthorizationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use DeleteDnsAuthorizationRequest.newBuilder() to construct. private DeleteDnsAuthorizationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private DeleteDnsAuthorizationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteDnsAuthorizationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_DeleteDnsAuthorizationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_DeleteDnsAuthorizationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_DeleteDnsAuthorizationRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_DeleteDnsAuthorizationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest.class, com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest.Builder.class); + com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest.class, + com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. A name of the dns authorization to delete. Must be in the format
    * `projects/*/locations/*/dnsAuthorizations/*`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -65,30 +89,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. A name of the dns authorization to delete. Must be in the format
    * `projects/*/locations/*/dnsAuthorizations/*`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -97,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -133,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest other = (com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest) obj; + com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest other = + (com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -161,129 +187,138 @@ public int hashCode() { } public static com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest parseDelimitedFrom( - java.io.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.certificatemanager.v1.DeleteDnsAuthorizationRequest + parseDelimitedFrom( + java.io.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.certificatemanager.v1.DeleteDnsAuthorizationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 `DeleteDnsAuthorization` method.
    * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest) com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_DeleteDnsAuthorizationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_DeleteDnsAuthorizationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_DeleteDnsAuthorizationRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_DeleteDnsAuthorizationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest.class, com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest.Builder.class); + com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest.class, + com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest.Builder.class); } - // Construct using com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -293,14 +328,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_DeleteDnsAuthorizationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_DeleteDnsAuthorizationRequest_descriptor; } @java.lang.Override - public com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest getDefaultInstanceForType() { - return com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest.getDefaultInstance(); + public com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest + getDefaultInstanceForType() { + return com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest + .getDefaultInstance(); } @java.lang.Override @@ -314,7 +351,8 @@ public com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest buil @java.lang.Override public com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest buildPartial() { - com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest result = new com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest(this); + com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest result = + new com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest(this); result.name_ = name_; onBuilt(); return result; @@ -324,46 +362,51 @@ public com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest 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.certificatemanager.v1.DeleteDnsAuthorizationRequest) { - return mergeFrom((com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest)other); + return mergeFrom( + (com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest other) { - if (other == com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest other) { + if (other + == com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -394,17 +437,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -417,19 +462,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. A name of the dns authorization to delete. Must be in the format
      * `projects/*/locations/*/dnsAuthorizations/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -438,21 +487,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. A name of the dns authorization to delete. Must be in the format
      * `projects/*/locations/*/dnsAuthorizations/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -460,64 +512,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. A name of the dns authorization to delete. Must be in the format
      * `projects/*/locations/*/dnsAuthorizations/*`.
      * 
* - * string name = 1 [(.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. A name of the dns authorization to delete. Must be in the format
      * `projects/*/locations/*/dnsAuthorizations/*`.
      * 
* - * string 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. A name of the dns authorization to delete. Must be in the format
      * `projects/*/locations/*/dnsAuthorizations/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -527,41 +592,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest) - private static final com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest(); } - public static com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DeleteDnsAuthorizationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DeleteDnsAuthorizationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -573,9 +640,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequestOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequestOrBuilder.java new file mode 100644 index 000000000000..84ba26f7872e --- /dev/null +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequestOrBuilder.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/certificatemanager/v1/certificate_manager.proto + +package com.google.cloud.certificatemanager.v1; + +public interface DeleteDnsAuthorizationRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. A name of the dns authorization to delete. Must be in the format
+   * `projects/*/locations/*/dnsAuthorizations/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. A name of the dns authorization to delete. Must be in the format
+   * `projects/*/locations/*/dnsAuthorizations/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorization.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorization.java similarity index 64% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorization.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorization.java index cad25d86eb21..a2afbbc3eca0 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorization.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorization.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/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; /** + * + * *
  * A DnsAuthorization resource describes a way to perform domain authorization
  * for certificate issuance.
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.certificatemanager.v1.DnsAuthorization}
  */
-public final class DnsAuthorization extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DnsAuthorization extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.DnsAuthorization)
     DnsAuthorizationOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DnsAuthorization.newBuilder() to construct.
   private DnsAuthorization(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DnsAuthorization() {
     name_ = "";
     description_ = "";
@@ -28,110 +46,128 @@ private DnsAuthorization() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DnsAuthorization();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_descriptor;
+
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.certificatemanager.v1.CertificateManagerProto
+        .internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_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 4:
         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.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_fieldAccessorTable
+    return com.google.cloud.certificatemanager.v1.CertificateManagerProto
+        .internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.certificatemanager.v1.DnsAuthorization.class, com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder.class);
+            com.google.cloud.certificatemanager.v1.DnsAuthorization.class,
+            com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder.class);
   }
 
-  public interface DnsResourceRecordOrBuilder extends
+  public interface DnsResourceRecordOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Output only. Fully qualified name of the DNS Resource Record.
      * e.g. `_acme-challenge.example.com`
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Output only. Fully qualified name of the DNS Resource Record.
      * e.g. `_acme-challenge.example.com`
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
      * Output only. Type of the DNS Resource Record.
      * Currently always set to "CNAME".
      * 
* * string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The type. */ java.lang.String getType(); /** + * + * *
      * Output only. Type of the DNS Resource Record.
      * Currently always set to "CNAME".
      * 
* * string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for type. */ - com.google.protobuf.ByteString - getTypeBytes(); + com.google.protobuf.ByteString getTypeBytes(); /** + * + * *
      * Output only. Data of the DNS Resource Record.
      * 
* * string data = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The data. */ java.lang.String getData(); /** + * + * *
      * Output only. Data of the DNS Resource Record.
      * 
* * string data = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for data. */ - com.google.protobuf.ByteString - getDataBytes(); + com.google.protobuf.ByteString getDataBytes(); } /** + * + * *
    * The structure describing the DNS Resource Record that needs to be added
    * to DNS configuration for the authorization to be usable by
@@ -140,15 +176,16 @@ public interface DnsResourceRecordOrBuilder extends
    *
    * Protobuf type {@code google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord}
    */
-  public static final class DnsResourceRecord extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class DnsResourceRecord extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord)
       DnsResourceRecordOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use DnsResourceRecord.newBuilder() to construct.
     private DnsResourceRecord(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private DnsResourceRecord() {
       name_ = "";
       type_ = "";
@@ -157,38 +194,43 @@ private DnsResourceRecord() {
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new DnsResourceRecord();
     }
 
     @java.lang.Override
-    public final com.google.protobuf.UnknownFieldSet
-    getUnknownFields() {
+    public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
       return this.unknownFields;
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_DnsResourceRecord_descriptor;
+
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.certificatemanager.v1.CertificateManagerProto
+          .internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_DnsResourceRecord_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_DnsResourceRecord_fieldAccessorTable
+      return com.google.cloud.certificatemanager.v1.CertificateManagerProto
+          .internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_DnsResourceRecord_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord.class, com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord.Builder.class);
+              com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord.class,
+              com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord.Builder
+                  .class);
     }
 
     public static final int NAME_FIELD_NUMBER = 1;
     private volatile java.lang.Object name_;
     /**
+     *
+     *
      * 
      * Output only. Fully qualified name of the DNS Resource Record.
      * e.g. `_acme-challenge.example.com`
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -197,30 +239,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. Fully qualified name of the DNS Resource Record.
      * e.g. `_acme-challenge.example.com`
      * 
* * 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 { @@ -231,12 +273,15 @@ public java.lang.String getName() { public static final int TYPE_FIELD_NUMBER = 2; private volatile java.lang.Object type_; /** + * + * *
      * Output only. Type of the DNS Resource Record.
      * Currently always set to "CNAME".
      * 
* * string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The type. */ @java.lang.Override @@ -245,30 +290,30 @@ public java.lang.String getType() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } } /** + * + * *
      * Output only. Type of the DNS Resource Record.
      * Currently always set to "CNAME".
      * 
* * string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for type. */ @java.lang.Override - public com.google.protobuf.ByteString - getTypeBytes() { + public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); type_ = b; return b; } else { @@ -279,11 +324,14 @@ public java.lang.String getType() { public static final int DATA_FIELD_NUMBER = 3; private volatile java.lang.Object data_; /** + * + * *
      * Output only. Data of the DNS Resource Record.
      * 
* * string data = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The data. */ @java.lang.Override @@ -292,29 +340,29 @@ public java.lang.String getData() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); data_ = s; return s; } } /** + * + * *
      * Output only. Data of the DNS Resource Record.
      * 
* * string data = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for data. */ @java.lang.Override - public com.google.protobuf.ByteString - getDataBytes() { + public com.google.protobuf.ByteString getDataBytes() { java.lang.Object ref = data_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); data_ = b; return b; } else { @@ -323,6 +371,7 @@ public java.lang.String getData() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -334,8 +383,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -371,19 +419,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.certificatemanager.v1.DnsAuthorization.DnsResourceRecord)) { + if (!(obj + instanceof com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord other = (com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord) obj; + com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord other = + (com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord) obj; - if (!getName() - .equals(other.getName())) return false; - if (!getType() - .equals(other.getType())) return false; - if (!getData() - .equals(other.getData())) return false; + if (!getName().equals(other.getName())) return false; + if (!getType().equals(other.getType())) return false; + if (!getData().equals(other.getData())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -406,88 +453,101 @@ public int hashCode() { return hash; } - public static com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord parseDelimitedFrom( - java.io.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.certificatemanager.v1.DnsAuthorization.DnsResourceRecord + parseDelimitedFrom( + java.io.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.certificatemanager.v1.DnsAuthorization.DnsResourceRecord parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -497,6 +557,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * The structure describing the DNS Resource Record that needs to be added
      * to DNS configuration for the authorization to be usable by
@@ -505,33 +567,35 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord)
         com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecordOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_DnsResourceRecord_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.cloud.certificatemanager.v1.CertificateManagerProto
+            .internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_DnsResourceRecord_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_DnsResourceRecord_fieldAccessorTable
+        return com.google.cloud.certificatemanager.v1.CertificateManagerProto
+            .internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_DnsResourceRecord_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord.class, com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord.Builder.class);
+                com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord.class,
+                com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord.Builder
+                    .class);
       }
 
-      // Construct using com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord.newBuilder()
-      private Builder() {
-
-      }
+      // Construct using
+      // com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord.newBuilder()
+      private Builder() {}
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -545,19 +609,22 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_DnsResourceRecord_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.cloud.certificatemanager.v1.CertificateManagerProto
+            .internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_DnsResourceRecord_descriptor;
       }
 
       @java.lang.Override
-      public com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord getDefaultInstanceForType() {
-        return com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord.getDefaultInstance();
+      public com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord
+          getDefaultInstanceForType() {
+        return com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord
+            .getDefaultInstance();
       }
 
       @java.lang.Override
       public com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord build() {
-        com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord result = buildPartial();
+        com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord result =
+            buildPartial();
         if (!result.isInitialized()) {
           throw newUninitializedMessageException(result);
         }
@@ -565,8 +632,10 @@ public com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord
       }
 
       @java.lang.Override
-      public com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord buildPartial() {
-        com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord result = new com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord(this);
+      public com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord
+          buildPartial() {
+        com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord result =
+            new com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord(this);
         result.name_ = name_;
         result.type_ = type_;
         result.data_ = data_;
@@ -578,46 +647,54 @@ public com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.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.certificatemanager.v1.DnsAuthorization.DnsResourceRecord) {
-          return mergeFrom((com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord)other);
+        if (other
+            instanceof com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord) {
+          return mergeFrom(
+              (com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord) other);
         } else {
           super.mergeFrom(other);
           return this;
         }
       }
 
-      public Builder mergeFrom(com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord other) {
-        if (other == com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord.getDefaultInstance()) return this;
+      public Builder mergeFrom(
+          com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord other) {
+        if (other
+            == com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord
+                .getDefaultInstance()) return this;
         if (!other.getName().isEmpty()) {
           name_ = other.name_;
           onChanged();
@@ -656,27 +733,31 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                name_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 10
-              case 18: {
-                type_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 18
-              case 26: {
-                data_ = input.readStringRequireUtf8();
-
-                break;
-              } // case 26
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  name_ = input.readStringRequireUtf8();
+
+                  break;
+                } // case 10
+              case 18:
+                {
+                  type_ = input.readStringRequireUtf8();
+
+                  break;
+                } // case 18
+              case 26:
+                {
+                  data_ = input.readStringRequireUtf8();
+
+                  break;
+                } // case 26
+              default:
+                {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
             } // switch (tag)
           } // while (!done)
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -689,19 +770,21 @@ public Builder mergeFrom(
 
       private java.lang.Object name_ = "";
       /**
+       *
+       *
        * 
        * Output only. Fully qualified name of the DNS Resource Record.
        * e.g. `_acme-challenge.example.com`
        * 
* * 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; @@ -710,21 +793,22 @@ public java.lang.String getName() { } } /** + * + * *
        * Output only. Fully qualified name of the DNS Resource Record.
        * e.g. `_acme-challenge.example.com`
        * 
* * 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 { @@ -732,57 +816,64 @@ public java.lang.String getName() { } } /** + * + * *
        * Output only. Fully qualified name of the DNS Resource Record.
        * e.g. `_acme-challenge.example.com`
        * 
* * 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. Fully qualified name of the DNS Resource Record.
        * e.g. `_acme-challenge.example.com`
        * 
* * 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. Fully qualified name of the DNS Resource Record.
        * e.g. `_acme-challenge.example.com`
        * 
* * 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; @@ -790,19 +881,21 @@ public Builder setNameBytes( private java.lang.Object type_ = ""; /** + * + * *
        * Output only. Type of the DNS Resource Record.
        * Currently always set to "CNAME".
        * 
* * string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; @@ -811,21 +904,22 @@ public java.lang.String getType() { } } /** + * + * *
        * Output only. Type of the DNS Resource Record.
        * Currently always set to "CNAME".
        * 
* * string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for type. */ - public com.google.protobuf.ByteString - getTypeBytes() { + public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); type_ = b; return b; } else { @@ -833,57 +927,64 @@ public java.lang.String getType() { } } /** + * + * *
        * Output only. Type of the DNS Resource Record.
        * Currently always set to "CNAME".
        * 
* * string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType( - java.lang.String value) { + public Builder setType(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + type_ = value; onChanged(); return this; } /** + * + * *
        * Output only. Type of the DNS Resource Record.
        * Currently always set to "CNAME".
        * 
* * string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearType() { - + type_ = getDefaultInstance().getType(); onChanged(); return this; } /** + * + * *
        * Output only. Type of the DNS Resource Record.
        * Currently always set to "CNAME".
        * 
* * string type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for type to set. * @return This builder for chaining. */ - public Builder setTypeBytes( - com.google.protobuf.ByteString value) { + public Builder setTypeBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + type_ = value; onChanged(); return this; @@ -891,18 +992,20 @@ public Builder setTypeBytes( private java.lang.Object data_ = ""; /** + * + * *
        * Output only. Data of the DNS Resource Record.
        * 
* * string data = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The data. */ public java.lang.String getData() { java.lang.Object ref = data_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); data_ = s; return s; @@ -911,20 +1014,21 @@ public java.lang.String getData() { } } /** + * + * *
        * Output only. Data of the DNS Resource Record.
        * 
* * string data = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for data. */ - public com.google.protobuf.ByteString - getDataBytes() { + public com.google.protobuf.ByteString getDataBytes() { java.lang.Object ref = data_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); data_ = b; return b; } else { @@ -932,58 +1036,66 @@ public java.lang.String getData() { } } /** + * + * *
        * Output only. Data of the DNS Resource Record.
        * 
* * string data = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The data to set. * @return This builder for chaining. */ - public Builder setData( - java.lang.String value) { + public Builder setData(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + data_ = value; onChanged(); return this; } /** + * + * *
        * Output only. Data of the DNS Resource Record.
        * 
* * string data = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearData() { - + data_ = getDefaultInstance().getData(); onChanged(); return this; } /** + * + * *
        * Output only. Data of the DNS Resource Record.
        * 
* * string data = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for data to set. * @return This builder for chaining. */ - public Builder setDataBytes( - com.google.protobuf.ByteString value) { + public Builder setDataBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + data_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -996,41 +1108,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord) - private static final com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord(); + DEFAULT_INSTANCE = + new com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord(); } - public static com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DnsResourceRecord parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DnsResourceRecord parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1042,15 +1158,17 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * A user-defined name of the dns authorization. DnsAuthorization names must
    * be unique globally and match pattern
@@ -1058,6 +1176,7 @@ public com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -1066,14 +1185,15 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * A user-defined name of the dns authorization. DnsAuthorization names must
    * be unique globally and match pattern
@@ -1081,16 +1201,15 @@ public java.lang.String getName() {
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1101,11 +1220,15 @@ public java.lang.String getName() { public static final int CREATE_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * Output only. The creation timestamp of a DnsAuthorization.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -1113,11 +1236,15 @@ public boolean hasCreateTime() { return createTime_ != null; } /** + * + * *
    * Output only. The creation timestamp of a DnsAuthorization.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ @java.lang.Override @@ -1125,11 +1252,14 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * Output only. The creation timestamp of a DnsAuthorization.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { @@ -1139,11 +1269,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * Output only. The last update timestamp of a DnsAuthorization.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1151,11 +1285,15 @@ public boolean hasUpdateTime() { return updateTime_ != null; } /** + * + * *
    * Output only. The last update timestamp of a DnsAuthorization.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ @java.lang.Override @@ -1163,11 +1301,14 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * Output only. The last update timestamp of a DnsAuthorization.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { @@ -1175,24 +1316,23 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } public static final int LABELS_FIELD_NUMBER = 4; + 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.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_LabelsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.STRING, - ""); + static final com.google.protobuf.MapEntry defaultEntry = + com.google.protobuf.MapEntry.newDefaultInstance( + com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -1201,28 +1341,30 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Set of labels associated with a DnsAuthorization.
    * 
* * map<string, string> labels = 4; */ - @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
    * Set of labels associated with a DnsAuthorization.
    * 
@@ -1230,11 +1372,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Set of labels associated with a DnsAuthorization.
    * 
@@ -1242,16 +1385,16 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Set of labels associated with a DnsAuthorization.
    * 
@@ -1259,12 +1402,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -1274,11 +1416,14 @@ public java.lang.String getLabelsOrThrow( public static final int DESCRIPTION_FIELD_NUMBER = 5; private volatile java.lang.Object description_; /** + * + * *
    * One or more paragraphs of text description of a DnsAuthorization.
    * 
* * string description = 5; + * * @return The description. */ @java.lang.Override @@ -1287,29 +1432,29 @@ public java.lang.String getDescription() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; } } /** + * + * *
    * One or more paragraphs of text description of a DnsAuthorization.
    * 
* * string description = 5; + * * @return The bytes for description. */ @java.lang.Override - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -1320,6 +1465,8 @@ public java.lang.String getDescription() { public static final int DOMAIN_FIELD_NUMBER = 6; private volatile java.lang.Object domain_; /** + * + * *
    * Required. Immutable. A domain which is being authorized. A DnsAuthorization
    * resource covers a single domain and its wildcard, e.g. authorization for
@@ -1327,7 +1474,10 @@ public java.lang.String getDescription() {
    * `*.example.com`.
    * 
* - * string domain = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string domain = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The domain. */ @java.lang.Override @@ -1336,14 +1486,15 @@ public java.lang.String getDomain() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domain_ = s; return s; } } /** + * + * *
    * Required. Immutable. A domain which is being authorized. A DnsAuthorization
    * resource covers a single domain and its wildcard, e.g. authorization for
@@ -1351,17 +1502,18 @@ public java.lang.String getDomain() {
    * `*.example.com`.
    * 
* - * string domain = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string domain = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for domain. */ @java.lang.Override - public com.google.protobuf.ByteString - getDomainBytes() { + public com.google.protobuf.ByteString getDomainBytes() { java.lang.Object ref = domain_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domain_ = b; return b; } else { @@ -1370,14 +1522,20 @@ public java.lang.String getDomain() { } public static final int DNS_RESOURCE_RECORD_FIELD_NUMBER = 10; - private com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord dnsResourceRecord_; + private com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord + dnsResourceRecord_; /** + * + * *
    * Output only. DNS Resource Record that needs to be added to DNS
    * configuration.
    * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord dns_resource_record = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord dns_resource_record = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dnsResourceRecord field is set. */ @java.lang.Override @@ -1385,32 +1543,47 @@ public boolean hasDnsResourceRecord() { return dnsResourceRecord_ != null; } /** + * + * *
    * Output only. DNS Resource Record that needs to be added to DNS
    * configuration.
    * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord dns_resource_record = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord dns_resource_record = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The dnsResourceRecord. */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord getDnsResourceRecord() { - return dnsResourceRecord_ == null ? com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord.getDefaultInstance() : dnsResourceRecord_; + public com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord + getDnsResourceRecord() { + return dnsResourceRecord_ == null + ? com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord + .getDefaultInstance() + : dnsResourceRecord_; } /** + * + * *
    * Output only. DNS Resource Record that needs to be added to DNS
    * configuration.
    * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord dns_resource_record = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord dns_resource_record = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecordOrBuilder getDnsResourceRecordOrBuilder() { + public com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecordOrBuilder + getDnsResourceRecordOrBuilder() { return getDnsResourceRecord(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1422,8 +1595,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -1433,12 +1605,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (updateTime_ != null) { output.writeMessage(3, getUpdateTime()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 4); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, description_); } @@ -1461,22 +1629,20 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getCreateTime()); } if (updateTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getUpdateTime()); - } - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, labels__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getUpdateTime()); + } + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, labels__); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, description_); @@ -1485,8 +1651,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, domain_); } if (dnsResourceRecord_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getDnsResourceRecord()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getDnsResourceRecord()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1496,35 +1661,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.certificatemanager.v1.DnsAuthorization)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.DnsAuthorization other = (com.google.cloud.certificatemanager.v1.DnsAuthorization) obj; + com.google.cloud.certificatemanager.v1.DnsAuthorization other = + (com.google.cloud.certificatemanager.v1.DnsAuthorization) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasUpdateTime() != other.hasUpdateTime()) return false; if (hasUpdateTime()) { - if (!getUpdateTime() - .equals(other.getUpdateTime())) return false; - } - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; - if (!getDescription() - .equals(other.getDescription())) return false; - if (!getDomain() - .equals(other.getDomain())) return false; + if (!getUpdateTime().equals(other.getUpdateTime())) return false; + } + if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getDescription().equals(other.getDescription())) return false; + if (!getDomain().equals(other.getDomain())) return false; if (hasDnsResourceRecord() != other.hasDnsResourceRecord()) return false; if (hasDnsResourceRecord()) { - if (!getDnsResourceRecord() - .equals(other.getDnsResourceRecord())) return false; + if (!getDnsResourceRecord().equals(other.getDnsResourceRecord())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1565,96 +1724,104 @@ public int hashCode() { } public static com.google.cloud.certificatemanager.v1.DnsAuthorization parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.DnsAuthorization parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.DnsAuthorization parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.DnsAuthorization parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.DnsAuthorization parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.DnsAuthorization parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.DnsAuthorization parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.DnsAuthorization parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.DnsAuthorization parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.DnsAuthorization parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.DnsAuthorization parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.DnsAuthorization parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.DnsAuthorization parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.DnsAuthorization parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.DnsAuthorization prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.DnsAuthorization prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A DnsAuthorization resource describes a way to perform domain authorization
    * for certificate issuance.
@@ -1662,55 +1829,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.certificatemanager.v1.DnsAuthorization}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.DnsAuthorization)
       com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.certificatemanager.v1.CertificateManagerProto
+          .internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 4:
           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 4:
           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.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_fieldAccessorTable
+      return com.google.cloud.certificatemanager.v1.CertificateManagerProto
+          .internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.certificatemanager.v1.DnsAuthorization.class, com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder.class);
+              com.google.cloud.certificatemanager.v1.DnsAuthorization.class,
+              com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder.class);
     }
 
     // Construct using com.google.cloud.certificatemanager.v1.DnsAuthorization.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1743,9 +1907,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.certificatemanager.v1.CertificateManagerProto
+          .internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_descriptor;
     }
 
     @java.lang.Override
@@ -1764,7 +1928,8 @@ public com.google.cloud.certificatemanager.v1.DnsAuthorization build() {
 
     @java.lang.Override
     public com.google.cloud.certificatemanager.v1.DnsAuthorization buildPartial() {
-      com.google.cloud.certificatemanager.v1.DnsAuthorization result = new com.google.cloud.certificatemanager.v1.DnsAuthorization(this);
+      com.google.cloud.certificatemanager.v1.DnsAuthorization result =
+          new com.google.cloud.certificatemanager.v1.DnsAuthorization(this);
       int from_bitField0_ = bitField0_;
       result.name_ = name_;
       if (createTimeBuilder_ == null) {
@@ -1794,38 +1959,39 @@ public com.google.cloud.certificatemanager.v1.DnsAuthorization buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.certificatemanager.v1.DnsAuthorization) {
-        return mergeFrom((com.google.cloud.certificatemanager.v1.DnsAuthorization)other);
+        return mergeFrom((com.google.cloud.certificatemanager.v1.DnsAuthorization) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1833,7 +1999,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.certificatemanager.v1.DnsAuthorization other) {
-      if (other == com.google.cloud.certificatemanager.v1.DnsAuthorization.getDefaultInstance()) return this;
+      if (other == com.google.cloud.certificatemanager.v1.DnsAuthorization.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         onChanged();
@@ -1844,8 +2011,7 @@ public Builder mergeFrom(com.google.cloud.certificatemanager.v1.DnsAuthorization
       if (other.hasUpdateTime()) {
         mergeUpdateTime(other.getUpdateTime());
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       if (!other.getDescription().isEmpty()) {
         description_ = other.description_;
         onChanged();
@@ -1883,56 +2049,61 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getCreateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getUpdateTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 26
-            case 34: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              break;
-            } // case 34
-            case 42: {
-              description_ = input.readStringRequireUtf8();
+                break;
+              } // case 26
+            case 34:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                break;
+              } // case 34
+            case 42:
+              {
+                description_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 42
-            case 50: {
-              domain_ = input.readStringRequireUtf8();
+                break;
+              } // case 42
+            case 50:
+              {
+                domain_ = input.readStringRequireUtf8();
 
-              break;
-            } // case 50
-            case 82: {
-              input.readMessage(
-                  getDnsResourceRecordFieldBuilder().getBuilder(),
-                  extensionRegistry);
+                break;
+              } // case 50
+            case 82:
+              {
+                input.readMessage(
+                    getDnsResourceRecordFieldBuilder().getBuilder(), extensionRegistry);
 
-              break;
-            } // case 82
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+                break;
+              } // case 82
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1942,10 +2113,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * A user-defined name of the dns authorization. DnsAuthorization names must
      * be unique globally and match pattern
@@ -1953,13 +2127,13 @@ public Builder mergeFrom(
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1968,6 +2142,8 @@ public java.lang.String getName() { } } /** + * + * *
      * A user-defined name of the dns authorization. DnsAuthorization names must
      * be unique globally and match pattern
@@ -1975,15 +2151,14 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1991,6 +2166,8 @@ public java.lang.String getName() { } } /** + * + * *
      * A user-defined name of the dns authorization. DnsAuthorization names must
      * be unique globally and match pattern
@@ -1998,20 +2175,22 @@ public java.lang.String getName() {
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * A user-defined name of the dns authorization. DnsAuthorization names must
      * be unique globally and match pattern
@@ -2019,15 +2198,18 @@ public Builder setName(
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * A user-defined name of the dns authorization. DnsAuthorization names must
      * be unique globally and match pattern
@@ -2035,16 +2217,16 @@ public Builder clearName() {
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2052,39 +2234,58 @@ public Builder setNameBytes( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + createTimeBuilder_; /** + * + * *
      * Output only. The creation timestamp of a DnsAuthorization.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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 a DnsAuthorization.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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 a DnsAuthorization.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { @@ -2100,14 +2301,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The creation timestamp of a DnsAuthorization.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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(); @@ -2118,17 +2322,21 @@ public Builder setCreateTime( return this; } /** + * + * *
      * Output only. The creation timestamp of a DnsAuthorization.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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; } @@ -2140,11 +2348,15 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The creation timestamp of a DnsAuthorization.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearCreateTime() { if (createTimeBuilder_ == null) { @@ -2158,48 +2370,64 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * Output only. The creation timestamp of a DnsAuthorization.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The creation timestamp of a DnsAuthorization.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.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 a DnsAuthorization.
      * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> 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_; @@ -2207,39 +2435,58 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + updateTimeBuilder_; /** + * + * *
      * Output only. The last update timestamp of a DnsAuthorization.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return updateTimeBuilder_ != null || updateTime_ != null; } /** + * + * *
      * Output only. The last update timestamp of a DnsAuthorization.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ public com.google.protobuf.Timestamp getUpdateTime() { if (updateTimeBuilder_ == null) { - return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } else { return updateTimeBuilder_.getMessage(); } } /** + * + * *
      * Output only. The last update timestamp of a DnsAuthorization.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { @@ -2255,14 +2502,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The last update timestamp of a DnsAuthorization.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setUpdateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (updateTimeBuilder_ == null) { updateTime_ = builderForValue.build(); onChanged(); @@ -2273,17 +2523,21 @@ public Builder setUpdateTime( return this; } /** + * + * *
      * Output only. The last update timestamp of a DnsAuthorization.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { if (updateTimeBuilder_ == null) { if (updateTime_ != null) { updateTime_ = - com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(updateTime_).mergeFrom(value).buildPartial(); } else { updateTime_ = value; } @@ -2295,11 +2549,15 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. The last update timestamp of a DnsAuthorization.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearUpdateTime() { if (updateTimeBuilder_ == null) { @@ -2313,69 +2571,84 @@ public Builder clearUpdateTime() { return this; } /** + * + * *
      * Output only. The last update timestamp of a DnsAuthorization.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() { - + onChanged(); return getUpdateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The last update timestamp of a DnsAuthorization.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { if (updateTimeBuilder_ != null) { return updateTimeBuilder_.getMessageOrBuilder(); } else { - return updateTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; + return updateTime_ == null + ? com.google.protobuf.Timestamp.getDefaultInstance() + : updateTime_; } } /** + * + * *
      * Output only. The last update timestamp of a DnsAuthorization.
      * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.protobuf.Timestamp update_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> getUpdateTimeFieldBuilder() { if (updateTimeBuilder_ == null) { - updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getUpdateTime(), - getParentForChildren(), - isClean()); + updateTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getUpdateTime(), getParentForChildren(), isClean()); updateTime_ = null; } return updateTimeBuilder_; } - 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(); @@ -2387,28 +2660,30 @@ public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Set of labels associated with a DnsAuthorization.
      * 
* * map<string, string> labels = 4; */ - @java.lang.Override - public boolean containsLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetLabels().getMap().containsKey(key); } - /** - * Use {@link #getLabelsMap()} instead. - */ + /** Use {@link #getLabelsMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getLabels() { return getLabelsMap(); } /** + * + * *
      * Set of labels associated with a DnsAuthorization.
      * 
@@ -2416,11 +2691,12 @@ public java.util.Map getLabels() { * map<string, string> labels = 4; */ @java.lang.Override - public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Set of labels associated with a DnsAuthorization.
      * 
@@ -2428,16 +2704,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 4; */ @java.lang.Override - public java.lang.String getLabelsOrDefault( - java.lang.String key, - java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String key, java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Set of labels associated with a DnsAuthorization.
      * 
@@ -2445,12 +2722,11 @@ public java.lang.String getLabelsOrDefault( * map<string, string> labels = 4; */ @java.lang.Override - - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } @@ -2458,81 +2734,80 @@ public java.lang.String getLabelsOrThrow( } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Set of labels associated with a DnsAuthorization.
      * 
* * map<string, string> labels = 4; */ - - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Set of labels associated with a DnsAuthorization.
      * 
* * map<string, string> labels = 4; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } if (value == null) { - throw new NullPointerException("map value"); -} + throw new NullPointerException("map value"); + } - internalGetMutableLabels().getMutableMap() - .put(key, value); + internalGetMutableLabels().getMutableMap().put(key, value); return this; } /** + * + * *
      * Set of labels associated with a DnsAuthorization.
      * 
* * map<string, string> labels = 4; */ - - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); return this; } private java.lang.Object description_ = ""; /** + * + * *
      * One or more paragraphs of text description of a DnsAuthorization.
      * 
* * string description = 5; + * * @return The description. */ public java.lang.String getDescription() { java.lang.Object ref = description_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); description_ = s; return s; @@ -2541,20 +2816,21 @@ public java.lang.String getDescription() { } } /** + * + * *
      * One or more paragraphs of text description of a DnsAuthorization.
      * 
* * string description = 5; + * * @return The bytes for description. */ - public com.google.protobuf.ByteString - getDescriptionBytes() { + public com.google.protobuf.ByteString getDescriptionBytes() { java.lang.Object ref = description_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); description_ = b; return b; } else { @@ -2562,54 +2838,61 @@ public java.lang.String getDescription() { } } /** + * + * *
      * One or more paragraphs of text description of a DnsAuthorization.
      * 
* * string description = 5; + * * @param value The description to set. * @return This builder for chaining. */ - public Builder setDescription( - java.lang.String value) { + public Builder setDescription(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + description_ = value; onChanged(); return this; } /** + * + * *
      * One or more paragraphs of text description of a DnsAuthorization.
      * 
* * string description = 5; + * * @return This builder for chaining. */ public Builder clearDescription() { - + description_ = getDefaultInstance().getDescription(); onChanged(); return this; } /** + * + * *
      * One or more paragraphs of text description of a DnsAuthorization.
      * 
* * string description = 5; + * * @param value The bytes for description to set. * @return This builder for chaining. */ - public Builder setDescriptionBytes( - com.google.protobuf.ByteString value) { + public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -2617,6 +2900,8 @@ public Builder setDescriptionBytes( private java.lang.Object domain_ = ""; /** + * + * *
      * Required. Immutable. A domain which is being authorized. A DnsAuthorization
      * resource covers a single domain and its wildcard, e.g. authorization for
@@ -2624,14 +2909,16 @@ public Builder setDescriptionBytes(
      * `*.example.com`.
      * 
* - * string domain = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string domain = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The domain. */ public java.lang.String getDomain() { java.lang.Object ref = domain_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domain_ = s; return s; @@ -2640,6 +2927,8 @@ public java.lang.String getDomain() { } } /** + * + * *
      * Required. Immutable. A domain which is being authorized. A DnsAuthorization
      * resource covers a single domain and its wildcard, e.g. authorization for
@@ -2647,16 +2936,17 @@ public java.lang.String getDomain() {
      * `*.example.com`.
      * 
* - * string domain = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string domain = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for domain. */ - public com.google.protobuf.ByteString - getDomainBytes() { + public com.google.protobuf.ByteString getDomainBytes() { java.lang.Object ref = domain_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domain_ = b; return b; } else { @@ -2664,6 +2954,8 @@ public java.lang.String getDomain() { } } /** + * + * *
      * Required. Immutable. A domain which is being authorized. A DnsAuthorization
      * resource covers a single domain and its wildcard, e.g. authorization for
@@ -2671,21 +2963,25 @@ public java.lang.String getDomain() {
      * `*.example.com`.
      * 
* - * string domain = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string domain = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The domain to set. * @return This builder for chaining. */ - public Builder setDomain( - java.lang.String value) { + public Builder setDomain(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + domain_ = value; onChanged(); return this; } /** + * + * *
      * Required. Immutable. A domain which is being authorized. A DnsAuthorization
      * resource covers a single domain and its wildcard, e.g. authorization for
@@ -2693,16 +2989,21 @@ public Builder setDomain(
      * `*.example.com`.
      * 
* - * string domain = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string domain = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return This builder for chaining. */ public Builder clearDomain() { - + domain_ = getDefaultInstance().getDomain(); onChanged(); return this; } /** + * + * *
      * Required. Immutable. A domain which is being authorized. A DnsAuthorization
      * resource covers a single domain and its wildcard, e.g. authorization for
@@ -2710,62 +3011,87 @@ public Builder clearDomain() {
      * `*.example.com`.
      * 
* - * string domain = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string domain = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @param value The bytes for domain to set. * @return This builder for chaining. */ - public Builder setDomainBytes( - com.google.protobuf.ByteString value) { + public Builder setDomainBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + domain_ = value; onChanged(); return this; } - private com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord dnsResourceRecord_; + private com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord + dnsResourceRecord_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord, com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord.Builder, com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecordOrBuilder> dnsResourceRecordBuilder_; + com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord, + com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord.Builder, + com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecordOrBuilder> + dnsResourceRecordBuilder_; /** + * + * *
      * Output only. DNS Resource Record that needs to be added to DNS
      * configuration.
      * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord dns_resource_record = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord dns_resource_record = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dnsResourceRecord field is set. */ public boolean hasDnsResourceRecord() { return dnsResourceRecordBuilder_ != null || dnsResourceRecord_ != null; } /** + * + * *
      * Output only. DNS Resource Record that needs to be added to DNS
      * configuration.
      * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord dns_resource_record = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord dns_resource_record = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The dnsResourceRecord. */ - public com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord getDnsResourceRecord() { + public com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord + getDnsResourceRecord() { if (dnsResourceRecordBuilder_ == null) { - return dnsResourceRecord_ == null ? com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord.getDefaultInstance() : dnsResourceRecord_; + return dnsResourceRecord_ == null + ? com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord + .getDefaultInstance() + : dnsResourceRecord_; } else { return dnsResourceRecordBuilder_.getMessage(); } } /** + * + * *
      * Output only. DNS Resource Record that needs to be added to DNS
      * configuration.
      * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord dns_resource_record = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord dns_resource_record = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setDnsResourceRecord(com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord value) { + public Builder setDnsResourceRecord( + com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord value) { if (dnsResourceRecordBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2779,15 +3105,20 @@ public Builder setDnsResourceRecord(com.google.cloud.certificatemanager.v1.DnsAu return this; } /** + * + * *
      * Output only. DNS Resource Record that needs to be added to DNS
      * configuration.
      * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord dns_resource_record = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord dns_resource_record = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDnsResourceRecord( - com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord.Builder builderForValue) { + com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord.Builder + builderForValue) { if (dnsResourceRecordBuilder_ == null) { dnsResourceRecord_ = builderForValue.build(); onChanged(); @@ -2798,18 +3129,26 @@ public Builder setDnsResourceRecord( return this; } /** + * + * *
      * Output only. DNS Resource Record that needs to be added to DNS
      * configuration.
      * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord dns_resource_record = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord dns_resource_record = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeDnsResourceRecord(com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord value) { + public Builder mergeDnsResourceRecord( + com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord value) { if (dnsResourceRecordBuilder_ == null) { if (dnsResourceRecord_ != null) { dnsResourceRecord_ = - com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord.newBuilder(dnsResourceRecord_).mergeFrom(value).buildPartial(); + com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord.newBuilder( + dnsResourceRecord_) + .mergeFrom(value) + .buildPartial(); } else { dnsResourceRecord_ = value; } @@ -2821,12 +3160,16 @@ public Builder mergeDnsResourceRecord(com.google.cloud.certificatemanager.v1.Dns return this; } /** + * + * *
      * Output only. DNS Resource Record that needs to be added to DNS
      * configuration.
      * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord dns_resource_record = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord dns_resource_record = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDnsResourceRecord() { if (dnsResourceRecordBuilder_ == null) { @@ -2840,58 +3183,77 @@ public Builder clearDnsResourceRecord() { return this; } /** + * + * *
      * Output only. DNS Resource Record that needs to be added to DNS
      * configuration.
      * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord dns_resource_record = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord dns_resource_record = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord.Builder getDnsResourceRecordBuilder() { - + public com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord.Builder + getDnsResourceRecordBuilder() { + onChanged(); return getDnsResourceRecordFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. DNS Resource Record that needs to be added to DNS
      * configuration.
      * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord dns_resource_record = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord dns_resource_record = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecordOrBuilder getDnsResourceRecordOrBuilder() { + public com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecordOrBuilder + getDnsResourceRecordOrBuilder() { if (dnsResourceRecordBuilder_ != null) { return dnsResourceRecordBuilder_.getMessageOrBuilder(); } else { - return dnsResourceRecord_ == null ? - com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord.getDefaultInstance() : dnsResourceRecord_; + return dnsResourceRecord_ == null + ? com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord + .getDefaultInstance() + : dnsResourceRecord_; } } /** + * + * *
      * Output only. DNS Resource Record that needs to be added to DNS
      * configuration.
      * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord dns_resource_record = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord dns_resource_record = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord, com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord.Builder, com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecordOrBuilder> + com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord, + com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord.Builder, + com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecordOrBuilder> getDnsResourceRecordFieldBuilder() { if (dnsResourceRecordBuilder_ == null) { - dnsResourceRecordBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord, com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord.Builder, com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecordOrBuilder>( - getDnsResourceRecord(), - getParentForChildren(), - isClean()); + dnsResourceRecordBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord, + com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord.Builder, + com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecordOrBuilder>( + getDnsResourceRecord(), getParentForChildren(), isClean()); dnsResourceRecord_ = null; } return dnsResourceRecordBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2901,12 +3263,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.DnsAuthorization) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.DnsAuthorization) private static final com.google.cloud.certificatemanager.v1.DnsAuthorization DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.DnsAuthorization(); } @@ -2915,27 +3277,27 @@ public static com.google.cloud.certificatemanager.v1.DnsAuthorization getDefault return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DnsAuthorization parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DnsAuthorization parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2950,6 +3312,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.certificatemanager.v1.DnsAuthorization getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationName.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationName.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationName.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationName.java diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationOrBuilder.java similarity index 66% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationOrBuilder.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationOrBuilder.java index 6335aeaa1dcb..7169afff2c4f 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationOrBuilder.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; -public interface DnsAuthorizationOrBuilder extends +public interface DnsAuthorizationOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.DnsAuthorization) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A user-defined name of the dns authorization. DnsAuthorization names must
    * be unique globally and match pattern
@@ -15,10 +33,13 @@ public interface DnsAuthorizationOrBuilder extends
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * A user-defined name of the dns authorization. DnsAuthorization names must
    * be unique globally and match pattern
@@ -26,66 +47,90 @@ public interface DnsAuthorizationOrBuilder extends
    * 
* * string name = 1; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. The creation timestamp of a DnsAuthorization.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * Output only. The creation timestamp of a DnsAuthorization.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * Output only. The creation timestamp of a DnsAuthorization.
    * 
* - * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * Output only. The last update timestamp of a DnsAuthorization.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * Output only. The last update timestamp of a DnsAuthorization.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * Output only. The last update timestamp of a DnsAuthorization.
    * 
* - * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** + * + * *
    * Set of labels associated with a DnsAuthorization.
    * 
@@ -94,30 +139,31 @@ public interface DnsAuthorizationOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Set of labels associated with a DnsAuthorization.
    * 
* * map<string, string> labels = 4; */ - 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 a DnsAuthorization.
    * 
* * map<string, string> labels = 4; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Set of labels associated with a DnsAuthorization.
    * 
@@ -126,42 +172,49 @@ boolean containsLabels( */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Set of labels associated with a DnsAuthorization.
    * 
* * map<string, string> labels = 4; */ - - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * One or more paragraphs of text description of a DnsAuthorization.
    * 
* * string description = 5; + * * @return The description. */ java.lang.String getDescription(); /** + * + * *
    * One or more paragraphs of text description of a DnsAuthorization.
    * 
* * string description = 5; + * * @return The bytes for description. */ - com.google.protobuf.ByteString - getDescriptionBytes(); + com.google.protobuf.ByteString getDescriptionBytes(); /** + * + * *
    * Required. Immutable. A domain which is being authorized. A DnsAuthorization
    * resource covers a single domain and its wildcard, e.g. authorization for
@@ -169,11 +222,16 @@ java.lang.String getLabelsOrThrow(
    * `*.example.com`.
    * 
* - * string domain = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string domain = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The domain. */ java.lang.String getDomain(); /** + * + * *
    * Required. Immutable. A domain which is being authorized. A DnsAuthorization
    * resource covers a single domain and its wildcard, e.g. authorization for
@@ -181,39 +239,56 @@ java.lang.String getLabelsOrThrow(
    * `*.example.com`.
    * 
* - * string domain = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * string domain = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE]; + * + * * @return The bytes for domain. */ - com.google.protobuf.ByteString - getDomainBytes(); + com.google.protobuf.ByteString getDomainBytes(); /** + * + * *
    * Output only. DNS Resource Record that needs to be added to DNS
    * configuration.
    * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord dns_resource_record = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord dns_resource_record = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the dnsResourceRecord field is set. */ boolean hasDnsResourceRecord(); /** + * + * *
    * Output only. DNS Resource Record that needs to be added to DNS
    * configuration.
    * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord dns_resource_record = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord dns_resource_record = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The dnsResourceRecord. */ com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord getDnsResourceRecord(); /** + * + * *
    * Output only. DNS Resource Record that needs to be added to DNS
    * configuration.
    * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord dns_resource_record = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord dns_resource_record = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecordOrBuilder getDnsResourceRecordOrBuilder(); + com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecordOrBuilder + getDnsResourceRecordOrBuilder(); } diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateIssuanceConfigRequest.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateIssuanceConfigRequest.java similarity index 53% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateIssuanceConfigRequest.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateIssuanceConfigRequest.java index d7394fd97e5b..628ed9058632 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateIssuanceConfigRequest.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateIssuanceConfigRequest.java @@ -1,62 +1,89 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_issuance_config.proto package com.google.cloud.certificatemanager.v1; /** + * + * *
  * Request for the `GetCertificateIssuanceConfig` method.
  * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest} */ -public final class GetCertificateIssuanceConfigRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetCertificateIssuanceConfigRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest) GetCertificateIssuanceConfigRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetCertificateIssuanceConfigRequest.newBuilder() to construct. - private GetCertificateIssuanceConfigRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private GetCertificateIssuanceConfigRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetCertificateIssuanceConfigRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetCertificateIssuanceConfigRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_GetCertificateIssuanceConfigRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_GetCertificateIssuanceConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_GetCertificateIssuanceConfigRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_GetCertificateIssuanceConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest.class, com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest.Builder.class); + com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest.class, + com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest.Builder + .class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. A name of the certificate issuance config to describe. Must be in
    * the format `projects/*/locations/*/certificateIssuanceConfigs/*`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -65,30 +92,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. A name of the certificate issuance config to describe. Must be in
    * the format `projects/*/locations/*/certificateIssuanceConfigs/*`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -97,6 +126,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +138,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -133,15 +162,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.certificatemanager.v1.GetCertificateIssuanceConfigRequest)) { + if (!(obj + instanceof com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest other = (com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest) obj; + com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest other = + (com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -160,130 +190,145 @@ public int hashCode() { return hash; } - public static com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); - } - public static com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); - } - public static com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest parseDelimitedFrom( - java.io.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.certificatemanager.v1.GetCertificateIssuanceConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); - } - public static com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest + parseDelimitedFrom( + java.io.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.certificatemanager.v1.GetCertificateIssuanceConfigRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 `GetCertificateIssuanceConfig` method.
    * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest) com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_GetCertificateIssuanceConfigRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_GetCertificateIssuanceConfigRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_GetCertificateIssuanceConfigRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_GetCertificateIssuanceConfigRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest.class, com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest.Builder.class); + com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest.class, + com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest.Builder + .class); } - // Construct using com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -293,19 +338,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_GetCertificateIssuanceConfigRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_GetCertificateIssuanceConfigRequest_descriptor; } @java.lang.Override - public com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest getDefaultInstanceForType() { - return com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest.getDefaultInstance(); + public com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest + getDefaultInstanceForType() { + return com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest build() { - com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest result = buildPartial(); + com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -313,8 +361,10 @@ public com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigReques } @java.lang.Override - public com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest buildPartial() { - com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest result = new com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest(this); + public com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest + buildPartial() { + com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest result = + new com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest(this); result.name_ = name_; onBuilt(); return result; @@ -324,46 +374,52 @@ public com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigReques public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest) { - return mergeFrom((com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest)other); + if (other + instanceof com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest) { + return mergeFrom( + (com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest other) { - if (other == com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest other) { + if (other + == com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -394,17 +450,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -417,19 +475,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. A name of the certificate issuance config to describe. Must be in
      * the format `projects/*/locations/*/certificateIssuanceConfigs/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -438,21 +500,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. A name of the certificate issuance config to describe. Must be in
      * the format `projects/*/locations/*/certificateIssuanceConfigs/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -460,64 +525,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. A name of the certificate issuance config to describe. Must be in
      * the format `projects/*/locations/*/certificateIssuanceConfigs/*`.
      * 
* - * string name = 1 [(.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. A name of the certificate issuance config to describe. Must be in
      * the format `projects/*/locations/*/certificateIssuanceConfigs/*`.
      * 
* - * string 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. A name of the certificate issuance config to describe. Must be in
      * the format `projects/*/locations/*/certificateIssuanceConfigs/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -527,41 +605,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest) - private static final com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest(); } - public static com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetCertificateIssuanceConfigRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCertificateIssuanceConfigRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -573,9 +654,8 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateIssuanceConfigRequestOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateIssuanceConfigRequestOrBuilder.java new file mode 100644 index 000000000000..a709604674f9 --- /dev/null +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateIssuanceConfigRequestOrBuilder.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/certificatemanager/v1/certificate_issuance_config.proto + +package com.google.cloud.certificatemanager.v1; + +public interface GetCertificateIssuanceConfigRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. A name of the certificate issuance config to describe. Must be in
+   * the format `projects/*/locations/*/certificateIssuanceConfigs/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. A name of the certificate issuance config to describe. Must be in
+   * the format `projects/*/locations/*/certificateIssuanceConfigs/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequest.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequest.java similarity index 60% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequest.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequest.java index a78078ec812c..751004287c52 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequest.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequest.java @@ -1,62 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; /** + * + * *
  * Request for the `GetCertificateMapEntry` method.
  * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest} */ -public final class GetCertificateMapEntryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetCertificateMapEntryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest) GetCertificateMapEntryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetCertificateMapEntryRequest.newBuilder() to construct. private GetCertificateMapEntryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetCertificateMapEntryRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetCertificateMapEntryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_GetCertificateMapEntryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_GetCertificateMapEntryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_GetCertificateMapEntryRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_GetCertificateMapEntryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest.class, com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest.Builder.class); + com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest.class, + com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. A name of the certificate map entry to describe. Must be in the
    * format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -65,30 +89,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. A name of the certificate map entry to describe. Must be in the
    * format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -97,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -133,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest other = (com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest) obj; + com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest other = + (com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -161,129 +187,138 @@ public int hashCode() { } public static com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest parseDelimitedFrom( - java.io.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.certificatemanager.v1.GetCertificateMapEntryRequest + parseDelimitedFrom( + java.io.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.certificatemanager.v1.GetCertificateMapEntryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 `GetCertificateMapEntry` method.
    * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest) com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_GetCertificateMapEntryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_GetCertificateMapEntryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_GetCertificateMapEntryRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_GetCertificateMapEntryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest.class, com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest.Builder.class); + com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest.class, + com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest.Builder.class); } - // Construct using com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -293,14 +328,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_GetCertificateMapEntryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_GetCertificateMapEntryRequest_descriptor; } @java.lang.Override - public com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest getDefaultInstanceForType() { - return com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest.getDefaultInstance(); + public com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest + getDefaultInstanceForType() { + return com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest + .getDefaultInstance(); } @java.lang.Override @@ -314,7 +351,8 @@ public com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest buil @java.lang.Override public com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest buildPartial() { - com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest result = new com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest(this); + com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest result = + new com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest(this); result.name_ = name_; onBuilt(); return result; @@ -324,46 +362,51 @@ public com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest 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.certificatemanager.v1.GetCertificateMapEntryRequest) { - return mergeFrom((com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest)other); + return mergeFrom( + (com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest other) { - if (other == com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest other) { + if (other + == com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest + .getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -394,17 +437,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -417,19 +462,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. A name of the certificate map entry to describe. Must be in the
      * format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -438,21 +487,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. A name of the certificate map entry to describe. Must be in the
      * format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -460,64 +512,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. A name of the certificate map entry to describe. Must be in the
      * format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
      * 
* - * string name = 1 [(.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. A name of the certificate map entry to describe. Must be in the
      * format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
      * 
* - * string 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. A name of the certificate map entry to describe. Must be in the
      * format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -527,41 +592,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest) - private static final com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest(); } - public static com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetCertificateMapEntryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCertificateMapEntryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -573,9 +640,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequestOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequestOrBuilder.java new file mode 100644 index 000000000000..c92150be745a --- /dev/null +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequestOrBuilder.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/certificatemanager/v1/certificate_manager.proto + +package com.google.cloud.certificatemanager.v1; + +public interface GetCertificateMapEntryRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. A name of the certificate map entry to describe. Must be in the
+   * format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. A name of the certificate map entry to describe. Must be in the
+   * format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequest.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequest.java similarity index 61% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequest.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequest.java index 9af72428ede7..469f73c4dff5 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequest.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequest.java @@ -1,62 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; /** + * + * *
  * Request for the `GetCertificateMap` method.
  * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.GetCertificateMapRequest} */ -public final class GetCertificateMapRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetCertificateMapRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.GetCertificateMapRequest) GetCertificateMapRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetCertificateMapRequest.newBuilder() to construct. private GetCertificateMapRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetCertificateMapRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetCertificateMapRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_GetCertificateMapRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_GetCertificateMapRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_GetCertificateMapRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_GetCertificateMapRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.GetCertificateMapRequest.class, com.google.cloud.certificatemanager.v1.GetCertificateMapRequest.Builder.class); + com.google.cloud.certificatemanager.v1.GetCertificateMapRequest.class, + com.google.cloud.certificatemanager.v1.GetCertificateMapRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. A name of the certificate map to describe. Must be in the format
    * `projects/*/locations/*/certificateMaps/*`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -65,30 +89,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. A name of the certificate map to describe. Must be in the format
    * `projects/*/locations/*/certificateMaps/*`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -97,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -133,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.certificatemanager.v1.GetCertificateMapRequest)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.GetCertificateMapRequest other = (com.google.cloud.certificatemanager.v1.GetCertificateMapRequest) obj; + com.google.cloud.certificatemanager.v1.GetCertificateMapRequest other = + (com.google.cloud.certificatemanager.v1.GetCertificateMapRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -161,129 +187,136 @@ public int hashCode() { } public static com.google.cloud.certificatemanager.v1.GetCertificateMapRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.GetCertificateMapRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.GetCertificateMapRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.GetCertificateMapRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.GetCertificateMapRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.GetCertificateMapRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.GetCertificateMapRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.GetCertificateMapRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.GetCertificateMapRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.GetCertificateMapRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.GetCertificateMapRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.GetCertificateMapRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.GetCertificateMapRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.GetCertificateMapRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.GetCertificateMapRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.GetCertificateMapRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.GetCertificateMapRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 `GetCertificateMap` method.
    * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.GetCertificateMapRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.GetCertificateMapRequest) com.google.cloud.certificatemanager.v1.GetCertificateMapRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_GetCertificateMapRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_GetCertificateMapRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_GetCertificateMapRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_GetCertificateMapRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.GetCertificateMapRequest.class, com.google.cloud.certificatemanager.v1.GetCertificateMapRequest.Builder.class); + com.google.cloud.certificatemanager.v1.GetCertificateMapRequest.class, + com.google.cloud.certificatemanager.v1.GetCertificateMapRequest.Builder.class); } // Construct using com.google.cloud.certificatemanager.v1.GetCertificateMapRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -293,13 +326,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_GetCertificateMapRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_GetCertificateMapRequest_descriptor; } @java.lang.Override - public com.google.cloud.certificatemanager.v1.GetCertificateMapRequest getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.GetCertificateMapRequest + getDefaultInstanceForType() { return com.google.cloud.certificatemanager.v1.GetCertificateMapRequest.getDefaultInstance(); } @@ -314,7 +348,8 @@ public com.google.cloud.certificatemanager.v1.GetCertificateMapRequest build() { @java.lang.Override public com.google.cloud.certificatemanager.v1.GetCertificateMapRequest buildPartial() { - com.google.cloud.certificatemanager.v1.GetCertificateMapRequest result = new com.google.cloud.certificatemanager.v1.GetCertificateMapRequest(this); + com.google.cloud.certificatemanager.v1.GetCertificateMapRequest result = + new com.google.cloud.certificatemanager.v1.GetCertificateMapRequest(this); result.name_ = name_; onBuilt(); return result; @@ -324,46 +359,50 @@ public com.google.cloud.certificatemanager.v1.GetCertificateMapRequest 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.certificatemanager.v1.GetCertificateMapRequest) { - return mergeFrom((com.google.cloud.certificatemanager.v1.GetCertificateMapRequest)other); + return mergeFrom((com.google.cloud.certificatemanager.v1.GetCertificateMapRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.certificatemanager.v1.GetCertificateMapRequest other) { - if (other == com.google.cloud.certificatemanager.v1.GetCertificateMapRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.certificatemanager.v1.GetCertificateMapRequest other) { + if (other + == com.google.cloud.certificatemanager.v1.GetCertificateMapRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -394,17 +433,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -417,19 +458,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. A name of the certificate map to describe. Must be in the format
      * `projects/*/locations/*/certificateMaps/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -438,21 +483,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. A name of the certificate map to describe. Must be in the format
      * `projects/*/locations/*/certificateMaps/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -460,64 +508,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. A name of the certificate map to describe. Must be in the format
      * `projects/*/locations/*/certificateMaps/*`.
      * 
* - * string name = 1 [(.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. A name of the certificate map to describe. Must be in the format
      * `projects/*/locations/*/certificateMaps/*`.
      * 
* - * string 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. A name of the certificate map to describe. Must be in the format
      * `projects/*/locations/*/certificateMaps/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -527,41 +588,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.GetCertificateMapRequest) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.GetCertificateMapRequest) - private static final com.google.cloud.certificatemanager.v1.GetCertificateMapRequest DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.GetCertificateMapRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.GetCertificateMapRequest(); } - public static com.google.cloud.certificatemanager.v1.GetCertificateMapRequest getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.GetCertificateMapRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetCertificateMapRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCertificateMapRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -573,9 +636,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.certificatemanager.v1.GetCertificateMapRequest getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.GetCertificateMapRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequestOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequestOrBuilder.java new file mode 100644 index 000000000000..7031a2cd1e37 --- /dev/null +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequestOrBuilder.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/certificatemanager/v1/certificate_manager.proto + +package com.google.cloud.certificatemanager.v1; + +public interface GetCertificateMapRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.GetCertificateMapRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. A name of the certificate map to describe. Must be in the format
+   * `projects/*/locations/*/certificateMaps/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. A name of the certificate map to describe. Must be in the format
+   * `projects/*/locations/*/certificateMaps/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequest.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequest.java similarity index 62% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequest.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequest.java index 70ec07f3c27a..eb50018737ab 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequest.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequest.java @@ -1,62 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; /** + * + * *
  * Request for the `GetCertificate` method.
  * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.GetCertificateRequest} */ -public final class GetCertificateRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetCertificateRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.GetCertificateRequest) GetCertificateRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetCertificateRequest.newBuilder() to construct. private GetCertificateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetCertificateRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetCertificateRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_GetCertificateRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_GetCertificateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_GetCertificateRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_GetCertificateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.GetCertificateRequest.class, com.google.cloud.certificatemanager.v1.GetCertificateRequest.Builder.class); + com.google.cloud.certificatemanager.v1.GetCertificateRequest.class, + com.google.cloud.certificatemanager.v1.GetCertificateRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. A name of the certificate to describe. Must be in the format
    * `projects/*/locations/*/certificates/*`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -65,30 +89,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. A name of the certificate to describe. Must be in the format
    * `projects/*/locations/*/certificates/*`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -97,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -133,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.certificatemanager.v1.GetCertificateRequest)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.GetCertificateRequest other = (com.google.cloud.certificatemanager.v1.GetCertificateRequest) obj; + com.google.cloud.certificatemanager.v1.GetCertificateRequest other = + (com.google.cloud.certificatemanager.v1.GetCertificateRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -161,129 +187,136 @@ public int hashCode() { } public static com.google.cloud.certificatemanager.v1.GetCertificateRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.GetCertificateRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.GetCertificateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.GetCertificateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.GetCertificateRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.GetCertificateRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.GetCertificateRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.GetCertificateRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.GetCertificateRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.GetCertificateRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.GetCertificateRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.GetCertificateRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.GetCertificateRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.GetCertificateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.GetCertificateRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.GetCertificateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 `GetCertificate` method.
    * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.GetCertificateRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.GetCertificateRequest) com.google.cloud.certificatemanager.v1.GetCertificateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_GetCertificateRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_GetCertificateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_GetCertificateRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_GetCertificateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.GetCertificateRequest.class, com.google.cloud.certificatemanager.v1.GetCertificateRequest.Builder.class); + com.google.cloud.certificatemanager.v1.GetCertificateRequest.class, + com.google.cloud.certificatemanager.v1.GetCertificateRequest.Builder.class); } // Construct using com.google.cloud.certificatemanager.v1.GetCertificateRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -293,13 +326,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_GetCertificateRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_GetCertificateRequest_descriptor; } @java.lang.Override - public com.google.cloud.certificatemanager.v1.GetCertificateRequest getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.GetCertificateRequest + getDefaultInstanceForType() { return com.google.cloud.certificatemanager.v1.GetCertificateRequest.getDefaultInstance(); } @@ -314,7 +348,8 @@ public com.google.cloud.certificatemanager.v1.GetCertificateRequest build() { @java.lang.Override public com.google.cloud.certificatemanager.v1.GetCertificateRequest buildPartial() { - com.google.cloud.certificatemanager.v1.GetCertificateRequest result = new com.google.cloud.certificatemanager.v1.GetCertificateRequest(this); + com.google.cloud.certificatemanager.v1.GetCertificateRequest result = + new com.google.cloud.certificatemanager.v1.GetCertificateRequest(this); result.name_ = name_; onBuilt(); return result; @@ -324,38 +359,39 @@ public com.google.cloud.certificatemanager.v1.GetCertificateRequest buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.certificatemanager.v1.GetCertificateRequest) { - return mergeFrom((com.google.cloud.certificatemanager.v1.GetCertificateRequest)other); + return mergeFrom((com.google.cloud.certificatemanager.v1.GetCertificateRequest) other); } else { super.mergeFrom(other); return this; @@ -363,7 +399,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.certificatemanager.v1.GetCertificateRequest other) { - if (other == com.google.cloud.certificatemanager.v1.GetCertificateRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.certificatemanager.v1.GetCertificateRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -394,17 +432,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -417,19 +457,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. A name of the certificate to describe. Must be in the format
      * `projects/*/locations/*/certificates/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -438,21 +482,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. A name of the certificate to describe. Must be in the format
      * `projects/*/locations/*/certificates/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -460,64 +507,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. A name of the certificate to describe. Must be in the format
      * `projects/*/locations/*/certificates/*`.
      * 
* - * string name = 1 [(.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. A name of the certificate to describe. Must be in the format
      * `projects/*/locations/*/certificates/*`.
      * 
* - * string 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. A name of the certificate to describe. Must be in the format
      * `projects/*/locations/*/certificates/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -527,12 +587,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.GetCertificateRequest) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.GetCertificateRequest) - private static final com.google.cloud.certificatemanager.v1.GetCertificateRequest DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.GetCertificateRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.GetCertificateRequest(); } @@ -541,27 +602,27 @@ public static com.google.cloud.certificatemanager.v1.GetCertificateRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetCertificateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetCertificateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -576,6 +637,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.certificatemanager.v1.GetCertificateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequestOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequestOrBuilder.java new file mode 100644 index 000000000000..36f7ef8f9d24 --- /dev/null +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequestOrBuilder.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/certificatemanager/v1/certificate_manager.proto + +package com.google.cloud.certificatemanager.v1; + +public interface GetCertificateRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.GetCertificateRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. A name of the certificate to describe. Must be in the format
+   * `projects/*/locations/*/certificates/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. A name of the certificate to describe. Must be in the format
+   * `projects/*/locations/*/certificates/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequest.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequest.java similarity index 60% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequest.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequest.java index fa1a4b90d13d..0b9d191b34d8 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequest.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequest.java @@ -1,62 +1,86 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; /** + * + * *
  * Request for the `GetDnsAuthorization` method.
  * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest} */ -public final class GetDnsAuthorizationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetDnsAuthorizationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest) GetDnsAuthorizationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetDnsAuthorizationRequest.newBuilder() to construct. private GetDnsAuthorizationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetDnsAuthorizationRequest() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetDnsAuthorizationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_GetDnsAuthorizationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_GetDnsAuthorizationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_GetDnsAuthorizationRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_GetDnsAuthorizationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest.class, com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest.Builder.class); + com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest.class, + com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Required. A name of the dns authorization to describe. Must be in the
    * format `projects/*/locations/*/dnsAuthorizations/*`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ @java.lang.Override @@ -65,30 +89,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. A name of the dns authorization to describe. Must be in the
    * format `projects/*/locations/*/dnsAuthorizations/*`.
    * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -97,6 +123,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +135,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -133,15 +159,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest other = (com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest) obj; + com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest other = + (com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -161,129 +187,138 @@ public int hashCode() { } public static com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest parseDelimitedFrom( - java.io.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.certificatemanager.v1.GetDnsAuthorizationRequest + parseDelimitedFrom( + java.io.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.certificatemanager.v1.GetDnsAuthorizationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 `GetDnsAuthorization` method.
    * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest) com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_GetDnsAuthorizationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_GetDnsAuthorizationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_GetDnsAuthorizationRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_GetDnsAuthorizationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest.class, com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest.Builder.class); + com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest.class, + com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest.Builder.class); } - // Construct using com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -293,13 +328,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_GetDnsAuthorizationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_GetDnsAuthorizationRequest_descriptor; } @java.lang.Override - public com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest + getDefaultInstanceForType() { return com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest.getDefaultInstance(); } @@ -314,7 +350,8 @@ public com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest build() @java.lang.Override public com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest buildPartial() { - com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest result = new com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest(this); + com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest result = + new com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest(this); result.name_ = name_; onBuilt(); return result; @@ -324,46 +361,50 @@ public com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest 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.certificatemanager.v1.GetDnsAuthorizationRequest) { - return mergeFrom((com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest)other); + return mergeFrom((com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest other) { - if (other == com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest other) { + if (other + == com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); @@ -394,17 +435,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -417,19 +460,23 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Required. A name of the dns authorization to describe. Must be in the
      * format `projects/*/locations/*/dnsAuthorizations/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -438,21 +485,24 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. A name of the dns authorization to describe. Must be in the
      * format `projects/*/locations/*/dnsAuthorizations/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -460,64 +510,77 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. A name of the dns authorization to describe. Must be in the
      * format `projects/*/locations/*/dnsAuthorizations/*`.
      * 
* - * string name = 1 [(.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. A name of the dns authorization to describe. Must be in the
      * format `projects/*/locations/*/dnsAuthorizations/*`.
      * 
* - * string 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. A name of the dns authorization to describe. Must be in the
      * format `projects/*/locations/*/dnsAuthorizations/*`.
      * 
* - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -527,41 +590,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest) - private static final com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest(); } - public static com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetDnsAuthorizationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetDnsAuthorizationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -573,9 +638,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequestOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequestOrBuilder.java new file mode 100644 index 000000000000..75ac691c04de --- /dev/null +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequestOrBuilder.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/certificatemanager/v1/certificate_manager.proto + +package com.google.cloud.certificatemanager.v1; + +public interface GetDnsAuthorizationRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. A name of the dns authorization to describe. Must be in the
+   * format `projects/*/locations/*/dnsAuthorizations/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. A name of the dns authorization to describe. Must be in the
+   * format `projects/*/locations/*/dnsAuthorizations/*`.
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateIssuanceConfigsRequest.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateIssuanceConfigsRequest.java similarity index 64% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateIssuanceConfigsRequest.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateIssuanceConfigsRequest.java index 8a65d6a203e3..21314429f7ee 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateIssuanceConfigsRequest.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateIssuanceConfigsRequest.java @@ -1,24 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_issuance_config.proto package com.google.cloud.certificatemanager.v1; /** + * + * *
  * Request for the `ListCertificateIssuanceConfigs` method.
  * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest} */ -public final class ListCertificateIssuanceConfigsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCertificateIssuanceConfigsRequest + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest) ListCertificateIssuanceConfigsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCertificateIssuanceConfigsRequest.newBuilder() to construct. - private ListCertificateIssuanceConfigsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListCertificateIssuanceConfigsRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCertificateIssuanceConfigsRequest() { parent_ = ""; pageToken_ = ""; @@ -28,38 +48,45 @@ private ListCertificateIssuanceConfigsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCertificateIssuanceConfigsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest.class, com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest.Builder.class); + com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest.class, + com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest.Builder + .class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The project and location from which the certificate should be
    * listed, 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 @@ -68,30 +95,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 the certificate should be
    * listed, 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 { @@ -102,11 +131,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Maximum number of certificate configs to return per call.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -117,6 +149,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The value returned by the last `ListCertificateIssuanceConfigsResponse`.
    * Indicates that this is a continuation of a prior
@@ -125,6 +159,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -133,14 +168,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The value returned by the last `ListCertificateIssuanceConfigsResponse`.
    * Indicates that this is a continuation of a prior
@@ -149,16 +185,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -169,11 +204,14 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * Filter expression to restrict the Certificates Configs returned.
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -182,29 +220,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Filter expression to restrict the Certificates Configs returned.
    * 
* * 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 { @@ -215,6 +253,8 @@ public java.lang.String getFilter() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** + * + * *
    * A list of Certificate Config field names used to specify the order of the
    * returned results. The default sorting order is ascending. To specify
@@ -222,6 +262,7 @@ public java.lang.String getFilter() {
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -230,14 +271,15 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * A list of Certificate Config field names used to specify the order of the
    * returned results. The default sorting order is ascending. To specify
@@ -245,16 +287,15 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -263,6 +304,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -274,8 +316,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -304,8 +345,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -324,23 +364,20 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest)) { + if (!(obj + instanceof com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest other = (com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest other = + (com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -367,130 +404,145 @@ public int hashCode() { return hash; } - public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest parseDelimitedFrom( - java.io.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.certificatemanager.v1.ListCertificateIssuanceConfigsRequest + parseDelimitedFrom( + java.io.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.certificatemanager.v1.ListCertificateIssuanceConfigsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 `ListCertificateIssuanceConfigs` method.
    * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest) com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest.class, com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest.Builder.class); + com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest.class, + com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest.Builder + .class); } - // Construct using com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -508,19 +560,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsRequest_descriptor; } @java.lang.Override - public com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest getDefaultInstanceForType() { - return com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest.getDefaultInstance(); + public com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest + getDefaultInstanceForType() { + return com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest build() { - com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest result = buildPartial(); + com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -528,8 +583,10 @@ public com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequ } @java.lang.Override - public com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest buildPartial() { - com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest result = new com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest(this); + public com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest + buildPartial() { + com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest result = + new com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -543,46 +600,52 @@ public com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequ public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest) { - return mergeFrom((com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest)other); + if (other + instanceof com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest) { + return mergeFrom( + (com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest other) { - if (other == com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest other) { + if (other + == com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -628,37 +691,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -671,19 +740,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The project and location from which the certificate should be
      * listed, 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; @@ -692,21 +765,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The project and location from which the certificate should be
      * listed, 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 { @@ -714,69 +790,85 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The project and location from which the certificate should be
      * listed, 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 the certificate should be
      * listed, 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 the certificate should be
      * listed, 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 certificate configs to return per call.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -784,30 +876,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Maximum number of certificate configs to return per call.
      * 
* * 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 certificate configs to return per call.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -815,6 +913,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The value returned by the last `ListCertificateIssuanceConfigsResponse`.
      * Indicates that this is a continuation of a prior
@@ -823,13 +923,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -838,6 +938,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The value returned by the last `ListCertificateIssuanceConfigsResponse`.
      * Indicates that this is a continuation of a prior
@@ -846,15 +948,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -862,6 +963,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The value returned by the last `ListCertificateIssuanceConfigsResponse`.
      * Indicates that this is a continuation of a prior
@@ -870,20 +973,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The value returned by the last `ListCertificateIssuanceConfigsResponse`.
      * Indicates that this is a continuation of a prior
@@ -892,15 +997,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The value returned by the last `ListCertificateIssuanceConfigsResponse`.
      * Indicates that this is a continuation of a prior
@@ -909,16 +1017,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -926,18 +1034,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Filter expression to restrict the Certificates Configs returned.
      * 
* * 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; @@ -946,20 +1056,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filter expression to restrict the Certificates Configs returned.
      * 
* * 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 { @@ -967,54 +1078,61 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filter expression to restrict the Certificates Configs returned.
      * 
* * 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 Certificates Configs returned.
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Filter expression to restrict the Certificates Configs returned.
      * 
* * 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; @@ -1022,6 +1140,8 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * A list of Certificate Config field names used to specify the order of the
      * returned results. The default sorting order is ascending. To specify
@@ -1029,13 +1149,13 @@ public Builder setFilterBytes(
      * 
* * string order_by = 5; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1044,6 +1164,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * A list of Certificate Config field names used to specify the order of the
      * returned results. The default sorting order is ascending. To specify
@@ -1051,15 +1173,14 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1067,6 +1188,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * A list of Certificate Config field names used to specify the order of the
      * returned results. The default sorting order is ascending. To specify
@@ -1074,20 +1197,22 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 5; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * A list of Certificate Config field names used to specify the order of the
      * returned results. The default sorting order is ascending. To specify
@@ -1095,15 +1220,18 @@ public Builder setOrderBy(
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * A list of Certificate Config field names used to specify the order of the
      * returned results. The default sorting order is ascending. To specify
@@ -1111,23 +1239,23 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 5; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = 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); } @@ -1137,41 +1265,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest) - private static final com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest(); } - public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCertificateIssuanceConfigsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCertificateIssuanceConfigsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1183,9 +1314,8 @@ public com.google.protobuf.Parser getPars } @java.lang.Override - public com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateIssuanceConfigsRequestOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateIssuanceConfigsRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateIssuanceConfigsRequestOrBuilder.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateIssuanceConfigsRequestOrBuilder.java index 6a0b28d47daa..3638ddcf7625 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateIssuanceConfigsRequestOrBuilder.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateIssuanceConfigsRequestOrBuilder.java @@ -1,45 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_issuance_config.proto package com.google.cloud.certificatemanager.v1; -public interface ListCertificateIssuanceConfigsRequestOrBuilder extends +public interface ListCertificateIssuanceConfigsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The project and location from which the certificate should be
    * listed, 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 the certificate should be
    * listed, 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 certificate configs to return per call.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The value returned by the last `ListCertificateIssuanceConfigsResponse`.
    * Indicates that this is a continuation of a prior
@@ -48,10 +78,13 @@ public interface ListCertificateIssuanceConfigsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The value returned by the last `ListCertificateIssuanceConfigsResponse`.
    * Indicates that this is a continuation of a prior
@@ -60,32 +93,39 @@ public interface ListCertificateIssuanceConfigsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Filter expression to restrict the Certificates Configs returned.
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Filter expression to restrict the Certificates Configs returned.
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * A list of Certificate Config field names used to specify the order of the
    * returned results. The default sorting order is ascending. To specify
@@ -93,10 +133,13 @@ public interface ListCertificateIssuanceConfigsRequestOrBuilder extends
    * 
* * string order_by = 5; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * A list of Certificate Config field names used to specify the order of the
    * returned results. The default sorting order is ascending. To specify
@@ -104,8 +147,8 @@ public interface ListCertificateIssuanceConfigsRequestOrBuilder extends
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateIssuanceConfigsResponse.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateIssuanceConfigsResponse.java similarity index 61% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateIssuanceConfigsResponse.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateIssuanceConfigsResponse.java index 5d2a31fc4e4b..78ffce677ae5 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateIssuanceConfigsResponse.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateIssuanceConfigsResponse.java @@ -1,24 +1,44 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_issuance_config.proto package com.google.cloud.certificatemanager.v1; /** + * + * *
  * Response for the `ListCertificateIssuanceConfigs` method.
  * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse} */ -public final class ListCertificateIssuanceConfigsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCertificateIssuanceConfigsResponse + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse) ListCertificateIssuanceConfigsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCertificateIssuanceConfigsResponse.newBuilder() to construct. - private ListCertificateIssuanceConfigsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListCertificateIssuanceConfigsResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCertificateIssuanceConfigsResponse() { certificateIssuanceConfigs_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,92 +47,120 @@ private ListCertificateIssuanceConfigsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCertificateIssuanceConfigsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsResponse_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse.class, com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse.Builder.class); + com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse.class, + com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse.Builder + .class); } public static final int CERTIFICATE_ISSUANCE_CONFIGS_FIELD_NUMBER = 1; - private java.util.List certificateIssuanceConfigs_; + private java.util.List + certificateIssuanceConfigs_; /** + * + * *
    * A list of certificate configs for the parent resource.
    * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * */ @java.lang.Override - public java.util.List getCertificateIssuanceConfigsList() { + public java.util.List + getCertificateIssuanceConfigsList() { return certificateIssuanceConfigs_; } /** + * + * *
    * A list of certificate configs for the parent resource.
    * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigOrBuilder> getCertificateIssuanceConfigsOrBuilderList() { return certificateIssuanceConfigs_; } /** + * + * *
    * A list of certificate configs for the parent resource.
    * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * */ @java.lang.Override public int getCertificateIssuanceConfigsCount() { return certificateIssuanceConfigs_.size(); } /** + * + * *
    * A list of certificate configs for the parent resource.
    * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig getCertificateIssuanceConfigs(int index) { + public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + getCertificateIssuanceConfigs(int index) { return certificateIssuanceConfigs_.get(index); } /** + * + * *
    * A list of certificate configs for the parent resource.
    * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigOrBuilder getCertificateIssuanceConfigsOrBuilder( - int index) { + public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigOrBuilder + getCertificateIssuanceConfigsOrBuilder(int index) { return certificateIssuanceConfigs_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * If there might be more results than those appearing in this response, then
    * `next_page_token` is included. To get the next set of results, call this
@@ -120,6 +168,7 @@ public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigOrBuilder
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -128,14 +177,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * If there might be more results than those appearing in this response, then
    * `next_page_token` is included. To get the next set of results, call this
@@ -143,16 +193,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -163,34 +212,42 @@ public java.lang.String getNextPageToken() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -198,20 +255,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -223,8 +283,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < certificateIssuanceConfigs_.size(); i++) { output.writeMessage(1, certificateIssuanceConfigs_.get(i)); } @@ -244,8 +303,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < certificateIssuanceConfigs_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, certificateIssuanceConfigs_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, certificateIssuanceConfigs_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -266,19 +326,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.certificatemanager.v1.ListCertificateIssuanceConfigsResponse)) { + if (!(obj + instanceof com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse other = (com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse) obj; + com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse other = + (com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse) obj; - if (!getCertificateIssuanceConfigsList() - .equals(other.getCertificateIssuanceConfigsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getCertificateIssuanceConfigsList().equals(other.getCertificateIssuanceConfigsList())) + return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -305,130 +365,145 @@ public int hashCode() { return hash; } - public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse parseDelimitedFrom( - java.io.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.certificatemanager.v1.ListCertificateIssuanceConfigsResponse + parseDelimitedFrom( + java.io.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.certificatemanager.v1.ListCertificateIssuanceConfigsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 `ListCertificateIssuanceConfigs` method.
    * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse) com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsResponse_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse.class, com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse.Builder.class); + com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse.class, + com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse.Builder + .class); } - // Construct using com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -447,19 +522,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsResponse_descriptor; } @java.lang.Override - public com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse getDefaultInstanceForType() { - return com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse.getDefaultInstance(); + public com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse + getDefaultInstanceForType() { + return com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse build() { - com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse result = buildPartial(); + com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -467,12 +545,15 @@ public com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResp } @java.lang.Override - public com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse buildPartial() { - com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse result = new com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse(this); + public com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse + buildPartial() { + com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse result = + new com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse(this); int from_bitField0_ = bitField0_; if (certificateIssuanceConfigsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { - certificateIssuanceConfigs_ = java.util.Collections.unmodifiableList(certificateIssuanceConfigs_); + certificateIssuanceConfigs_ = + java.util.Collections.unmodifiableList(certificateIssuanceConfigs_); bitField0_ = (bitField0_ & ~0x00000001); } result.certificateIssuanceConfigs_ = certificateIssuanceConfigs_; @@ -493,46 +574,53 @@ public com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResp public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse) { - return mergeFrom((com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse)other); + if (other + instanceof + com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse) { + return mergeFrom( + (com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse other) { - if (other == com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse other) { + if (other + == com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse + .getDefaultInstance()) return this; if (certificateIssuanceConfigsBuilder_ == null) { if (!other.certificateIssuanceConfigs_.isEmpty()) { if (certificateIssuanceConfigs_.isEmpty()) { @@ -551,9 +639,10 @@ public Builder mergeFrom(com.google.cloud.certificatemanager.v1.ListCertificateI certificateIssuanceConfigsBuilder_ = null; certificateIssuanceConfigs_ = other.certificateIssuanceConfigs_; bitField0_ = (bitField0_ & ~0x00000001); - certificateIssuanceConfigsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCertificateIssuanceConfigsFieldBuilder() : null; + certificateIssuanceConfigsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCertificateIssuanceConfigsFieldBuilder() + : null; } else { certificateIssuanceConfigsBuilder_.addAllMessages(other.certificateIssuanceConfigs_); } @@ -599,36 +688,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig m = - input.readMessage( - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.parser(), - extensionRegistry); - if (certificateIssuanceConfigsBuilder_ == null) { - ensureCertificateIssuanceConfigsIsMutable(); - certificateIssuanceConfigs_.add(m); - } else { - certificateIssuanceConfigsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: + { + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig m = + input.readMessage( + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.parser(), + extensionRegistry); + if (certificateIssuanceConfigsBuilder_ == null) { + ensureCertificateIssuanceConfigsIsMutable(); + certificateIssuanceConfigs_.add(m); + } else { + certificateIssuanceConfigsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -638,28 +731,41 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List certificateIssuanceConfigs_ = - java.util.Collections.emptyList(); + private java.util.List + certificateIssuanceConfigs_ = java.util.Collections.emptyList(); + private void ensureCertificateIssuanceConfigsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - certificateIssuanceConfigs_ = new java.util.ArrayList(certificateIssuanceConfigs_); + certificateIssuanceConfigs_ = + new java.util.ArrayList< + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig>( + certificateIssuanceConfigs_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig, com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Builder, com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigOrBuilder> certificateIssuanceConfigsBuilder_; + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Builder, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigOrBuilder> + certificateIssuanceConfigsBuilder_; /** + * + * *
      * A list of certificate configs for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * */ - public java.util.List getCertificateIssuanceConfigsList() { + public java.util.List + getCertificateIssuanceConfigsList() { if (certificateIssuanceConfigsBuilder_ == null) { return java.util.Collections.unmodifiableList(certificateIssuanceConfigs_); } else { @@ -667,11 +773,15 @@ public java.util.List * A list of certificate configs for the parent resource. *
* - * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * */ public int getCertificateIssuanceConfigsCount() { if (certificateIssuanceConfigsBuilder_ == null) { @@ -681,13 +791,18 @@ public int getCertificateIssuanceConfigsCount() { } } /** + * + * *
      * A list of certificate configs for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * */ - public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig getCertificateIssuanceConfigs(int index) { + public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + getCertificateIssuanceConfigs(int index) { if (certificateIssuanceConfigsBuilder_ == null) { return certificateIssuanceConfigs_.get(index); } else { @@ -695,11 +810,15 @@ public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig getCerti } } /** + * + * *
      * A list of certificate configs for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * */ public Builder setCertificateIssuanceConfigs( int index, com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig value) { @@ -716,14 +835,19 @@ public Builder setCertificateIssuanceConfigs( return this; } /** + * + * *
      * A list of certificate configs for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * */ public Builder setCertificateIssuanceConfigs( - int index, com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Builder builderForValue) { + int index, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Builder builderForValue) { if (certificateIssuanceConfigsBuilder_ == null) { ensureCertificateIssuanceConfigsIsMutable(); certificateIssuanceConfigs_.set(index, builderForValue.build()); @@ -734,13 +858,18 @@ public Builder setCertificateIssuanceConfigs( return this; } /** + * + * *
      * A list of certificate configs for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * */ - public Builder addCertificateIssuanceConfigs(com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig value) { + public Builder addCertificateIssuanceConfigs( + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig value) { if (certificateIssuanceConfigsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -754,11 +883,15 @@ public Builder addCertificateIssuanceConfigs(com.google.cloud.certificatemanager return this; } /** + * + * *
      * A list of certificate configs for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * */ public Builder addCertificateIssuanceConfigs( int index, com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig value) { @@ -775,11 +908,15 @@ public Builder addCertificateIssuanceConfigs( return this; } /** + * + * *
      * A list of certificate configs for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * */ public Builder addCertificateIssuanceConfigs( com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Builder builderForValue) { @@ -793,14 +930,19 @@ public Builder addCertificateIssuanceConfigs( return this; } /** + * + * *
      * A list of certificate configs for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * */ public Builder addCertificateIssuanceConfigs( - int index, com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Builder builderForValue) { + int index, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Builder builderForValue) { if (certificateIssuanceConfigsBuilder_ == null) { ensureCertificateIssuanceConfigsIsMutable(); certificateIssuanceConfigs_.add(index, builderForValue.build()); @@ -811,18 +953,23 @@ public Builder addCertificateIssuanceConfigs( return this; } /** + * + * *
      * A list of certificate configs for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * */ public Builder addAllCertificateIssuanceConfigs( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig> + values) { if (certificateIssuanceConfigsBuilder_ == null) { ensureCertificateIssuanceConfigsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, certificateIssuanceConfigs_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, certificateIssuanceConfigs_); onChanged(); } else { certificateIssuanceConfigsBuilder_.addAllMessages(values); @@ -830,11 +977,15 @@ public Builder addAllCertificateIssuanceConfigs( return this; } /** + * + * *
      * A list of certificate configs for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * */ public Builder clearCertificateIssuanceConfigs() { if (certificateIssuanceConfigsBuilder_ == null) { @@ -847,11 +998,15 @@ public Builder clearCertificateIssuanceConfigs() { return this; } /** + * + * *
      * A list of certificate configs for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * */ public Builder removeCertificateIssuanceConfigs(int index) { if (certificateIssuanceConfigsBuilder_ == null) { @@ -864,39 +1019,53 @@ public Builder removeCertificateIssuanceConfigs(int index) { return this; } /** + * + * *
      * A list of certificate configs for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * */ - public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Builder getCertificateIssuanceConfigsBuilder( - int index) { + public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Builder + getCertificateIssuanceConfigsBuilder(int index) { return getCertificateIssuanceConfigsFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of certificate configs for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * */ - public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigOrBuilder getCertificateIssuanceConfigsOrBuilder( - int index) { + public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigOrBuilder + getCertificateIssuanceConfigsOrBuilder(int index) { if (certificateIssuanceConfigsBuilder_ == null) { - return certificateIssuanceConfigs_.get(index); } else { + return certificateIssuanceConfigs_.get(index); + } else { return certificateIssuanceConfigsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of certificate configs for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * */ - public java.util.List - getCertificateIssuanceConfigsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigOrBuilder> + getCertificateIssuanceConfigsOrBuilderList() { if (certificateIssuanceConfigsBuilder_ != null) { return certificateIssuanceConfigsBuilder_.getMessageOrBuilderList(); } else { @@ -904,45 +1073,69 @@ public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigOrBuilder } } /** + * + * *
      * A list of certificate configs for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * */ - public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Builder addCertificateIssuanceConfigsBuilder() { - return getCertificateIssuanceConfigsFieldBuilder().addBuilder( - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.getDefaultInstance()); + public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Builder + addCertificateIssuanceConfigsBuilder() { + return getCertificateIssuanceConfigsFieldBuilder() + .addBuilder( + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .getDefaultInstance()); } /** + * + * *
      * A list of certificate configs for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * */ - public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Builder addCertificateIssuanceConfigsBuilder( - int index) { - return getCertificateIssuanceConfigsFieldBuilder().addBuilder( - index, com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.getDefaultInstance()); + public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Builder + addCertificateIssuanceConfigsBuilder(int index) { + return getCertificateIssuanceConfigsFieldBuilder() + .addBuilder( + index, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig + .getDefaultInstance()); } /** + * + * *
      * A list of certificate configs for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * */ - public java.util.List - getCertificateIssuanceConfigsBuilderList() { + public java.util.List + getCertificateIssuanceConfigsBuilderList() { return getCertificateIssuanceConfigsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig, com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Builder, com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigOrBuilder> + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Builder, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigOrBuilder> getCertificateIssuanceConfigsFieldBuilder() { if (certificateIssuanceConfigsBuilder_ == null) { - certificateIssuanceConfigsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig, com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Builder, com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigOrBuilder>( + certificateIssuanceConfigsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Builder, + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigOrBuilder>( certificateIssuanceConfigs_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -954,6 +1147,8 @@ public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Builder private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * If there might be more results than those appearing in this response, then
      * `next_page_token` is included. To get the next set of results, call this
@@ -961,13 +1156,13 @@ public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.Builder
      * 
* * 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; @@ -976,6 +1171,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If there might be more results than those appearing in this response, then
      * `next_page_token` is included. To get the next set of results, call this
@@ -983,15 +1180,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -999,6 +1195,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If there might be more results than those appearing in this response, then
      * `next_page_token` is included. To get the next set of results, call this
@@ -1006,20 +1204,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * If there might be more results than those appearing in this response, then
      * `next_page_token` is included. To get the next set of results, call this
@@ -1027,15 +1227,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * If there might be more results than those appearing in this response, then
      * `next_page_token` is included. To get the next set of results, call this
@@ -1043,57 +1246,67 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList unreachable_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1101,80 +1314,90 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { + public Builder setUnreachable(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { + public Builder addUnreachable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1184,28 +1407,30 @@ public Builder clearUnreachable() { return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1215,41 +1440,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse) - private static final com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse(); + DEFAULT_INSTANCE = + new com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse(); } - public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCertificateIssuanceConfigsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCertificateIssuanceConfigsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1261,9 +1489,8 @@ public com.google.protobuf.Parser getPar } @java.lang.Override - public com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateIssuanceConfigsResponseOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateIssuanceConfigsResponseOrBuilder.java similarity index 61% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateIssuanceConfigsResponseOrBuilder.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateIssuanceConfigsResponseOrBuilder.java index a35aadbf87c1..5a787552eb47 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateIssuanceConfigsResponseOrBuilder.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateIssuanceConfigsResponseOrBuilder.java @@ -1,57 +1,97 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_issuance_config.proto package com.google.cloud.certificatemanager.v1; -public interface ListCertificateIssuanceConfigsResponseOrBuilder extends +public interface ListCertificateIssuanceConfigsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of certificate configs for the parent resource.
    * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * */ - java.util.List + java.util.List getCertificateIssuanceConfigsList(); /** + * + * *
    * A list of certificate configs for the parent resource.
    * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * */ - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig getCertificateIssuanceConfigs(int index); + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig getCertificateIssuanceConfigs( + int index); /** + * + * *
    * A list of certificate configs for the parent resource.
    * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * */ int getCertificateIssuanceConfigsCount(); /** + * + * *
    * A list of certificate configs for the parent resource.
    * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigOrBuilder> getCertificateIssuanceConfigsOrBuilderList(); /** + * + * *
    * A list of certificate configs for the parent resource.
    * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateIssuanceConfig certificate_issuance_configs = 1; + * */ - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigOrBuilder getCertificateIssuanceConfigsOrBuilder( - int index); + com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigOrBuilder + getCertificateIssuanceConfigsOrBuilder(int index); /** + * + * *
    * If there might be more results than those appearing in this response, then
    * `next_page_token` is included. To get the next set of results, call this
@@ -59,10 +99,13 @@ com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigOrBuilder getCer
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * If there might be more results than those appearing in this response, then
    * `next_page_token` is included. To get the next set of results, call this
@@ -70,49 +113,59 @@ com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigOrBuilder getCer
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequest.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequest.java similarity index 68% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequest.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequest.java index 45a3951ff096..4607760acf2a 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequest.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequest.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/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; /** + * + * *
  * Request for the `ListCertificateMapEntries` method.
  * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest} */ -public final class ListCertificateMapEntriesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCertificateMapEntriesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest) ListCertificateMapEntriesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCertificateMapEntriesRequest.newBuilder() to construct. - private ListCertificateMapEntriesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListCertificateMapEntriesRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCertificateMapEntriesRequest() { parent_ = ""; pageToken_ = ""; @@ -28,39 +47,45 @@ private ListCertificateMapEntriesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCertificateMapEntriesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest.class, com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest.Builder.class); + com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest.class, + com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The project, location and certificate map from which the
    * certificate map entries should be listed, specified in the format
    * `projects/*/locations/*/certificateMaps/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The parent. */ @java.lang.Override @@ -69,31 +94,33 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The project, location and certificate map from which the
    * certificate map entries should be listed, specified in the format
    * `projects/*/locations/*/certificateMaps/*`.
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString - getParentBytes() { + public com.google.protobuf.ByteString getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); parent_ = b; return b; } else { @@ -104,6 +131,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Maximum number of certificate map entries to return. The service may return
    * fewer than this value.
@@ -112,6 +141,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -122,6 +152,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The value returned by the last `ListCertificateMapEntriesResponse`.
    * Indicates that this is a continuation of a prior
@@ -130,6 +162,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -138,14 +171,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The value returned by the last `ListCertificateMapEntriesResponse`.
    * Indicates that this is a continuation of a prior
@@ -154,16 +188,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -174,11 +207,14 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * Filter expression to restrict the returned Certificate Map Entries.
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -187,29 +223,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Filter expression to restrict the returned Certificate Map Entries.
    * 
* * 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 { @@ -220,6 +256,8 @@ public java.lang.String getFilter() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** + * + * *
    * A list of Certificate Map Entry field names used to specify
    * the order of the returned results. The default sorting order is ascending.
@@ -227,6 +265,7 @@ public java.lang.String getFilter() {
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -235,14 +274,15 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * A list of Certificate Map Entry field names used to specify
    * the order of the returned results. The default sorting order is ascending.
@@ -250,16 +290,15 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -268,6 +307,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -279,8 +319,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -309,8 +348,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -329,23 +367,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.certificatemanager.v1.ListCertificateMapEntriesRequest)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest other = (com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest other = + (com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -373,129 +407,139 @@ public int hashCode() { } public static com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest parseDelimitedFrom( - java.io.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.certificatemanager.v1.ListCertificateMapEntriesRequest + parseDelimitedFrom( + java.io.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.certificatemanager.v1.ListCertificateMapEntriesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 `ListCertificateMapEntries` method.
    * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest) com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest.class, com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest.Builder.class); + com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest.class, + com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest.Builder + .class); } - // Construct using com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -513,19 +557,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesRequest_descriptor; } @java.lang.Override - public com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest getDefaultInstanceForType() { - return com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest.getDefaultInstance(); + public com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest + getDefaultInstanceForType() { + return com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest build() { - com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest result = buildPartial(); + com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -534,7 +581,8 @@ public com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest b @java.lang.Override public com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest buildPartial() { - com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest result = new com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest(this); + com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest result = + new com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -548,46 +596,52 @@ public com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest) { - return mergeFrom((com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest)other); + if (other + instanceof com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest) { + return mergeFrom( + (com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest other) { - if (other == com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest other) { + if (other + == com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -633,37 +687,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -676,20 +736,24 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The project, location and certificate map from which the
      * certificate map entries should be listed, specified in the format
      * `projects/*/locations/*/certificateMaps/*`.
      * 
* - * string parent = 1 [(.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; @@ -698,22 +762,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The project, location and certificate map from which the
      * certificate map entries should be listed, specified in the format
      * `projects/*/locations/*/certificateMaps/*`.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -721,67 +788,82 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The project, location and certificate map from which the
      * certificate map entries should be listed, specified in the format
      * `projects/*/locations/*/certificateMaps/*`.
      * 
* - * string parent = 1 [(.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, location and certificate map from which the
      * certificate map entries should be listed, specified in the format
      * `projects/*/locations/*/certificateMaps/*`.
      * 
* - * string 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, location and certificate map from which the
      * certificate map entries should be listed, specified in the format
      * `projects/*/locations/*/certificateMaps/*`.
      * 
* - * string parent = 1 [(.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 certificate map entries to return. The service may return
      * fewer than this value.
@@ -790,6 +872,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -797,6 +880,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Maximum number of certificate map entries to return. The service may return
      * fewer than this value.
@@ -805,16 +890,19 @@ public int getPageSize() {
      * 
* * 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 certificate map entries to return. The service may return
      * fewer than this value.
@@ -823,10 +911,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -834,6 +923,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The value returned by the last `ListCertificateMapEntriesResponse`.
      * Indicates that this is a continuation of a prior
@@ -842,13 +933,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -857,6 +948,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The value returned by the last `ListCertificateMapEntriesResponse`.
      * Indicates that this is a continuation of a prior
@@ -865,15 +958,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -881,6 +973,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The value returned by the last `ListCertificateMapEntriesResponse`.
      * Indicates that this is a continuation of a prior
@@ -889,20 +983,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The value returned by the last `ListCertificateMapEntriesResponse`.
      * Indicates that this is a continuation of a prior
@@ -911,15 +1007,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The value returned by the last `ListCertificateMapEntriesResponse`.
      * Indicates that this is a continuation of a prior
@@ -928,16 +1027,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -945,18 +1044,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Filter expression to restrict the returned Certificate Map Entries.
      * 
* * 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; @@ -965,20 +1066,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filter expression to restrict the returned Certificate Map Entries.
      * 
* * 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 { @@ -986,54 +1088,61 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filter expression to restrict the returned Certificate Map Entries.
      * 
* * 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 returned Certificate Map Entries.
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Filter expression to restrict the returned Certificate Map Entries.
      * 
* * 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; @@ -1041,6 +1150,8 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * A list of Certificate Map Entry field names used to specify
      * the order of the returned results. The default sorting order is ascending.
@@ -1048,13 +1159,13 @@ public Builder setFilterBytes(
      * 
* * string order_by = 5; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1063,6 +1174,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * A list of Certificate Map Entry field names used to specify
      * the order of the returned results. The default sorting order is ascending.
@@ -1070,15 +1183,14 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1086,6 +1198,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * A list of Certificate Map Entry field names used to specify
      * the order of the returned results. The default sorting order is ascending.
@@ -1093,20 +1207,22 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 5; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * A list of Certificate Map Entry field names used to specify
      * the order of the returned results. The default sorting order is ascending.
@@ -1114,15 +1230,18 @@ public Builder setOrderBy(
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * A list of Certificate Map Entry field names used to specify
      * the order of the returned results. The default sorting order is ascending.
@@ -1130,23 +1249,23 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 5; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = 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,41 +1275,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest) - private static final com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest(); } - public static com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCertificateMapEntriesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCertificateMapEntriesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1202,9 +1324,8 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequestOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequestOrBuilder.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequestOrBuilder.java index 21e9dfe2175e..35ba6f22e2f6 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequestOrBuilder.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequestOrBuilder.java @@ -1,37 +1,64 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; -public interface ListCertificateMapEntriesRequestOrBuilder extends +public interface ListCertificateMapEntriesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The project, location and certificate map from which the
    * certificate map entries should be listed, specified in the format
    * `projects/*/locations/*/certificateMaps/*`.
    * 
* - * string parent = 1 [(.google.api.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, location and certificate map from which the
    * certificate map entries should be listed, specified in the format
    * `projects/*/locations/*/certificateMaps/*`.
    * 
* - * string parent = 1 [(.google.api.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 certificate map entries to return. The service may return
    * fewer than this value.
@@ -40,11 +67,14 @@ public interface ListCertificateMapEntriesRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The value returned by the last `ListCertificateMapEntriesResponse`.
    * Indicates that this is a continuation of a prior
@@ -53,10 +83,13 @@ public interface ListCertificateMapEntriesRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The value returned by the last `ListCertificateMapEntriesResponse`.
    * Indicates that this is a continuation of a prior
@@ -65,32 +98,39 @@ public interface ListCertificateMapEntriesRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Filter expression to restrict the returned Certificate Map Entries.
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Filter expression to restrict the returned Certificate Map Entries.
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * A list of Certificate Map Entry field names used to specify
    * the order of the returned results. The default sorting order is ascending.
@@ -98,10 +138,13 @@ public interface ListCertificateMapEntriesRequestOrBuilder extends
    * 
* * string order_by = 5; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * A list of Certificate Map Entry field names used to specify
    * the order of the returned results. The default sorting order is ascending.
@@ -109,8 +152,8 @@ public interface ListCertificateMapEntriesRequestOrBuilder extends
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponse.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponse.java similarity index 64% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponse.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponse.java index 96fcdb1a6771..7257a070f104 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponse.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponse.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/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; /** + * + * *
  * Response for the `ListCertificateMapEntries` method.
  * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse} */ -public final class ListCertificateMapEntriesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCertificateMapEntriesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse) ListCertificateMapEntriesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCertificateMapEntriesResponse.newBuilder() to construct. - private ListCertificateMapEntriesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private ListCertificateMapEntriesResponse( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCertificateMapEntriesResponse() { certificateMapEntries_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,92 +46,119 @@ private ListCertificateMapEntriesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCertificateMapEntriesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesResponse_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse.class, com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse.Builder.class); + com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse.class, + com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse.Builder.class); } public static final int CERTIFICATE_MAP_ENTRIES_FIELD_NUMBER = 1; - private java.util.List certificateMapEntries_; + private java.util.List + certificateMapEntries_; /** + * + * *
    * A list of certificate map entries for the parent resource.
    * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * */ @java.lang.Override - public java.util.List getCertificateMapEntriesList() { + public java.util.List + getCertificateMapEntriesList() { return certificateMapEntries_; } /** + * + * *
    * A list of certificate map entries for the parent resource.
    * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder> getCertificateMapEntriesOrBuilderList() { return certificateMapEntries_; } /** + * + * *
    * A list of certificate map entries for the parent resource.
    * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * */ @java.lang.Override public int getCertificateMapEntriesCount() { return certificateMapEntries_.size(); } /** + * + * *
    * A list of certificate map entries for the parent resource.
    * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.CertificateMapEntry getCertificateMapEntries(int index) { + public com.google.cloud.certificatemanager.v1.CertificateMapEntry getCertificateMapEntries( + int index) { return certificateMapEntries_.get(index); } /** + * + * *
    * A list of certificate map entries for the parent resource.
    * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder getCertificateMapEntriesOrBuilder( - int index) { + public com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder + getCertificateMapEntriesOrBuilder(int index) { return certificateMapEntries_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * If there might be more results than those appearing in this response, then
    * `next_page_token` is included. To get the next set of results, call this
@@ -120,6 +166,7 @@ public com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder getCe
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -128,14 +175,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * If there might be more results than those appearing in this response, then
    * `next_page_token` is included. To get the next set of results, call this
@@ -143,16 +191,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -163,34 +210,42 @@ public java.lang.String getNextPageToken() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -198,20 +253,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -223,8 +281,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < certificateMapEntries_.size(); i++) { output.writeMessage(1, certificateMapEntries_.get(i)); } @@ -244,8 +301,9 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < certificateMapEntries_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, certificateMapEntries_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, certificateMapEntries_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -266,19 +324,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.certificatemanager.v1.ListCertificateMapEntriesResponse)) { + if (!(obj + instanceof com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse other = (com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse) obj; + com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse other = + (com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse) obj; - if (!getCertificateMapEntriesList() - .equals(other.getCertificateMapEntriesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getCertificateMapEntriesList().equals(other.getCertificateMapEntriesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -306,129 +363,139 @@ public int hashCode() { } public static com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse parseDelimitedFrom( - java.io.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.certificatemanager.v1.ListCertificateMapEntriesResponse + parseDelimitedFrom( + java.io.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.certificatemanager.v1.ListCertificateMapEntriesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 `ListCertificateMapEntries` method.
    * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse) com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesResponse_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse.class, com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse.Builder.class); + com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse.class, + com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse.Builder + .class); } - // Construct using com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -447,19 +514,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesResponse_descriptor; } @java.lang.Override - public com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse getDefaultInstanceForType() { - return com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse.getDefaultInstance(); + public com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse + getDefaultInstanceForType() { + return com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse build() { - com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse result = buildPartial(); + com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -468,7 +538,8 @@ public com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse @java.lang.Override public com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse buildPartial() { - com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse result = new com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse(this); + com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse result = + new com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse(this); int from_bitField0_ = bitField0_; if (certificateMapEntriesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -493,46 +564,52 @@ public com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse) { - return mergeFrom((com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse)other); + if (other + instanceof com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse) { + return mergeFrom( + (com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse other) { - if (other == com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse other) { + if (other + == com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse + .getDefaultInstance()) return this; if (certificateMapEntriesBuilder_ == null) { if (!other.certificateMapEntries_.isEmpty()) { if (certificateMapEntries_.isEmpty()) { @@ -551,9 +628,10 @@ public Builder mergeFrom(com.google.cloud.certificatemanager.v1.ListCertificateM certificateMapEntriesBuilder_ = null; certificateMapEntries_ = other.certificateMapEntries_; bitField0_ = (bitField0_ & ~0x00000001); - certificateMapEntriesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCertificateMapEntriesFieldBuilder() : null; + certificateMapEntriesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCertificateMapEntriesFieldBuilder() + : null; } else { certificateMapEntriesBuilder_.addAllMessages(other.certificateMapEntries_); } @@ -599,36 +677,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.certificatemanager.v1.CertificateMapEntry m = - input.readMessage( - com.google.cloud.certificatemanager.v1.CertificateMapEntry.parser(), - extensionRegistry); - if (certificateMapEntriesBuilder_ == null) { - ensureCertificateMapEntriesIsMutable(); - certificateMapEntries_.add(m); - } else { - certificateMapEntriesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: + { + com.google.cloud.certificatemanager.v1.CertificateMapEntry m = + input.readMessage( + com.google.cloud.certificatemanager.v1.CertificateMapEntry.parser(), + extensionRegistry); + if (certificateMapEntriesBuilder_ == null) { + ensureCertificateMapEntriesIsMutable(); + certificateMapEntries_.add(m); + } else { + certificateMapEntriesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -638,28 +720,40 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List certificateMapEntries_ = - java.util.Collections.emptyList(); + private java.util.List + certificateMapEntries_ = java.util.Collections.emptyList(); + private void ensureCertificateMapEntriesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - certificateMapEntries_ = new java.util.ArrayList(certificateMapEntries_); + certificateMapEntries_ = + new java.util.ArrayList( + certificateMapEntries_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.certificatemanager.v1.CertificateMapEntry, com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder, com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder> certificateMapEntriesBuilder_; + com.google.cloud.certificatemanager.v1.CertificateMapEntry, + com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder, + com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder> + certificateMapEntriesBuilder_; /** + * + * *
      * A list of certificate map entries for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * */ - public java.util.List getCertificateMapEntriesList() { + public java.util.List + getCertificateMapEntriesList() { if (certificateMapEntriesBuilder_ == null) { return java.util.Collections.unmodifiableList(certificateMapEntries_); } else { @@ -667,11 +761,15 @@ public java.util.List * A list of certificate map entries for the parent resource. *
* - * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * */ public int getCertificateMapEntriesCount() { if (certificateMapEntriesBuilder_ == null) { @@ -681,13 +779,18 @@ public int getCertificateMapEntriesCount() { } } /** + * + * *
      * A list of certificate map entries for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * */ - public com.google.cloud.certificatemanager.v1.CertificateMapEntry getCertificateMapEntries(int index) { + public com.google.cloud.certificatemanager.v1.CertificateMapEntry getCertificateMapEntries( + int index) { if (certificateMapEntriesBuilder_ == null) { return certificateMapEntries_.get(index); } else { @@ -695,11 +798,15 @@ public com.google.cloud.certificatemanager.v1.CertificateMapEntry getCertificate } } /** + * + * *
      * A list of certificate map entries for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * */ public Builder setCertificateMapEntries( int index, com.google.cloud.certificatemanager.v1.CertificateMapEntry value) { @@ -716,14 +823,19 @@ public Builder setCertificateMapEntries( return this; } /** + * + * *
      * A list of certificate map entries for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * */ public Builder setCertificateMapEntries( - int index, com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder builderForValue) { + int index, + com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder builderForValue) { if (certificateMapEntriesBuilder_ == null) { ensureCertificateMapEntriesIsMutable(); certificateMapEntries_.set(index, builderForValue.build()); @@ -734,13 +846,18 @@ public Builder setCertificateMapEntries( return this; } /** + * + * *
      * A list of certificate map entries for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * */ - public Builder addCertificateMapEntries(com.google.cloud.certificatemanager.v1.CertificateMapEntry value) { + public Builder addCertificateMapEntries( + com.google.cloud.certificatemanager.v1.CertificateMapEntry value) { if (certificateMapEntriesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -754,11 +871,15 @@ public Builder addCertificateMapEntries(com.google.cloud.certificatemanager.v1.C return this; } /** + * + * *
      * A list of certificate map entries for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * */ public Builder addCertificateMapEntries( int index, com.google.cloud.certificatemanager.v1.CertificateMapEntry value) { @@ -775,11 +896,15 @@ public Builder addCertificateMapEntries( return this; } /** + * + * *
      * A list of certificate map entries for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * */ public Builder addCertificateMapEntries( com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder builderForValue) { @@ -793,14 +918,19 @@ public Builder addCertificateMapEntries( return this; } /** + * + * *
      * A list of certificate map entries for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * */ public Builder addCertificateMapEntries( - int index, com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder builderForValue) { + int index, + com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder builderForValue) { if (certificateMapEntriesBuilder_ == null) { ensureCertificateMapEntriesIsMutable(); certificateMapEntries_.add(index, builderForValue.build()); @@ -811,18 +941,22 @@ public Builder addCertificateMapEntries( return this; } /** + * + * *
      * A list of certificate map entries for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * */ public Builder addAllCertificateMapEntries( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (certificateMapEntriesBuilder_ == null) { ensureCertificateMapEntriesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, certificateMapEntries_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, certificateMapEntries_); onChanged(); } else { certificateMapEntriesBuilder_.addAllMessages(values); @@ -830,11 +964,15 @@ public Builder addAllCertificateMapEntries( return this; } /** + * + * *
      * A list of certificate map entries for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * */ public Builder clearCertificateMapEntries() { if (certificateMapEntriesBuilder_ == null) { @@ -847,11 +985,15 @@ public Builder clearCertificateMapEntries() { return this; } /** + * + * *
      * A list of certificate map entries for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * */ public Builder removeCertificateMapEntries(int index) { if (certificateMapEntriesBuilder_ == null) { @@ -864,39 +1006,53 @@ public Builder removeCertificateMapEntries(int index) { return this; } /** + * + * *
      * A list of certificate map entries for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * */ - public com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder getCertificateMapEntriesBuilder( - int index) { + public com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder + getCertificateMapEntriesBuilder(int index) { return getCertificateMapEntriesFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of certificate map entries for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * */ - public com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder getCertificateMapEntriesOrBuilder( - int index) { + public com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder + getCertificateMapEntriesOrBuilder(int index) { if (certificateMapEntriesBuilder_ == null) { - return certificateMapEntries_.get(index); } else { + return certificateMapEntries_.get(index); + } else { return certificateMapEntriesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of certificate map entries for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * */ - public java.util.List - getCertificateMapEntriesOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder> + getCertificateMapEntriesOrBuilderList() { if (certificateMapEntriesBuilder_ != null) { return certificateMapEntriesBuilder_.getMessageOrBuilderList(); } else { @@ -904,45 +1060,67 @@ public com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder getCe } } /** + * + * *
      * A list of certificate map entries for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * */ - public com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder addCertificateMapEntriesBuilder() { - return getCertificateMapEntriesFieldBuilder().addBuilder( - com.google.cloud.certificatemanager.v1.CertificateMapEntry.getDefaultInstance()); + public com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder + addCertificateMapEntriesBuilder() { + return getCertificateMapEntriesFieldBuilder() + .addBuilder( + com.google.cloud.certificatemanager.v1.CertificateMapEntry.getDefaultInstance()); } /** + * + * *
      * A list of certificate map entries for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * */ - public com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder addCertificateMapEntriesBuilder( - int index) { - return getCertificateMapEntriesFieldBuilder().addBuilder( - index, com.google.cloud.certificatemanager.v1.CertificateMapEntry.getDefaultInstance()); + public com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder + addCertificateMapEntriesBuilder(int index) { + return getCertificateMapEntriesFieldBuilder() + .addBuilder( + index, + com.google.cloud.certificatemanager.v1.CertificateMapEntry.getDefaultInstance()); } /** + * + * *
      * A list of certificate map entries for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * */ - public java.util.List - getCertificateMapEntriesBuilderList() { + public java.util.List + getCertificateMapEntriesBuilderList() { return getCertificateMapEntriesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.certificatemanager.v1.CertificateMapEntry, com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder, com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder> + com.google.cloud.certificatemanager.v1.CertificateMapEntry, + com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder, + com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder> getCertificateMapEntriesFieldBuilder() { if (certificateMapEntriesBuilder_ == null) { - certificateMapEntriesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.certificatemanager.v1.CertificateMapEntry, com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder, com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder>( + certificateMapEntriesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.certificatemanager.v1.CertificateMapEntry, + com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder, + com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder>( certificateMapEntries_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -954,6 +1132,8 @@ public com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder addCer private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * If there might be more results than those appearing in this response, then
      * `next_page_token` is included. To get the next set of results, call this
@@ -961,13 +1141,13 @@ public com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder addCer
      * 
* * 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; @@ -976,6 +1156,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If there might be more results than those appearing in this response, then
      * `next_page_token` is included. To get the next set of results, call this
@@ -983,15 +1165,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -999,6 +1180,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If there might be more results than those appearing in this response, then
      * `next_page_token` is included. To get the next set of results, call this
@@ -1006,20 +1189,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * If there might be more results than those appearing in this response, then
      * `next_page_token` is included. To get the next set of results, call this
@@ -1027,15 +1212,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * If there might be more results than those appearing in this response, then
      * `next_page_token` is included. To get the next set of results, call this
@@ -1043,57 +1231,67 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList unreachable_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1101,80 +1299,90 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { + public Builder setUnreachable(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { + public Builder addUnreachable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1184,28 +1392,30 @@ public Builder clearUnreachable() { return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1215,41 +1425,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse) - private static final com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse(); + DEFAULT_INSTANCE = + new com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse(); } - public static com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCertificateMapEntriesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCertificateMapEntriesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1261,9 +1474,8 @@ public com.google.protobuf.Parser getParserFo } @java.lang.Override - public com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponseOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponseOrBuilder.java similarity index 63% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponseOrBuilder.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponseOrBuilder.java index 88651e57bec8..262d3b515879 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponseOrBuilder.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponseOrBuilder.java @@ -1,57 +1,95 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; -public interface ListCertificateMapEntriesResponseOrBuilder extends +public interface ListCertificateMapEntriesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of certificate map entries for the parent resource.
    * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * */ - java.util.List + java.util.List getCertificateMapEntriesList(); /** + * + * *
    * A list of certificate map entries for the parent resource.
    * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * */ com.google.cloud.certificatemanager.v1.CertificateMapEntry getCertificateMapEntries(int index); /** + * + * *
    * A list of certificate map entries for the parent resource.
    * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * */ int getCertificateMapEntriesCount(); /** + * + * *
    * A list of certificate map entries for the parent resource.
    * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * */ - java.util.List + java.util.List getCertificateMapEntriesOrBuilderList(); /** + * + * *
    * A list of certificate map entries for the parent resource.
    * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entries = 1; + * */ - com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder getCertificateMapEntriesOrBuilder( - int index); + com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder + getCertificateMapEntriesOrBuilder(int index); /** + * + * *
    * If there might be more results than those appearing in this response, then
    * `next_page_token` is included. To get the next set of results, call this
@@ -59,10 +97,13 @@ com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder getCertifica
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * If there might be more results than those appearing in this response, then
    * `next_page_token` is included. To get the next set of results, call this
@@ -70,49 +111,59 @@ com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder getCertifica
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequest.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequest.java similarity index 68% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequest.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequest.java index 69db1b61e1e3..bfdb1a38d452 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequest.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequest.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/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; /** + * + * *
  * Request for the `ListCertificateMaps` method.
  * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.ListCertificateMapsRequest} */ -public final class ListCertificateMapsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCertificateMapsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.ListCertificateMapsRequest) ListCertificateMapsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCertificateMapsRequest.newBuilder() to construct. private ListCertificateMapsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCertificateMapsRequest() { parent_ = ""; pageToken_ = ""; @@ -28,38 +46,44 @@ private ListCertificateMapsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCertificateMapsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest.class, com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest.Builder.class); + com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest.class, + com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The project and location from which the certificate maps should
    * be listed, 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 @@ -68,30 +92,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The project and location from which the certificate maps should
    * be listed, 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 { @@ -102,11 +128,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Maximum number of certificate maps to return per call.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -117,6 +146,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The value returned by the last `ListCertificateMapsResponse`. Indicates
    * that this is a continuation of a prior `ListCertificateMaps` call, and that
@@ -124,6 +155,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -132,14 +164,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The value returned by the last `ListCertificateMapsResponse`. Indicates
    * that this is a continuation of a prior `ListCertificateMaps` call, and that
@@ -147,16 +180,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -167,11 +199,14 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * Filter expression to restrict the Certificates Maps returned.
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -180,29 +215,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Filter expression to restrict the Certificates Maps returned.
    * 
* * 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 { @@ -213,6 +248,8 @@ public java.lang.String getFilter() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** + * + * *
    * A list of Certificate Map field names used to specify the order of the
    * returned results. The default sorting order is ascending. To specify
@@ -220,6 +257,7 @@ public java.lang.String getFilter() {
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -228,14 +266,15 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * A list of Certificate Map field names used to specify the order of the
    * returned results. The default sorting order is ascending. To specify
@@ -243,16 +282,15 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -261,6 +299,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -272,8 +311,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -302,8 +340,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -322,23 +359,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest other = (com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest other = + (com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -366,129 +399,138 @@ public int hashCode() { } public static com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest parseDelimitedFrom( - java.io.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.certificatemanager.v1.ListCertificateMapsRequest + parseDelimitedFrom( + java.io.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.certificatemanager.v1.ListCertificateMapsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 `ListCertificateMaps` method.
    * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.ListCertificateMapsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.ListCertificateMapsRequest) com.google.cloud.certificatemanager.v1.ListCertificateMapsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest.class, com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest.Builder.class); + com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest.class, + com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest.Builder.class); } - // Construct using com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -506,13 +548,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsRequest_descriptor; } @java.lang.Override - public com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest + getDefaultInstanceForType() { return com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest.getDefaultInstance(); } @@ -527,7 +570,8 @@ public com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest build() @java.lang.Override public com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest buildPartial() { - com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest result = new com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest(this); + com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest result = + new com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -541,46 +585,50 @@ public com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest 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.certificatemanager.v1.ListCertificateMapsRequest) { - return mergeFrom((com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest)other); + return mergeFrom((com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest other) { - if (other == com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest other) { + if (other + == com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -626,37 +674,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -669,19 +723,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The project and location from which the certificate maps should
      * be listed, 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; @@ -690,21 +748,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The project and location from which the certificate maps should
      * be listed, 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 { @@ -712,69 +773,85 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The project and location from which the certificate maps should
      * be listed, 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 the certificate maps should
      * be listed, 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 the certificate maps should
      * be listed, 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 certificate maps to return per call.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -782,30 +859,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Maximum number of certificate maps to return per call.
      * 
* * 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 certificate maps to return per call.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -813,6 +896,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The value returned by the last `ListCertificateMapsResponse`. Indicates
      * that this is a continuation of a prior `ListCertificateMaps` call, and that
@@ -820,13 +905,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -835,6 +920,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The value returned by the last `ListCertificateMapsResponse`. Indicates
      * that this is a continuation of a prior `ListCertificateMaps` call, and that
@@ -842,15 +929,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -858,6 +944,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The value returned by the last `ListCertificateMapsResponse`. Indicates
      * that this is a continuation of a prior `ListCertificateMaps` call, and that
@@ -865,20 +953,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The value returned by the last `ListCertificateMapsResponse`. Indicates
      * that this is a continuation of a prior `ListCertificateMaps` call, and that
@@ -886,15 +976,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The value returned by the last `ListCertificateMapsResponse`. Indicates
      * that this is a continuation of a prior `ListCertificateMaps` call, and that
@@ -902,16 +995,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -919,18 +1012,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Filter expression to restrict the Certificates Maps returned.
      * 
* * 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; @@ -939,20 +1034,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filter expression to restrict the Certificates Maps returned.
      * 
* * 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,54 +1056,61 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filter expression to restrict the Certificates Maps returned.
      * 
* * 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 Certificates Maps returned.
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Filter expression to restrict the Certificates Maps returned.
      * 
* * 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; @@ -1015,6 +1118,8 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * A list of Certificate Map field names used to specify the order of the
      * returned results. The default sorting order is ascending. To specify
@@ -1022,13 +1127,13 @@ public Builder setFilterBytes(
      * 
* * string order_by = 5; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1037,6 +1142,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * A list of Certificate Map field names used to specify the order of the
      * returned results. The default sorting order is ascending. To specify
@@ -1044,15 +1151,14 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1060,6 +1166,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * A list of Certificate Map field names used to specify the order of the
      * returned results. The default sorting order is ascending. To specify
@@ -1067,20 +1175,22 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 5; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * A list of Certificate Map field names used to specify the order of the
      * returned results. The default sorting order is ascending. To specify
@@ -1088,15 +1198,18 @@ public Builder setOrderBy(
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * A list of Certificate Map field names used to specify the order of the
      * returned results. The default sorting order is ascending. To specify
@@ -1104,23 +1217,23 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 5; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = 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); } @@ -1130,41 +1243,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.ListCertificateMapsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.ListCertificateMapsRequest) - private static final com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest(); } - public static com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCertificateMapsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCertificateMapsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1176,9 +1291,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequestOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequestOrBuilder.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequestOrBuilder.java index f40d128d2b3c..437a53007404 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequestOrBuilder.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequestOrBuilder.java @@ -1,45 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; -public interface ListCertificateMapsRequestOrBuilder extends +public interface ListCertificateMapsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.ListCertificateMapsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The project and location from which the certificate maps should
    * be listed, 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 the certificate maps should
    * be listed, 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 certificate maps to return per call.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The value returned by the last `ListCertificateMapsResponse`. Indicates
    * that this is a continuation of a prior `ListCertificateMaps` call, and that
@@ -47,10 +77,13 @@ public interface ListCertificateMapsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The value returned by the last `ListCertificateMapsResponse`. Indicates
    * that this is a continuation of a prior `ListCertificateMaps` call, and that
@@ -58,32 +91,39 @@ public interface ListCertificateMapsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Filter expression to restrict the Certificates Maps returned.
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Filter expression to restrict the Certificates Maps returned.
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * A list of Certificate Map field names used to specify the order of the
    * returned results. The default sorting order is ascending. To specify
@@ -91,10 +131,13 @@ public interface ListCertificateMapsRequestOrBuilder extends
    * 
* * string order_by = 5; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * A list of Certificate Map field names used to specify the order of the
    * returned results. The default sorting order is ascending. To specify
@@ -102,8 +145,8 @@ public interface ListCertificateMapsRequestOrBuilder extends
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponse.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponse.java similarity index 71% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponse.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponse.java index 18c5cfcf9887..37fe497814ba 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponse.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponse.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/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; /** + * + * *
  * Response for the `ListCertificateMaps` method.
  * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.ListCertificateMapsResponse} */ -public final class ListCertificateMapsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCertificateMapsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.ListCertificateMapsResponse) ListCertificateMapsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCertificateMapsResponse.newBuilder() to construct. private ListCertificateMapsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCertificateMapsResponse() { certificateMaps_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,32 +45,35 @@ private ListCertificateMapsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCertificateMapsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsResponse_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse.class, com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse.Builder.class); + com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse.class, + com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse.Builder.class); } public static final int CERTIFICATE_MAPS_FIELD_NUMBER = 1; private java.util.List certificateMaps_; /** + * + * *
    * A list of certificate maps for the parent resource.
    * 
@@ -60,10 +81,13 @@ protected java.lang.Object newInstance( * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; */ @java.lang.Override - public java.util.List getCertificateMapsList() { + public java.util.List + getCertificateMapsList() { return certificateMaps_; } /** + * + * *
    * A list of certificate maps for the parent resource.
    * 
@@ -71,11 +95,13 @@ public java.util.List get * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; */ @java.lang.Override - public java.util.List + public java.util.List getCertificateMapsOrBuilderList() { return certificateMaps_; } /** + * + * *
    * A list of certificate maps for the parent resource.
    * 
@@ -87,6 +113,8 @@ public int getCertificateMapsCount() { return certificateMaps_.size(); } /** + * + * *
    * A list of certificate maps for the parent resource.
    * 
@@ -98,6 +126,8 @@ public com.google.cloud.certificatemanager.v1.CertificateMap getCertificateMaps( return certificateMaps_.get(index); } /** + * + * *
    * A list of certificate maps for the parent resource.
    * 
@@ -113,6 +143,8 @@ public com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder getCertifi public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * If there might be more results than those appearing in this response, then
    * `next_page_token` is included. To get the next set of results, call this
@@ -120,6 +152,7 @@ public com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder getCertifi
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -128,14 +161,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * If there might be more results than those appearing in this response, then
    * `next_page_token` is included. To get the next set of results, call this
@@ -143,16 +177,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -163,34 +196,42 @@ public java.lang.String getNextPageToken() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -198,20 +239,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -223,8 +267,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < certificateMaps_.size(); i++) { output.writeMessage(1, certificateMaps_.get(i)); } @@ -244,8 +287,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < certificateMaps_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, certificateMaps_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, certificateMaps_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -266,19 +308,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.certificatemanager.v1.ListCertificateMapsResponse)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse other = (com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse) obj; + com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse other = + (com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse) obj; - if (!getCertificateMapsList() - .equals(other.getCertificateMapsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getCertificateMapsList().equals(other.getCertificateMapsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -306,129 +346,138 @@ public int hashCode() { } public static com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse parseDelimitedFrom( - java.io.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.certificatemanager.v1.ListCertificateMapsResponse + parseDelimitedFrom( + java.io.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.certificatemanager.v1.ListCertificateMapsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 `ListCertificateMaps` method.
    * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.ListCertificateMapsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.ListCertificateMapsResponse) com.google.cloud.certificatemanager.v1.ListCertificateMapsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsResponse_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse.class, com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse.Builder.class); + com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse.class, + com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse.Builder.class); } - // Construct using com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -447,14 +496,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsResponse_descriptor; } @java.lang.Override - public com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse getDefaultInstanceForType() { - return com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse.getDefaultInstance(); + public com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse + getDefaultInstanceForType() { + return com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse + .getDefaultInstance(); } @java.lang.Override @@ -468,7 +519,8 @@ public com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse build( @java.lang.Override public com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse buildPartial() { - com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse result = new com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse(this); + com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse result = + new com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse(this); int from_bitField0_ = bitField0_; if (certificateMapsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -493,46 +545,51 @@ public com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse 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.certificatemanager.v1.ListCertificateMapsResponse) { - return mergeFrom((com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse)other); + return mergeFrom( + (com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse other) { - if (other == com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse other) { + if (other + == com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse + .getDefaultInstance()) return this; if (certificateMapsBuilder_ == null) { if (!other.certificateMaps_.isEmpty()) { if (certificateMaps_.isEmpty()) { @@ -551,9 +608,10 @@ public Builder mergeFrom(com.google.cloud.certificatemanager.v1.ListCertificateM certificateMapsBuilder_ = null; certificateMaps_ = other.certificateMaps_; bitField0_ = (bitField0_ & ~0x00000001); - certificateMapsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCertificateMapsFieldBuilder() : null; + certificateMapsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCertificateMapsFieldBuilder() + : null; } else { certificateMapsBuilder_.addAllMessages(other.certificateMaps_); } @@ -599,36 +657,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.certificatemanager.v1.CertificateMap m = - input.readMessage( - com.google.cloud.certificatemanager.v1.CertificateMap.parser(), - extensionRegistry); - if (certificateMapsBuilder_ == null) { - ensureCertificateMapsIsMutable(); - certificateMaps_.add(m); - } else { - certificateMapsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: + { + com.google.cloud.certificatemanager.v1.CertificateMap m = + input.readMessage( + com.google.cloud.certificatemanager.v1.CertificateMap.parser(), + extensionRegistry); + if (certificateMapsBuilder_ == null) { + ensureCertificateMapsIsMutable(); + certificateMaps_.add(m); + } else { + certificateMapsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -638,28 +700,39 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List certificateMaps_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureCertificateMapsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - certificateMaps_ = new java.util.ArrayList(certificateMaps_); + certificateMaps_ = + new java.util.ArrayList( + certificateMaps_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.certificatemanager.v1.CertificateMap, com.google.cloud.certificatemanager.v1.CertificateMap.Builder, com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder> certificateMapsBuilder_; + com.google.cloud.certificatemanager.v1.CertificateMap, + com.google.cloud.certificatemanager.v1.CertificateMap.Builder, + com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder> + certificateMapsBuilder_; /** + * + * *
      * A list of certificate maps for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; + * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; + * */ - public java.util.List getCertificateMapsList() { + public java.util.List + getCertificateMapsList() { if (certificateMapsBuilder_ == null) { return java.util.Collections.unmodifiableList(certificateMaps_); } else { @@ -667,11 +740,14 @@ public java.util.List get } } /** + * + * *
      * A list of certificate maps for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; + * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; + * */ public int getCertificateMapsCount() { if (certificateMapsBuilder_ == null) { @@ -681,11 +757,14 @@ public int getCertificateMapsCount() { } } /** + * + * *
      * A list of certificate maps for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; + * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; + * */ public com.google.cloud.certificatemanager.v1.CertificateMap getCertificateMaps(int index) { if (certificateMapsBuilder_ == null) { @@ -695,11 +774,14 @@ public com.google.cloud.certificatemanager.v1.CertificateMap getCertificateMaps( } } /** + * + * *
      * A list of certificate maps for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; + * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; + * */ public Builder setCertificateMaps( int index, com.google.cloud.certificatemanager.v1.CertificateMap value) { @@ -716,11 +798,14 @@ public Builder setCertificateMaps( return this; } /** + * + * *
      * A list of certificate maps for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; + * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; + * */ public Builder setCertificateMaps( int index, com.google.cloud.certificatemanager.v1.CertificateMap.Builder builderForValue) { @@ -734,11 +819,14 @@ public Builder setCertificateMaps( return this; } /** + * + * *
      * A list of certificate maps for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; + * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; + * */ public Builder addCertificateMaps(com.google.cloud.certificatemanager.v1.CertificateMap value) { if (certificateMapsBuilder_ == null) { @@ -754,11 +842,14 @@ public Builder addCertificateMaps(com.google.cloud.certificatemanager.v1.Certifi return this; } /** + * + * *
      * A list of certificate maps for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; + * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; + * */ public Builder addCertificateMaps( int index, com.google.cloud.certificatemanager.v1.CertificateMap value) { @@ -775,11 +866,14 @@ public Builder addCertificateMaps( return this; } /** + * + * *
      * A list of certificate maps for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; + * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; + * */ public Builder addCertificateMaps( com.google.cloud.certificatemanager.v1.CertificateMap.Builder builderForValue) { @@ -793,11 +887,14 @@ public Builder addCertificateMaps( return this; } /** + * + * *
      * A list of certificate maps for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; + * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; + * */ public Builder addCertificateMaps( int index, com.google.cloud.certificatemanager.v1.CertificateMap.Builder builderForValue) { @@ -811,18 +908,21 @@ public Builder addCertificateMaps( return this; } /** + * + * *
      * A list of certificate maps for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; + * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; + * */ public Builder addAllCertificateMaps( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (certificateMapsBuilder_ == null) { ensureCertificateMapsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, certificateMaps_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, certificateMaps_); onChanged(); } else { certificateMapsBuilder_.addAllMessages(values); @@ -830,11 +930,14 @@ public Builder addAllCertificateMaps( return this; } /** + * + * *
      * A list of certificate maps for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; + * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; + * */ public Builder clearCertificateMaps() { if (certificateMapsBuilder_ == null) { @@ -847,11 +950,14 @@ public Builder clearCertificateMaps() { return this; } /** + * + * *
      * A list of certificate maps for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; + * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; + * */ public Builder removeCertificateMaps(int index) { if (certificateMapsBuilder_ == null) { @@ -864,39 +970,49 @@ public Builder removeCertificateMaps(int index) { return this; } /** + * + * *
      * A list of certificate maps for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; + * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; + * */ public com.google.cloud.certificatemanager.v1.CertificateMap.Builder getCertificateMapsBuilder( int index) { return getCertificateMapsFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of certificate maps for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; + * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; + * */ - public com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder getCertificateMapsOrBuilder( - int index) { + public com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder + getCertificateMapsOrBuilder(int index) { if (certificateMapsBuilder_ == null) { - return certificateMaps_.get(index); } else { + return certificateMaps_.get(index); + } else { return certificateMapsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of certificate maps for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; + * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; + * */ - public java.util.List - getCertificateMapsOrBuilderList() { + public java.util.List + getCertificateMapsOrBuilderList() { if (certificateMapsBuilder_ != null) { return certificateMapsBuilder_.getMessageOrBuilderList(); } else { @@ -904,45 +1020,62 @@ public com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder getCertifi } } /** + * + * *
      * A list of certificate maps for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; + * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; + * */ - public com.google.cloud.certificatemanager.v1.CertificateMap.Builder addCertificateMapsBuilder() { - return getCertificateMapsFieldBuilder().addBuilder( - com.google.cloud.certificatemanager.v1.CertificateMap.getDefaultInstance()); + public com.google.cloud.certificatemanager.v1.CertificateMap.Builder + addCertificateMapsBuilder() { + return getCertificateMapsFieldBuilder() + .addBuilder(com.google.cloud.certificatemanager.v1.CertificateMap.getDefaultInstance()); } /** + * + * *
      * A list of certificate maps for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; + * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; + * */ public com.google.cloud.certificatemanager.v1.CertificateMap.Builder addCertificateMapsBuilder( int index) { - return getCertificateMapsFieldBuilder().addBuilder( - index, com.google.cloud.certificatemanager.v1.CertificateMap.getDefaultInstance()); + return getCertificateMapsFieldBuilder() + .addBuilder( + index, com.google.cloud.certificatemanager.v1.CertificateMap.getDefaultInstance()); } /** + * + * *
      * A list of certificate maps for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; + * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; + * */ - public java.util.List - getCertificateMapsBuilderList() { + public java.util.List + getCertificateMapsBuilderList() { return getCertificateMapsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.certificatemanager.v1.CertificateMap, com.google.cloud.certificatemanager.v1.CertificateMap.Builder, com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder> + com.google.cloud.certificatemanager.v1.CertificateMap, + com.google.cloud.certificatemanager.v1.CertificateMap.Builder, + com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder> getCertificateMapsFieldBuilder() { if (certificateMapsBuilder_ == null) { - certificateMapsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.certificatemanager.v1.CertificateMap, com.google.cloud.certificatemanager.v1.CertificateMap.Builder, com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder>( + certificateMapsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.certificatemanager.v1.CertificateMap, + com.google.cloud.certificatemanager.v1.CertificateMap.Builder, + com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder>( certificateMaps_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -954,6 +1087,8 @@ public com.google.cloud.certificatemanager.v1.CertificateMap.Builder addCertific private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * If there might be more results than those appearing in this response, then
      * `next_page_token` is included. To get the next set of results, call this
@@ -961,13 +1096,13 @@ public com.google.cloud.certificatemanager.v1.CertificateMap.Builder addCertific
      * 
* * 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; @@ -976,6 +1111,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If there might be more results than those appearing in this response, then
      * `next_page_token` is included. To get the next set of results, call this
@@ -983,15 +1120,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -999,6 +1135,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If there might be more results than those appearing in this response, then
      * `next_page_token` is included. To get the next set of results, call this
@@ -1006,20 +1144,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * If there might be more results than those appearing in this response, then
      * `next_page_token` is included. To get the next set of results, call this
@@ -1027,15 +1167,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * If there might be more results than those appearing in this response, then
      * `next_page_token` is included. To get the next set of results, call this
@@ -1043,57 +1186,67 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList unreachable_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1101,80 +1254,90 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { + public Builder setUnreachable(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { + public Builder addUnreachable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1184,28 +1347,30 @@ public Builder clearUnreachable() { return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1215,41 +1380,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.ListCertificateMapsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.ListCertificateMapsResponse) - private static final com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse(); } - public static com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCertificateMapsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCertificateMapsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1261,9 +1428,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponseOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponseOrBuilder.java similarity index 76% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponseOrBuilder.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponseOrBuilder.java index 97dd9076c018..86825476dafb 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponseOrBuilder.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponseOrBuilder.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/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; -public interface ListCertificateMapsResponseOrBuilder extends +public interface ListCertificateMapsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.ListCertificateMapsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of certificate maps for the parent resource.
    * 
* * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; */ - java.util.List - getCertificateMapsList(); + java.util.List getCertificateMapsList(); /** + * + * *
    * A list of certificate maps for the parent resource.
    * 
@@ -25,6 +44,8 @@ public interface ListCertificateMapsResponseOrBuilder extends */ com.google.cloud.certificatemanager.v1.CertificateMap getCertificateMaps(int index); /** + * + * *
    * A list of certificate maps for the parent resource.
    * 
@@ -33,15 +54,19 @@ public interface ListCertificateMapsResponseOrBuilder extends */ int getCertificateMapsCount(); /** + * + * *
    * A list of certificate maps for the parent resource.
    * 
* * repeated .google.cloud.certificatemanager.v1.CertificateMap certificate_maps = 1; */ - java.util.List + java.util.List getCertificateMapsOrBuilderList(); /** + * + * *
    * A list of certificate maps for the parent resource.
    * 
@@ -52,6 +77,8 @@ com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder getCertificateMap int index); /** + * + * *
    * If there might be more results than those appearing in this response, then
    * `next_page_token` is included. To get the next set of results, call this
@@ -59,10 +86,13 @@ com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder getCertificateMap
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * If there might be more results than those appearing in this response, then
    * `next_page_token` is included. To get the next set of results, call this
@@ -70,49 +100,59 @@ com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder getCertificateMap
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequest.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequest.java similarity index 69% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequest.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequest.java index b32cec55d5c3..f362ce03396d 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequest.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequest.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/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; /** + * + * *
  * Request for the `ListCertificates` method.
  * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.ListCertificatesRequest} */ -public final class ListCertificatesRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCertificatesRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.ListCertificatesRequest) ListCertificatesRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCertificatesRequest.newBuilder() to construct. private ListCertificatesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCertificatesRequest() { parent_ = ""; pageToken_ = ""; @@ -28,38 +46,44 @@ private ListCertificatesRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCertificatesRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListCertificatesRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificatesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListCertificatesRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificatesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.ListCertificatesRequest.class, com.google.cloud.certificatemanager.v1.ListCertificatesRequest.Builder.class); + com.google.cloud.certificatemanager.v1.ListCertificatesRequest.class, + com.google.cloud.certificatemanager.v1.ListCertificatesRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The project and location from which the certificate should be
    * listed, 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 @@ -68,30 +92,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The project and location from which the certificate should be
    * listed, 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 { @@ -102,11 +128,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Maximum number of certificates to return per call.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -117,6 +146,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The value returned by the last `ListCertificatesResponse`. Indicates that
    * this is a continuation of a prior `ListCertificates` call, and that the
@@ -124,6 +155,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -132,14 +164,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The value returned by the last `ListCertificatesResponse`. Indicates that
    * this is a continuation of a prior `ListCertificates` call, and that the
@@ -147,16 +180,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -167,11 +199,14 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * Filter expression to restrict the Certificates returned.
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -180,29 +215,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Filter expression to restrict the Certificates returned.
    * 
* * 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 { @@ -213,6 +248,8 @@ public java.lang.String getFilter() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** + * + * *
    * A list of Certificate field names used to specify the order of the returned
    * results. The default sorting order is ascending. To specify descending
@@ -220,6 +257,7 @@ public java.lang.String getFilter() {
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -228,14 +266,15 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * A list of Certificate field names used to specify the order of the returned
    * results. The default sorting order is ascending. To specify descending
@@ -243,16 +282,15 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -261,6 +299,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -272,8 +311,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -302,8 +340,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -322,23 +359,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.certificatemanager.v1.ListCertificatesRequest)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.ListCertificatesRequest other = (com.google.cloud.certificatemanager.v1.ListCertificatesRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.certificatemanager.v1.ListCertificatesRequest other = + (com.google.cloud.certificatemanager.v1.ListCertificatesRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -366,129 +399,136 @@ public int hashCode() { } public static com.google.cloud.certificatemanager.v1.ListCertificatesRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.ListCertificatesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.ListCertificatesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.ListCertificatesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.ListCertificatesRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.ListCertificatesRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.ListCertificatesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.ListCertificatesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.ListCertificatesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.ListCertificatesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.ListCertificatesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.ListCertificatesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.ListCertificatesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.ListCertificatesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.ListCertificatesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.ListCertificatesRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.ListCertificatesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 `ListCertificates` method.
    * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.ListCertificatesRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.ListCertificatesRequest) com.google.cloud.certificatemanager.v1.ListCertificatesRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListCertificatesRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificatesRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListCertificatesRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificatesRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.ListCertificatesRequest.class, com.google.cloud.certificatemanager.v1.ListCertificatesRequest.Builder.class); + com.google.cloud.certificatemanager.v1.ListCertificatesRequest.class, + com.google.cloud.certificatemanager.v1.ListCertificatesRequest.Builder.class); } // Construct using com.google.cloud.certificatemanager.v1.ListCertificatesRequest.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -506,13 +546,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListCertificatesRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificatesRequest_descriptor; } @java.lang.Override - public com.google.cloud.certificatemanager.v1.ListCertificatesRequest getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.ListCertificatesRequest + getDefaultInstanceForType() { return com.google.cloud.certificatemanager.v1.ListCertificatesRequest.getDefaultInstance(); } @@ -527,7 +568,8 @@ public com.google.cloud.certificatemanager.v1.ListCertificatesRequest build() { @java.lang.Override public com.google.cloud.certificatemanager.v1.ListCertificatesRequest buildPartial() { - com.google.cloud.certificatemanager.v1.ListCertificatesRequest result = new com.google.cloud.certificatemanager.v1.ListCertificatesRequest(this); + com.google.cloud.certificatemanager.v1.ListCertificatesRequest result = + new com.google.cloud.certificatemanager.v1.ListCertificatesRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -541,38 +583,39 @@ public com.google.cloud.certificatemanager.v1.ListCertificatesRequest 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.certificatemanager.v1.ListCertificatesRequest) { - return mergeFrom((com.google.cloud.certificatemanager.v1.ListCertificatesRequest)other); + return mergeFrom((com.google.cloud.certificatemanager.v1.ListCertificatesRequest) other); } else { super.mergeFrom(other); return this; @@ -580,7 +623,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.certificatemanager.v1.ListCertificatesRequest other) { - if (other == com.google.cloud.certificatemanager.v1.ListCertificatesRequest.getDefaultInstance()) return this; + if (other + == com.google.cloud.certificatemanager.v1.ListCertificatesRequest.getDefaultInstance()) + return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -626,37 +671,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -669,19 +720,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The project and location from which the certificate should be
      * listed, 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; @@ -690,21 +745,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The project and location from which the certificate should be
      * listed, 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 { @@ -712,69 +770,85 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The project and location from which the certificate should be
      * listed, 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 the certificate should be
      * listed, 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 the certificate should be
      * listed, 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 certificates to return per call.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -782,30 +856,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Maximum number of certificates to return per call.
      * 
* * 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 certificates to return per call.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -813,6 +893,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The value returned by the last `ListCertificatesResponse`. Indicates that
      * this is a continuation of a prior `ListCertificates` call, and that the
@@ -820,13 +902,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -835,6 +917,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The value returned by the last `ListCertificatesResponse`. Indicates that
      * this is a continuation of a prior `ListCertificates` call, and that the
@@ -842,15 +926,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -858,6 +941,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The value returned by the last `ListCertificatesResponse`. Indicates that
      * this is a continuation of a prior `ListCertificates` call, and that the
@@ -865,20 +950,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The value returned by the last `ListCertificatesResponse`. Indicates that
      * this is a continuation of a prior `ListCertificates` call, and that the
@@ -886,15 +973,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The value returned by the last `ListCertificatesResponse`. Indicates that
      * this is a continuation of a prior `ListCertificates` call, and that the
@@ -902,16 +992,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -919,18 +1009,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Filter expression to restrict the Certificates returned.
      * 
* * 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; @@ -939,20 +1031,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filter expression to restrict the Certificates returned.
      * 
* * 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,54 +1053,61 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filter expression to restrict the Certificates returned.
      * 
* * 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 Certificates returned.
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Filter expression to restrict the Certificates returned.
      * 
* * 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; @@ -1015,6 +1115,8 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * A list of Certificate field names used to specify the order of the returned
      * results. The default sorting order is ascending. To specify descending
@@ -1022,13 +1124,13 @@ public Builder setFilterBytes(
      * 
* * string order_by = 5; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1037,6 +1139,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * A list of Certificate field names used to specify the order of the returned
      * results. The default sorting order is ascending. To specify descending
@@ -1044,15 +1148,14 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1060,6 +1163,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * A list of Certificate field names used to specify the order of the returned
      * results. The default sorting order is ascending. To specify descending
@@ -1067,20 +1172,22 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 5; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * A list of Certificate field names used to specify the order of the returned
      * results. The default sorting order is ascending. To specify descending
@@ -1088,15 +1195,18 @@ public Builder setOrderBy(
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * A list of Certificate field names used to specify the order of the returned
      * results. The default sorting order is ascending. To specify descending
@@ -1104,23 +1214,23 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 5; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = 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); } @@ -1130,41 +1240,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.ListCertificatesRequest) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.ListCertificatesRequest) - private static final com.google.cloud.certificatemanager.v1.ListCertificatesRequest DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.ListCertificatesRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.ListCertificatesRequest(); } - public static com.google.cloud.certificatemanager.v1.ListCertificatesRequest getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.ListCertificatesRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCertificatesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCertificatesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1176,9 +1288,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.certificatemanager.v1.ListCertificatesRequest getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.ListCertificatesRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequestOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequestOrBuilder.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequestOrBuilder.java index e3d28bb7b531..2a9071a636c5 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequestOrBuilder.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequestOrBuilder.java @@ -1,45 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; -public interface ListCertificatesRequestOrBuilder extends +public interface ListCertificatesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.ListCertificatesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The project and location from which the certificate should be
    * listed, 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 the certificate should be
    * listed, 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 certificates to return per call.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The value returned by the last `ListCertificatesResponse`. Indicates that
    * this is a continuation of a prior `ListCertificates` call, and that the
@@ -47,10 +77,13 @@ public interface ListCertificatesRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The value returned by the last `ListCertificatesResponse`. Indicates that
    * this is a continuation of a prior `ListCertificates` call, and that the
@@ -58,32 +91,39 @@ public interface ListCertificatesRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Filter expression to restrict the Certificates returned.
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Filter expression to restrict the Certificates returned.
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * A list of Certificate field names used to specify the order of the returned
    * results. The default sorting order is ascending. To specify descending
@@ -91,10 +131,13 @@ public interface ListCertificatesRequestOrBuilder extends
    * 
* * string order_by = 5; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * A list of Certificate field names used to specify the order of the returned
    * results. The default sorting order is ascending. To specify descending
@@ -102,8 +145,8 @@ public interface ListCertificatesRequestOrBuilder extends
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponse.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponse.java similarity index 73% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponse.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponse.java index ca2c2c16300c..4f2fb338795d 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponse.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponse.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/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; /** + * + * *
  * Response for the `ListCertificates` method.
  * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.ListCertificatesResponse} */ -public final class ListCertificatesResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListCertificatesResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.ListCertificatesResponse) ListCertificatesResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListCertificatesResponse.newBuilder() to construct. private ListCertificatesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListCertificatesResponse() { certificates_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,32 +45,35 @@ private ListCertificatesResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListCertificatesResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListCertificatesResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificatesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListCertificatesResponse_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificatesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.ListCertificatesResponse.class, com.google.cloud.certificatemanager.v1.ListCertificatesResponse.Builder.class); + com.google.cloud.certificatemanager.v1.ListCertificatesResponse.class, + com.google.cloud.certificatemanager.v1.ListCertificatesResponse.Builder.class); } public static final int CERTIFICATES_FIELD_NUMBER = 1; private java.util.List certificates_; /** + * + * *
    * A list of certificates for the parent resource.
    * 
@@ -64,6 +85,8 @@ public java.util.List getCer return certificates_; } /** + * + * *
    * A list of certificates for the parent resource.
    * 
@@ -71,11 +94,13 @@ public java.util.List getCer * repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1; */ @java.lang.Override - public java.util.List + public java.util.List getCertificatesOrBuilderList() { return certificates_; } /** + * + * *
    * A list of certificates for the parent resource.
    * 
@@ -87,6 +112,8 @@ public int getCertificatesCount() { return certificates_.size(); } /** + * + * *
    * A list of certificates for the parent resource.
    * 
@@ -98,6 +125,8 @@ public com.google.cloud.certificatemanager.v1.Certificate getCertificates(int in return certificates_.get(index); } /** + * + * *
    * A list of certificates for the parent resource.
    * 
@@ -113,6 +142,8 @@ public com.google.cloud.certificatemanager.v1.CertificateOrBuilder getCertificat public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * If there might be more results than those appearing in this response, then
    * `next_page_token` is included. To get the next set of results, call this
@@ -120,6 +151,7 @@ public com.google.cloud.certificatemanager.v1.CertificateOrBuilder getCertificat
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -128,14 +160,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * If there might be more results than those appearing in this response, then
    * `next_page_token` is included. To get the next set of results, call this
@@ -143,16 +176,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -163,34 +195,42 @@ public java.lang.String getNextPageToken() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** + * + * *
    * A list of locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * A list of locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * A list of locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -198,20 +238,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * A list of locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -223,8 +266,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < certificates_.size(); i++) { output.writeMessage(1, certificates_.get(i)); } @@ -244,8 +286,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < certificates_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, certificates_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, certificates_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -266,19 +307,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.certificatemanager.v1.ListCertificatesResponse)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.ListCertificatesResponse other = (com.google.cloud.certificatemanager.v1.ListCertificatesResponse) obj; + com.google.cloud.certificatemanager.v1.ListCertificatesResponse other = + (com.google.cloud.certificatemanager.v1.ListCertificatesResponse) obj; - if (!getCertificatesList() - .equals(other.getCertificatesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getCertificatesList().equals(other.getCertificatesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -306,129 +345,136 @@ public int hashCode() { } public static com.google.cloud.certificatemanager.v1.ListCertificatesResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.ListCertificatesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.ListCertificatesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.ListCertificatesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.ListCertificatesResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.ListCertificatesResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.ListCertificatesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.ListCertificatesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.ListCertificatesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.ListCertificatesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.ListCertificatesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.ListCertificatesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.ListCertificatesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.ListCertificatesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.ListCertificatesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.ListCertificatesResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.ListCertificatesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 `ListCertificates` method.
    * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.ListCertificatesResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.ListCertificatesResponse) com.google.cloud.certificatemanager.v1.ListCertificatesResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListCertificatesResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificatesResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListCertificatesResponse_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificatesResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.ListCertificatesResponse.class, com.google.cloud.certificatemanager.v1.ListCertificatesResponse.Builder.class); + com.google.cloud.certificatemanager.v1.ListCertificatesResponse.class, + com.google.cloud.certificatemanager.v1.ListCertificatesResponse.Builder.class); } // Construct using com.google.cloud.certificatemanager.v1.ListCertificatesResponse.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -447,13 +493,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListCertificatesResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListCertificatesResponse_descriptor; } @java.lang.Override - public com.google.cloud.certificatemanager.v1.ListCertificatesResponse getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.ListCertificatesResponse + getDefaultInstanceForType() { return com.google.cloud.certificatemanager.v1.ListCertificatesResponse.getDefaultInstance(); } @@ -468,7 +515,8 @@ public com.google.cloud.certificatemanager.v1.ListCertificatesResponse build() { @java.lang.Override public com.google.cloud.certificatemanager.v1.ListCertificatesResponse buildPartial() { - com.google.cloud.certificatemanager.v1.ListCertificatesResponse result = new com.google.cloud.certificatemanager.v1.ListCertificatesResponse(this); + com.google.cloud.certificatemanager.v1.ListCertificatesResponse result = + new com.google.cloud.certificatemanager.v1.ListCertificatesResponse(this); int from_bitField0_ = bitField0_; if (certificatesBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -493,46 +541,50 @@ public com.google.cloud.certificatemanager.v1.ListCertificatesResponse 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.certificatemanager.v1.ListCertificatesResponse) { - return mergeFrom((com.google.cloud.certificatemanager.v1.ListCertificatesResponse)other); + return mergeFrom((com.google.cloud.certificatemanager.v1.ListCertificatesResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.certificatemanager.v1.ListCertificatesResponse other) { - if (other == com.google.cloud.certificatemanager.v1.ListCertificatesResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.certificatemanager.v1.ListCertificatesResponse other) { + if (other + == com.google.cloud.certificatemanager.v1.ListCertificatesResponse.getDefaultInstance()) + return this; if (certificatesBuilder_ == null) { if (!other.certificates_.isEmpty()) { if (certificates_.isEmpty()) { @@ -551,9 +603,10 @@ public Builder mergeFrom(com.google.cloud.certificatemanager.v1.ListCertificates certificatesBuilder_ = null; certificates_ = other.certificates_; bitField0_ = (bitField0_ & ~0x00000001); - certificatesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCertificatesFieldBuilder() : null; + certificatesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCertificatesFieldBuilder() + : null; } else { certificatesBuilder_.addAllMessages(other.certificates_); } @@ -599,36 +652,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.certificatemanager.v1.Certificate m = - input.readMessage( - com.google.cloud.certificatemanager.v1.Certificate.parser(), - extensionRegistry); - if (certificatesBuilder_ == null) { - ensureCertificatesIsMutable(); - certificates_.add(m); - } else { - certificatesBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: + { + com.google.cloud.certificatemanager.v1.Certificate m = + input.readMessage( + com.google.cloud.certificatemanager.v1.Certificate.parser(), + extensionRegistry); + if (certificatesBuilder_ == null) { + ensureCertificatesIsMutable(); + certificates_.add(m); + } else { + certificatesBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -638,28 +695,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List certificates_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureCertificatesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - certificates_ = new java.util.ArrayList(certificates_); + certificates_ = + new java.util.ArrayList( + certificates_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.certificatemanager.v1.Certificate, com.google.cloud.certificatemanager.v1.Certificate.Builder, com.google.cloud.certificatemanager.v1.CertificateOrBuilder> certificatesBuilder_; + com.google.cloud.certificatemanager.v1.Certificate, + com.google.cloud.certificatemanager.v1.Certificate.Builder, + com.google.cloud.certificatemanager.v1.CertificateOrBuilder> + certificatesBuilder_; /** + * + * *
      * A list of certificates for the parent resource.
      * 
* * repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1; */ - public java.util.List getCertificatesList() { + public java.util.List + getCertificatesList() { if (certificatesBuilder_ == null) { return java.util.Collections.unmodifiableList(certificates_); } else { @@ -667,6 +734,8 @@ public java.util.List getCer } } /** + * + * *
      * A list of certificates for the parent resource.
      * 
@@ -681,6 +750,8 @@ public int getCertificatesCount() { } } /** + * + * *
      * A list of certificates for the parent resource.
      * 
@@ -695,6 +766,8 @@ public com.google.cloud.certificatemanager.v1.Certificate getCertificates(int in } } /** + * + * *
      * A list of certificates for the parent resource.
      * 
@@ -716,6 +789,8 @@ public Builder setCertificates( return this; } /** + * + * *
      * A list of certificates for the parent resource.
      * 
@@ -734,6 +809,8 @@ public Builder setCertificates( return this; } /** + * + * *
      * A list of certificates for the parent resource.
      * 
@@ -754,6 +831,8 @@ public Builder addCertificates(com.google.cloud.certificatemanager.v1.Certificat return this; } /** + * + * *
      * A list of certificates for the parent resource.
      * 
@@ -775,6 +854,8 @@ public Builder addCertificates( return this; } /** + * + * *
      * A list of certificates for the parent resource.
      * 
@@ -793,6 +874,8 @@ public Builder addCertificates( return this; } /** + * + * *
      * A list of certificates for the parent resource.
      * 
@@ -811,6 +894,8 @@ public Builder addCertificates( return this; } /** + * + * *
      * A list of certificates for the parent resource.
      * 
@@ -821,8 +906,7 @@ public Builder addAllCertificates( java.lang.Iterable values) { if (certificatesBuilder_ == null) { ensureCertificatesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, certificates_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, certificates_); onChanged(); } else { certificatesBuilder_.addAllMessages(values); @@ -830,6 +914,8 @@ public Builder addAllCertificates( return this; } /** + * + * *
      * A list of certificates for the parent resource.
      * 
@@ -847,6 +933,8 @@ public Builder clearCertificates() { return this; } /** + * + * *
      * A list of certificates for the parent resource.
      * 
@@ -864,6 +952,8 @@ public Builder removeCertificates(int index) { return this; } /** + * + * *
      * A list of certificates for the parent resource.
      * 
@@ -875,6 +965,8 @@ public com.google.cloud.certificatemanager.v1.Certificate.Builder getCertificate return getCertificatesFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of certificates for the parent resource.
      * 
@@ -884,19 +976,22 @@ public com.google.cloud.certificatemanager.v1.Certificate.Builder getCertificate public com.google.cloud.certificatemanager.v1.CertificateOrBuilder getCertificatesOrBuilder( int index) { if (certificatesBuilder_ == null) { - return certificates_.get(index); } else { + return certificates_.get(index); + } else { return certificatesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of certificates for the parent resource.
      * 
* * repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1; */ - public java.util.List - getCertificatesOrBuilderList() { + public java.util.List + getCertificatesOrBuilderList() { if (certificatesBuilder_ != null) { return certificatesBuilder_.getMessageOrBuilderList(); } else { @@ -904,6 +999,8 @@ public com.google.cloud.certificatemanager.v1.CertificateOrBuilder getCertificat } } /** + * + * *
      * A list of certificates for the parent resource.
      * 
@@ -911,10 +1008,12 @@ public com.google.cloud.certificatemanager.v1.CertificateOrBuilder getCertificat * repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1; */ public com.google.cloud.certificatemanager.v1.Certificate.Builder addCertificatesBuilder() { - return getCertificatesFieldBuilder().addBuilder( - com.google.cloud.certificatemanager.v1.Certificate.getDefaultInstance()); + return getCertificatesFieldBuilder() + .addBuilder(com.google.cloud.certificatemanager.v1.Certificate.getDefaultInstance()); } /** + * + * *
      * A list of certificates for the parent resource.
      * 
@@ -923,30 +1022,36 @@ public com.google.cloud.certificatemanager.v1.Certificate.Builder addCertificate */ public com.google.cloud.certificatemanager.v1.Certificate.Builder addCertificatesBuilder( int index) { - return getCertificatesFieldBuilder().addBuilder( - index, com.google.cloud.certificatemanager.v1.Certificate.getDefaultInstance()); + return getCertificatesFieldBuilder() + .addBuilder( + index, com.google.cloud.certificatemanager.v1.Certificate.getDefaultInstance()); } /** + * + * *
      * A list of certificates for the parent resource.
      * 
* * repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1; */ - public java.util.List - getCertificatesBuilderList() { + public java.util.List + getCertificatesBuilderList() { return getCertificatesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.certificatemanager.v1.Certificate, com.google.cloud.certificatemanager.v1.Certificate.Builder, com.google.cloud.certificatemanager.v1.CertificateOrBuilder> + com.google.cloud.certificatemanager.v1.Certificate, + com.google.cloud.certificatemanager.v1.Certificate.Builder, + com.google.cloud.certificatemanager.v1.CertificateOrBuilder> getCertificatesFieldBuilder() { if (certificatesBuilder_ == null) { - certificatesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.certificatemanager.v1.Certificate, com.google.cloud.certificatemanager.v1.Certificate.Builder, com.google.cloud.certificatemanager.v1.CertificateOrBuilder>( - certificates_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + certificatesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.certificatemanager.v1.Certificate, + com.google.cloud.certificatemanager.v1.Certificate.Builder, + com.google.cloud.certificatemanager.v1.CertificateOrBuilder>( + certificates_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); certificates_ = null; } return certificatesBuilder_; @@ -954,6 +1059,8 @@ public com.google.cloud.certificatemanager.v1.Certificate.Builder addCertificate private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * If there might be more results than those appearing in this response, then
      * `next_page_token` is included. To get the next set of results, call this
@@ -961,13 +1068,13 @@ public com.google.cloud.certificatemanager.v1.Certificate.Builder addCertificate
      * 
* * 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; @@ -976,6 +1083,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If there might be more results than those appearing in this response, then
      * `next_page_token` is included. To get the next set of results, call this
@@ -983,15 +1092,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -999,6 +1107,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If there might be more results than those appearing in this response, then
      * `next_page_token` is included. To get the next set of results, call this
@@ -1006,20 +1116,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * If there might be more results than those appearing in this response, then
      * `next_page_token` is included. To get the next set of results, call this
@@ -1027,15 +1139,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * If there might be more results than those appearing in this response, then
      * `next_page_token` is included. To get the next set of results, call this
@@ -1043,57 +1158,67 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList unreachable_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * A list of locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** + * + * *
      * A list of locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * A list of locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1101,80 +1226,90 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * A list of locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * A list of locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { + public Builder setUnreachable(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** + * + * *
      * A list of locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { + public Builder addUnreachable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** + * + * *
      * A list of locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); onChanged(); return this; } /** + * + * *
      * A list of locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1184,28 +1319,30 @@ public Builder clearUnreachable() { return this; } /** + * + * *
      * A list of locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1215,41 +1352,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.ListCertificatesResponse) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.ListCertificatesResponse) - private static final com.google.cloud.certificatemanager.v1.ListCertificatesResponse DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.ListCertificatesResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.ListCertificatesResponse(); } - public static com.google.cloud.certificatemanager.v1.ListCertificatesResponse getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.ListCertificatesResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListCertificatesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListCertificatesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1261,9 +1400,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.certificatemanager.v1.ListCertificatesResponse getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.ListCertificatesResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponseOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponseOrBuilder.java similarity index 75% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponseOrBuilder.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponseOrBuilder.java index f5fdc75de1cc..ef36a5737cf0 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponseOrBuilder.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponseOrBuilder.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/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; -public interface ListCertificatesResponseOrBuilder extends +public interface ListCertificatesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.ListCertificatesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of certificates for the parent resource.
    * 
* * repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1; */ - java.util.List - getCertificatesList(); + java.util.List getCertificatesList(); /** + * + * *
    * A list of certificates for the parent resource.
    * 
@@ -25,6 +44,8 @@ public interface ListCertificatesResponseOrBuilder extends */ com.google.cloud.certificatemanager.v1.Certificate getCertificates(int index); /** + * + * *
    * A list of certificates for the parent resource.
    * 
@@ -33,25 +54,30 @@ public interface ListCertificatesResponseOrBuilder extends */ int getCertificatesCount(); /** + * + * *
    * A list of certificates for the parent resource.
    * 
* * repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1; */ - java.util.List + java.util.List getCertificatesOrBuilderList(); /** + * + * *
    * A list of certificates for the parent resource.
    * 
* * repeated .google.cloud.certificatemanager.v1.Certificate certificates = 1; */ - com.google.cloud.certificatemanager.v1.CertificateOrBuilder getCertificatesOrBuilder( - int index); + com.google.cloud.certificatemanager.v1.CertificateOrBuilder getCertificatesOrBuilder(int index); /** + * + * *
    * If there might be more results than those appearing in this response, then
    * `next_page_token` is included. To get the next set of results, call this
@@ -59,10 +85,13 @@ com.google.cloud.certificatemanager.v1.CertificateOrBuilder getCertificatesOrBui
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * If there might be more results than those appearing in this response, then
    * `next_page_token` is included. To get the next set of results, call this
@@ -70,49 +99,59 @@ com.google.cloud.certificatemanager.v1.CertificateOrBuilder getCertificatesOrBui
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * A list of locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * A list of locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * A list of locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * A list of locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequest.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequest.java similarity index 68% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequest.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequest.java index 03df0ae34b07..dd1b4cf92454 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequest.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequest.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/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; /** + * + * *
  * Request for the `ListDnsAuthorizations` method.
  * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest} */ -public final class ListDnsAuthorizationsRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDnsAuthorizationsRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest) ListDnsAuthorizationsRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDnsAuthorizationsRequest.newBuilder() to construct. private ListDnsAuthorizationsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDnsAuthorizationsRequest() { parent_ = ""; pageToken_ = ""; @@ -28,38 +46,44 @@ private ListDnsAuthorizationsRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDnsAuthorizationsRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest.class, com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest.Builder.class); + com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest.class, + com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest.Builder.class); } public static final int PARENT_FIELD_NUMBER = 1; private volatile java.lang.Object parent_; /** + * + * *
    * Required. The project and location from which the dns authorizations should
    * be listed, 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 @@ -68,30 +92,32 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** + * + * *
    * Required. The project and location from which the dns authorizations should
    * be listed, 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 { @@ -102,11 +128,14 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Maximum number of dns authorizations to return per call.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -117,6 +146,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * The value returned by the last `ListDnsAuthorizationsResponse`. Indicates
    * that this is a continuation of a prior `ListDnsAuthorizations` call, and
@@ -124,6 +155,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -132,14 +164,15 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** + * + * *
    * The value returned by the last `ListDnsAuthorizationsResponse`. Indicates
    * that this is a continuation of a prior `ListDnsAuthorizations` call, and
@@ -147,16 +180,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -167,11 +199,14 @@ public java.lang.String getPageToken() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** + * + * *
    * Filter expression to restrict the Dns Authorizations returned.
    * 
* * string filter = 4; + * * @return The filter. */ @java.lang.Override @@ -180,29 +215,29 @@ public java.lang.String getFilter() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); filter_ = s; return s; } } /** + * + * *
    * Filter expression to restrict the Dns Authorizations returned.
    * 
* * 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 { @@ -213,6 +248,8 @@ public java.lang.String getFilter() { public static final int ORDER_BY_FIELD_NUMBER = 5; private volatile java.lang.Object orderBy_; /** + * + * *
    * A list of Dns Authorization field names used to specify the order of the
    * returned results. The default sorting order is ascending. To specify
@@ -220,6 +257,7 @@ public java.lang.String getFilter() {
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -228,14 +266,15 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * A list of Dns Authorization field names used to specify the order of the
    * returned results. The default sorting order is ascending. To specify
@@ -243,16 +282,15 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -261,6 +299,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -272,8 +311,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -302,8 +340,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -322,23 +359,19 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest other = (com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest) obj; - - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest other = + (com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest) obj; + + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -366,129 +399,138 @@ public int hashCode() { } public static com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest parseDelimitedFrom( - java.io.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.certificatemanager.v1.ListDnsAuthorizationsRequest + parseDelimitedFrom( + java.io.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.certificatemanager.v1.ListDnsAuthorizationsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 `ListDnsAuthorizations` method.
    * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest) com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest.class, com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest.Builder.class); + com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest.class, + com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest.Builder.class); } - // Construct using com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -506,14 +548,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsRequest_descriptor; } @java.lang.Override - public com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest getDefaultInstanceForType() { - return com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest.getDefaultInstance(); + public com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest + getDefaultInstanceForType() { + return com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest + .getDefaultInstance(); } @java.lang.Override @@ -527,7 +571,8 @@ public com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest build @java.lang.Override public com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest buildPartial() { - com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest result = new com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest(this); + com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest result = + new com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest(this); result.parent_ = parent_; result.pageSize_ = pageSize_; result.pageToken_ = pageToken_; @@ -541,46 +586,51 @@ public com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest 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.certificatemanager.v1.ListDnsAuthorizationsRequest) { - return mergeFrom((com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest)other); + return mergeFrom( + (com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest other) { - if (other == com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest other) { + if (other + == com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest + .getDefaultInstance()) return this; if (!other.getParent().isEmpty()) { parent_ = other.parent_; onChanged(); @@ -626,37 +676,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - parent_ = input.readStringRequireUtf8(); + case 10: + { + parent_ = input.readStringRequireUtf8(); - break; - } // case 10 - case 16: { - pageSize_ = input.readInt32(); + break; + } // case 10 + case 16: + { + pageSize_ = input.readInt32(); - break; - } // case 16 - case 26: { - pageToken_ = input.readStringRequireUtf8(); + break; + } // case 16 + case 26: + { + pageToken_ = input.readStringRequireUtf8(); - break; - } // case 26 - case 34: { - filter_ = input.readStringRequireUtf8(); + break; + } // case 26 + case 34: + { + filter_ = input.readStringRequireUtf8(); - break; - } // case 34 - case 42: { - orderBy_ = input.readStringRequireUtf8(); + break; + } // case 34 + case 42: + { + orderBy_ = input.readStringRequireUtf8(); - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -669,19 +725,23 @@ public Builder mergeFrom( private java.lang.Object parent_ = ""; /** + * + * *
      * Required. The project and location from which the dns authorizations should
      * be listed, 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; @@ -690,21 +750,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The project and location from which the dns authorizations should
      * be listed, 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 { @@ -712,69 +775,85 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. The project and location from which the dns authorizations should
      * be listed, 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 the dns authorizations should
      * be listed, 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 the dns authorizations should
      * be listed, 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 dns authorizations to return per call.
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -782,30 +861,36 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Maximum number of dns authorizations to return per call.
      * 
* * 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 dns authorizations to return per call.
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -813,6 +898,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * The value returned by the last `ListDnsAuthorizationsResponse`. Indicates
      * that this is a continuation of a prior `ListDnsAuthorizations` call, and
@@ -820,13 +907,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -835,6 +922,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The value returned by the last `ListDnsAuthorizationsResponse`. Indicates
      * that this is a continuation of a prior `ListDnsAuthorizations` call, and
@@ -842,15 +931,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -858,6 +946,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The value returned by the last `ListDnsAuthorizationsResponse`. Indicates
      * that this is a continuation of a prior `ListDnsAuthorizations` call, and
@@ -865,20 +955,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * The value returned by the last `ListDnsAuthorizationsResponse`. Indicates
      * that this is a continuation of a prior `ListDnsAuthorizations` call, and
@@ -886,15 +978,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * The value returned by the last `ListDnsAuthorizationsResponse`. Indicates
      * that this is a continuation of a prior `ListDnsAuthorizations` call, and
@@ -902,16 +997,16 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -919,18 +1014,20 @@ public Builder setPageTokenBytes( private java.lang.Object filter_ = ""; /** + * + * *
      * Filter expression to restrict the Dns Authorizations returned.
      * 
* * 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; @@ -939,20 +1036,21 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filter expression to restrict the Dns Authorizations returned.
      * 
* * 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,54 +1058,61 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Filter expression to restrict the Dns Authorizations returned.
      * 
* * 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 Dns Authorizations returned.
      * 
* * string filter = 4; + * * @return This builder for chaining. */ public Builder clearFilter() { - + filter_ = getDefaultInstance().getFilter(); onChanged(); return this; } /** + * + * *
      * Filter expression to restrict the Dns Authorizations returned.
      * 
* * 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; @@ -1015,6 +1120,8 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * A list of Dns Authorization field names used to specify the order of the
      * returned results. The default sorting order is ascending. To specify
@@ -1022,13 +1129,13 @@ public Builder setFilterBytes(
      * 
* * string order_by = 5; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1037,6 +1144,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * A list of Dns Authorization field names used to specify the order of the
      * returned results. The default sorting order is ascending. To specify
@@ -1044,15 +1153,14 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1060,6 +1168,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * A list of Dns Authorization field names used to specify the order of the
      * returned results. The default sorting order is ascending. To specify
@@ -1067,20 +1177,22 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 5; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { + public Builder setOrderBy(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + orderBy_ = value; onChanged(); return this; } /** + * + * *
      * A list of Dns Authorization field names used to specify the order of the
      * returned results. The default sorting order is ascending. To specify
@@ -1088,15 +1200,18 @@ public Builder setOrderBy(
      * 
* * string order_by = 5; + * * @return This builder for chaining. */ public Builder clearOrderBy() { - + orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /** + * + * *
      * A list of Dns Authorization field names used to specify the order of the
      * returned results. The default sorting order is ascending. To specify
@@ -1104,23 +1219,23 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 5; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + orderBy_ = 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); } @@ -1130,41 +1245,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest) - private static final com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest(); } - public static com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDnsAuthorizationsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDnsAuthorizationsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1176,9 +1293,8 @@ public com.google.protobuf.Parser getParserForType } @java.lang.Override - public com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequestOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequestOrBuilder.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequestOrBuilder.java index 6d05de1ce769..2bd8f3064848 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequestOrBuilder.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequestOrBuilder.java @@ -1,45 +1,75 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; -public interface ListDnsAuthorizationsRequestOrBuilder extends +public interface ListDnsAuthorizationsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The project and location from which the dns authorizations should
    * be listed, 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 the dns authorizations should
    * be listed, 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 dns authorizations to return per call.
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The value returned by the last `ListDnsAuthorizationsResponse`. Indicates
    * that this is a continuation of a prior `ListDnsAuthorizations` call, and
@@ -47,10 +77,13 @@ public interface ListDnsAuthorizationsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The value returned by the last `ListDnsAuthorizationsResponse`. Indicates
    * that this is a continuation of a prior `ListDnsAuthorizations` call, and
@@ -58,32 +91,39 @@ public interface ListDnsAuthorizationsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Filter expression to restrict the Dns Authorizations returned.
    * 
* * string filter = 4; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Filter expression to restrict the Dns Authorizations returned.
    * 
* * string filter = 4; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * A list of Dns Authorization field names used to specify the order of the
    * returned results. The default sorting order is ascending. To specify
@@ -91,10 +131,13 @@ public interface ListDnsAuthorizationsRequestOrBuilder extends
    * 
* * string order_by = 5; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * A list of Dns Authorization field names used to specify the order of the
    * returned results. The default sorting order is ascending. To specify
@@ -102,8 +145,8 @@ public interface ListDnsAuthorizationsRequestOrBuilder extends
    * 
* * string order_by = 5; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponse.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponse.java similarity index 69% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponse.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponse.java index 0ad954b10674..b4d992a685c9 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponse.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponse.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/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; /** + * + * *
  * Response for the `ListDnsAuthorizations` method.
  * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse} */ -public final class ListDnsAuthorizationsResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ListDnsAuthorizationsResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse) ListDnsAuthorizationsResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ListDnsAuthorizationsResponse.newBuilder() to construct. private ListDnsAuthorizationsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ListDnsAuthorizationsResponse() { dnsAuthorizations_ = java.util.Collections.emptyList(); nextPageToken_ = ""; @@ -27,92 +45,112 @@ private ListDnsAuthorizationsResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ListDnsAuthorizationsResponse(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsResponse_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsResponse_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse.class, com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse.Builder.class); + com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse.class, + com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse.Builder.class); } public static final int DNS_AUTHORIZATIONS_FIELD_NUMBER = 1; - private java.util.List dnsAuthorizations_; + private java.util.List + dnsAuthorizations_; /** + * + * *
    * A list of dns authorizations for the parent resource.
    * 
* - * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * */ @java.lang.Override - public java.util.List getDnsAuthorizationsList() { + public java.util.List + getDnsAuthorizationsList() { return dnsAuthorizations_; } /** + * + * *
    * A list of dns authorizations for the parent resource.
    * 
* - * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List getDnsAuthorizationsOrBuilderList() { return dnsAuthorizations_; } /** + * + * *
    * A list of dns authorizations for the parent resource.
    * 
* - * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * */ @java.lang.Override public int getDnsAuthorizationsCount() { return dnsAuthorizations_.size(); } /** + * + * *
    * A list of dns authorizations for the parent resource.
    * 
* - * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * */ @java.lang.Override public com.google.cloud.certificatemanager.v1.DnsAuthorization getDnsAuthorizations(int index) { return dnsAuthorizations_.get(index); } /** + * + * *
    * A list of dns authorizations for the parent resource.
    * 
* - * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder getDnsAuthorizationsOrBuilder( - int index) { + public com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder + getDnsAuthorizationsOrBuilder(int index) { return dnsAuthorizations_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; private volatile java.lang.Object nextPageToken_; /** + * + * *
    * If there might be more results than those appearing in this response, then
    * `next_page_token` is included. To get the next set of results, call this
@@ -120,6 +158,7 @@ public com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder getDnsAu
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -128,14 +167,15 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * If there might be more results than those appearing in this response, then
    * `next_page_token` is included. To get the next set of results, call this
@@ -143,16 +183,15 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -163,34 +202,42 @@ public java.lang.String getNextPageToken() { public static final int UNREACHABLE_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList unreachable_; /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_; } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -198,20 +245,23 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -223,8 +273,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < dnsAuthorizations_.size(); i++) { output.writeMessage(1, dnsAuthorizations_.get(i)); } @@ -244,8 +293,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < dnsAuthorizations_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, dnsAuthorizations_.get(i)); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize(1, dnsAuthorizations_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -266,19 +315,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.certificatemanager.v1.ListDnsAuthorizationsResponse)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse other = (com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse) obj; + com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse other = + (com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse) obj; - if (!getDnsAuthorizationsList() - .equals(other.getDnsAuthorizationsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; - if (!getUnreachableList() - .equals(other.getUnreachableList())) return false; + if (!getDnsAuthorizationsList().equals(other.getDnsAuthorizationsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getUnreachableList().equals(other.getUnreachableList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -306,129 +353,138 @@ public int hashCode() { } public static com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse parseDelimitedFrom( - java.io.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.certificatemanager.v1.ListDnsAuthorizationsResponse + parseDelimitedFrom( + java.io.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.certificatemanager.v1.ListDnsAuthorizationsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 `ListDnsAuthorizations` method.
    * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse) com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsResponse_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse.class, com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse.Builder.class); + com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse.class, + com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse.Builder.class); } - // Construct using com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -447,14 +503,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsResponse_descriptor; } @java.lang.Override - public com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse getDefaultInstanceForType() { - return com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse.getDefaultInstance(); + public com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse + getDefaultInstanceForType() { + return com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse + .getDefaultInstance(); } @java.lang.Override @@ -468,7 +526,8 @@ public com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse buil @java.lang.Override public com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse buildPartial() { - com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse result = new com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse(this); + com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse result = + new com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse(this); int from_bitField0_ = bitField0_; if (dnsAuthorizationsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -493,46 +552,51 @@ public com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse 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.certificatemanager.v1.ListDnsAuthorizationsResponse) { - return mergeFrom((com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse)other); + return mergeFrom( + (com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse other) { - if (other == com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse other) { + if (other + == com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse + .getDefaultInstance()) return this; if (dnsAuthorizationsBuilder_ == null) { if (!other.dnsAuthorizations_.isEmpty()) { if (dnsAuthorizations_.isEmpty()) { @@ -551,9 +615,10 @@ public Builder mergeFrom(com.google.cloud.certificatemanager.v1.ListDnsAuthoriza dnsAuthorizationsBuilder_ = null; dnsAuthorizations_ = other.dnsAuthorizations_; bitField0_ = (bitField0_ & ~0x00000001); - dnsAuthorizationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDnsAuthorizationsFieldBuilder() : null; + dnsAuthorizationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDnsAuthorizationsFieldBuilder() + : null; } else { dnsAuthorizationsBuilder_.addAllMessages(other.dnsAuthorizations_); } @@ -599,36 +664,40 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.certificatemanager.v1.DnsAuthorization m = - input.readMessage( - com.google.cloud.certificatemanager.v1.DnsAuthorization.parser(), - extensionRegistry); - if (dnsAuthorizationsBuilder_ == null) { - ensureDnsAuthorizationsIsMutable(); - dnsAuthorizations_.add(m); - } else { - dnsAuthorizationsBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - nextPageToken_ = input.readStringRequireUtf8(); + case 10: + { + com.google.cloud.certificatemanager.v1.DnsAuthorization m = + input.readMessage( + com.google.cloud.certificatemanager.v1.DnsAuthorization.parser(), + extensionRegistry); + if (dnsAuthorizationsBuilder_ == null) { + ensureDnsAuthorizationsIsMutable(); + dnsAuthorizations_.add(m); + } else { + dnsAuthorizationsBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + nextPageToken_ = input.readStringRequireUtf8(); - break; - } // case 18 - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - ensureUnreachableIsMutable(); - unreachable_.add(s); - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureUnreachableIsMutable(); + unreachable_.add(s); + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -638,28 +707,39 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List dnsAuthorizations_ = - java.util.Collections.emptyList(); + private java.util.List + dnsAuthorizations_ = java.util.Collections.emptyList(); + private void ensureDnsAuthorizationsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - dnsAuthorizations_ = new java.util.ArrayList(dnsAuthorizations_); + dnsAuthorizations_ = + new java.util.ArrayList( + dnsAuthorizations_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.certificatemanager.v1.DnsAuthorization, com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder, com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder> dnsAuthorizationsBuilder_; + com.google.cloud.certificatemanager.v1.DnsAuthorization, + com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder, + com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder> + dnsAuthorizationsBuilder_; /** + * + * *
      * A list of dns authorizations for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * */ - public java.util.List getDnsAuthorizationsList() { + public java.util.List + getDnsAuthorizationsList() { if (dnsAuthorizationsBuilder_ == null) { return java.util.Collections.unmodifiableList(dnsAuthorizations_); } else { @@ -667,11 +747,14 @@ public java.util.List g } } /** + * + * *
      * A list of dns authorizations for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * */ public int getDnsAuthorizationsCount() { if (dnsAuthorizationsBuilder_ == null) { @@ -681,11 +764,14 @@ public int getDnsAuthorizationsCount() { } } /** + * + * *
      * A list of dns authorizations for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * */ public com.google.cloud.certificatemanager.v1.DnsAuthorization getDnsAuthorizations(int index) { if (dnsAuthorizationsBuilder_ == null) { @@ -695,11 +781,14 @@ public com.google.cloud.certificatemanager.v1.DnsAuthorization getDnsAuthorizati } } /** + * + * *
      * A list of dns authorizations for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * */ public Builder setDnsAuthorizations( int index, com.google.cloud.certificatemanager.v1.DnsAuthorization value) { @@ -716,14 +805,18 @@ public Builder setDnsAuthorizations( return this; } /** + * + * *
      * A list of dns authorizations for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * */ public Builder setDnsAuthorizations( - int index, com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder builderForValue) { + int index, + com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder builderForValue) { if (dnsAuthorizationsBuilder_ == null) { ensureDnsAuthorizationsIsMutable(); dnsAuthorizations_.set(index, builderForValue.build()); @@ -734,13 +827,17 @@ public Builder setDnsAuthorizations( return this; } /** + * + * *
      * A list of dns authorizations for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * */ - public Builder addDnsAuthorizations(com.google.cloud.certificatemanager.v1.DnsAuthorization value) { + public Builder addDnsAuthorizations( + com.google.cloud.certificatemanager.v1.DnsAuthorization value) { if (dnsAuthorizationsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -754,11 +851,14 @@ public Builder addDnsAuthorizations(com.google.cloud.certificatemanager.v1.DnsAu return this; } /** + * + * *
      * A list of dns authorizations for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * */ public Builder addDnsAuthorizations( int index, com.google.cloud.certificatemanager.v1.DnsAuthorization value) { @@ -775,11 +875,14 @@ public Builder addDnsAuthorizations( return this; } /** + * + * *
      * A list of dns authorizations for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * */ public Builder addDnsAuthorizations( com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder builderForValue) { @@ -793,14 +896,18 @@ public Builder addDnsAuthorizations( return this; } /** + * + * *
      * A list of dns authorizations for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * */ public Builder addDnsAuthorizations( - int index, com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder builderForValue) { + int index, + com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder builderForValue) { if (dnsAuthorizationsBuilder_ == null) { ensureDnsAuthorizationsIsMutable(); dnsAuthorizations_.add(index, builderForValue.build()); @@ -811,18 +918,21 @@ public Builder addDnsAuthorizations( return this; } /** + * + * *
      * A list of dns authorizations for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * */ public Builder addAllDnsAuthorizations( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (dnsAuthorizationsBuilder_ == null) { ensureDnsAuthorizationsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, dnsAuthorizations_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, dnsAuthorizations_); onChanged(); } else { dnsAuthorizationsBuilder_.addAllMessages(values); @@ -830,11 +940,14 @@ public Builder addAllDnsAuthorizations( return this; } /** + * + * *
      * A list of dns authorizations for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * */ public Builder clearDnsAuthorizations() { if (dnsAuthorizationsBuilder_ == null) { @@ -847,11 +960,14 @@ public Builder clearDnsAuthorizations() { return this; } /** + * + * *
      * A list of dns authorizations for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * */ public Builder removeDnsAuthorizations(int index) { if (dnsAuthorizationsBuilder_ == null) { @@ -864,39 +980,50 @@ public Builder removeDnsAuthorizations(int index) { return this; } /** + * + * *
      * A list of dns authorizations for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * */ - public com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder getDnsAuthorizationsBuilder( - int index) { + public com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder + getDnsAuthorizationsBuilder(int index) { return getDnsAuthorizationsFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of dns authorizations for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * */ - public com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder getDnsAuthorizationsOrBuilder( - int index) { + public com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder + getDnsAuthorizationsOrBuilder(int index) { if (dnsAuthorizationsBuilder_ == null) { - return dnsAuthorizations_.get(index); } else { + return dnsAuthorizations_.get(index); + } else { return dnsAuthorizationsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * A list of dns authorizations for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * */ - public java.util.List - getDnsAuthorizationsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder> + getDnsAuthorizationsOrBuilderList() { if (dnsAuthorizationsBuilder_ != null) { return dnsAuthorizationsBuilder_.getMessageOrBuilderList(); } else { @@ -904,45 +1031,62 @@ public com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder getDnsAu } } /** + * + * *
      * A list of dns authorizations for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * */ - public com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder addDnsAuthorizationsBuilder() { - return getDnsAuthorizationsFieldBuilder().addBuilder( - com.google.cloud.certificatemanager.v1.DnsAuthorization.getDefaultInstance()); + public com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder + addDnsAuthorizationsBuilder() { + return getDnsAuthorizationsFieldBuilder() + .addBuilder(com.google.cloud.certificatemanager.v1.DnsAuthorization.getDefaultInstance()); } /** + * + * *
      * A list of dns authorizations for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * */ - public com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder addDnsAuthorizationsBuilder( - int index) { - return getDnsAuthorizationsFieldBuilder().addBuilder( - index, com.google.cloud.certificatemanager.v1.DnsAuthorization.getDefaultInstance()); + public com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder + addDnsAuthorizationsBuilder(int index) { + return getDnsAuthorizationsFieldBuilder() + .addBuilder( + index, com.google.cloud.certificatemanager.v1.DnsAuthorization.getDefaultInstance()); } /** + * + * *
      * A list of dns authorizations for the parent resource.
      * 
* - * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * */ - public java.util.List - getDnsAuthorizationsBuilderList() { + public java.util.List + getDnsAuthorizationsBuilderList() { return getDnsAuthorizationsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.certificatemanager.v1.DnsAuthorization, com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder, com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder> + com.google.cloud.certificatemanager.v1.DnsAuthorization, + com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder, + com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder> getDnsAuthorizationsFieldBuilder() { if (dnsAuthorizationsBuilder_ == null) { - dnsAuthorizationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.certificatemanager.v1.DnsAuthorization, com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder, com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder>( + dnsAuthorizationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.certificatemanager.v1.DnsAuthorization, + com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder, + com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder>( dnsAuthorizations_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -954,6 +1098,8 @@ public com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder addDnsAut private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * If there might be more results than those appearing in this response, then
      * `next_page_token` is included. To get the next set of results, call this
@@ -961,13 +1107,13 @@ public com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder addDnsAut
      * 
* * 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; @@ -976,6 +1122,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If there might be more results than those appearing in this response, then
      * `next_page_token` is included. To get the next set of results, call this
@@ -983,15 +1131,14 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString - getNextPageTokenBytes() { + public com.google.protobuf.ByteString getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -999,6 +1146,8 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * If there might be more results than those appearing in this response, then
      * `next_page_token` is included. To get the next set of results, call this
@@ -1006,20 +1155,22 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** + * + * *
      * If there might be more results than those appearing in this response, then
      * `next_page_token` is included. To get the next set of results, call this
@@ -1027,15 +1178,18 @@ public Builder setNextPageToken(
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** + * + * *
      * If there might be more results than those appearing in this response, then
      * `next_page_token` is included. To get the next set of results, call this
@@ -1043,57 +1197,67 @@ public Builder clearNextPageToken() {
      * 
* * string next_page_token = 2; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - private com.google.protobuf.LazyStringList unreachable_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private com.google.protobuf.LazyStringList unreachable_ = + com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureUnreachableIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { unreachable_ = new com.google.protobuf.LazyStringArrayList(unreachable_); bitField0_ |= 0x00000002; - } + } } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - public com.google.protobuf.ProtocolStringList - getUnreachableList() { + public com.google.protobuf.ProtocolStringList getUnreachableList() { return unreachable_.getUnmodifiableView(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ public int getUnreachableCount() { return unreachable_.size(); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ @@ -1101,80 +1265,90 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString - getUnreachableBytes(int index) { + public com.google.protobuf.ByteString getUnreachableBytes(int index) { return unreachable_.getByteString(index); } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param index The index to set the value at. * @param value The unreachable to set. * @return This builder for chaining. */ - public Builder setUnreachable( - int index, java.lang.String value) { + public Builder setUnreachable(int index, java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.set(index, value); onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachable( - java.lang.String value) { + public Builder addUnreachable(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - ensureUnreachableIsMutable(); + throw new NullPointerException(); + } + ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param values The unreachable to add. * @return This builder for chaining. */ - public Builder addAllUnreachable( - java.lang.Iterable values) { + public Builder addAllUnreachable(java.lang.Iterable values) { ensureUnreachableIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, unreachable_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, unreachable_); onChanged(); return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @return This builder for chaining. */ public Builder clearUnreachable() { @@ -1184,28 +1358,30 @@ public Builder clearUnreachable() { return this; } /** + * + * *
      * Locations that could not be reached.
      * 
* * repeated string unreachable = 3; + * * @param value The bytes of the unreachable to add. * @return This builder for chaining. */ - public Builder addUnreachableBytes( - com.google.protobuf.ByteString value) { + public Builder addUnreachableBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); ensureUnreachableIsMutable(); unreachable_.add(value); onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1215,41 +1391,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse) - private static final com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse(); } - public static com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListDnsAuthorizationsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListDnsAuthorizationsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1261,9 +1439,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponseOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponseOrBuilder.java similarity index 72% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponseOrBuilder.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponseOrBuilder.java index 66639dac8aca..8d9973a6057a 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponseOrBuilder.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponseOrBuilder.java @@ -1,57 +1,90 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; -public interface ListDnsAuthorizationsResponseOrBuilder extends +public interface ListDnsAuthorizationsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A list of dns authorizations for the parent resource.
    * 
* - * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * */ - java.util.List + java.util.List getDnsAuthorizationsList(); /** + * + * *
    * A list of dns authorizations for the parent resource.
    * 
* - * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * */ com.google.cloud.certificatemanager.v1.DnsAuthorization getDnsAuthorizations(int index); /** + * + * *
    * A list of dns authorizations for the parent resource.
    * 
* - * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * */ int getDnsAuthorizationsCount(); /** + * + * *
    * A list of dns authorizations for the parent resource.
    * 
* - * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * */ - java.util.List + java.util.List getDnsAuthorizationsOrBuilderList(); /** + * + * *
    * A list of dns authorizations for the parent resource.
    * 
* - * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * repeated .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorizations = 1; + * */ com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder getDnsAuthorizationsOrBuilder( int index); /** + * + * *
    * If there might be more results than those appearing in this response, then
    * `next_page_token` is included. To get the next set of results, call this
@@ -59,10 +92,13 @@ com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder getDnsAuthoriza
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * If there might be more results than those appearing in this response, then
    * `next_page_token` is included. To get the next set of results, call this
@@ -70,49 +106,59 @@ com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder getDnsAuthoriza
    * 
* * string next_page_token = 2; + * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString - getNextPageTokenBytes(); + com.google.protobuf.ByteString getNextPageTokenBytes(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return A list containing the unreachable. */ - java.util.List - getUnreachableList(); + java.util.List getUnreachableList(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @return The count of unreachable. */ int getUnreachableCount(); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the element to return. * @return The unreachable at the given index. */ java.lang.String getUnreachable(int index); /** + * + * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; + * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - com.google.protobuf.ByteString - getUnreachableBytes(int index); + com.google.protobuf.ByteString getUnreachableBytes(int index); } diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/LocationName.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/LocationName.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/LocationName.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/LocationName.java diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadata.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadata.java similarity index 73% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadata.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadata.java index 0e471945c7d9..559647831c47 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadata.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadata.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; /** + * + * *
  * Represents the metadata of the long-running operation. Output only.
  * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.OperationMetadata} */ -public final class OperationMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class OperationMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.OperationMetadata) OperationMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use OperationMetadata.newBuilder() to construct. private OperationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private OperationMetadata() { target_ = ""; verb_ = ""; @@ -28,37 +46,41 @@ 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; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_OperationMetadata_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.OperationMetadata.class, com.google.cloud.certificatemanager.v1.OperationMetadata.Builder.class); + com.google.cloud.certificatemanager.v1.OperationMetadata.class, + com.google.cloud.certificatemanager.v1.OperationMetadata.Builder.class); } public static final int CREATE_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -66,11 +88,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 @@ -78,6 +103,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time the operation was created.
    * 
@@ -92,11 +119,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 @@ -104,11 +134,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 @@ -116,6 +149,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The time the operation finished running.
    * 
@@ -130,11 +165,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 @@ -143,29 +181,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 { @@ -176,11 +214,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 @@ -189,29 +230,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 { @@ -222,11 +263,14 @@ public java.lang.String getVerb() { public static final int STATUS_MESSAGE_FIELD_NUMBER = 5; private volatile java.lang.Object statusMessage_; /** + * + * *
    * Human-readable status of the operation, if any.
    * 
* * string status_message = 5; + * * @return The statusMessage. */ @java.lang.Override @@ -235,29 +279,29 @@ public java.lang.String getStatusMessage() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; } } /** + * + * *
    * Human-readable status of the operation, if any.
    * 
* * string status_message = 5; + * * @return The bytes for statusMessage. */ @java.lang.Override - public com.google.protobuf.ByteString - getStatusMessageBytes() { + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -268,6 +312,8 @@ public java.lang.String getStatusMessage() { public static final int REQUESTED_CANCELLATION_FIELD_NUMBER = 6; private boolean requestedCancellation_; /** + * + * *
    * Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -277,6 +323,7 @@ public java.lang.String getStatusMessage() {
    * 
* * bool requested_cancellation = 6; + * * @return The requestedCancellation. */ @java.lang.Override @@ -287,11 +334,14 @@ public boolean getRequestedCancellation() { public static final int API_VERSION_FIELD_NUMBER = 7; private volatile java.lang.Object apiVersion_; /** + * + * *
    * API version used to start the operation.
    * 
* * string api_version = 7; + * * @return The apiVersion. */ @java.lang.Override @@ -300,29 +350,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 = 7; + * * @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 { @@ -331,6 +381,7 @@ public java.lang.String getApiVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -342,8 +393,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -375,12 +425,10 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); @@ -392,8 +440,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, statusMessage_); } if (requestedCancellation_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(6, requestedCancellation_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, requestedCancellation_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiVersion_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, apiVersion_); @@ -406,33 +453,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.certificatemanager.v1.OperationMetadata)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.OperationMetadata other = (com.google.cloud.certificatemanager.v1.OperationMetadata) obj; + com.google.cloud.certificatemanager.v1.OperationMetadata other = + (com.google.cloud.certificatemanager.v1.OperationMetadata) obj; if (hasCreateTime() != other.hasCreateTime()) return false; if (hasCreateTime()) { - if (!getCreateTime() - .equals(other.getCreateTime())) return false; + if (!getCreateTime().equals(other.getCreateTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; - } - if (!getTarget() - .equals(other.getTarget())) return false; - if (!getVerb() - .equals(other.getVerb())) return false; - if (!getStatusMessage() - .equals(other.getStatusMessage())) return false; - if (getRequestedCancellation() - != other.getRequestedCancellation()) return false; - if (!getApiVersion() - .equals(other.getApiVersion())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; + } + if (!getTarget().equals(other.getTarget())) return false; + if (!getVerb().equals(other.getVerb())) return false; + if (!getStatusMessage().equals(other.getStatusMessage())) return false; + if (getRequestedCancellation() != other.getRequestedCancellation()) return false; + if (!getApiVersion().equals(other.getApiVersion())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -459,8 +500,7 @@ public int hashCode() { hash = (37 * hash) + STATUS_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getStatusMessage().hashCode(); hash = (37 * hash) + REQUESTED_CANCELLATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getRequestedCancellation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequestedCancellation()); hash = (37 * hash) + API_VERSION_FIELD_NUMBER; hash = (53 * hash) + getApiVersion().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); @@ -469,129 +509,136 @@ public int hashCode() { } public static com.google.cloud.certificatemanager.v1.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.certificatemanager.v1.OperationMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.OperationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.OperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.OperationMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.OperationMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.OperationMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.OperationMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.OperationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.OperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.OperationMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.OperationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.OperationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.OperationMetadata prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.OperationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Represents the metadata of the long-running operation. Output only.
    * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.OperationMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.OperationMetadata) com.google.cloud.certificatemanager.v1.OperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_OperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_OperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_OperationMetadata_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_OperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.OperationMetadata.class, com.google.cloud.certificatemanager.v1.OperationMetadata.Builder.class); + com.google.cloud.certificatemanager.v1.OperationMetadata.class, + com.google.cloud.certificatemanager.v1.OperationMetadata.Builder.class); } // Construct using com.google.cloud.certificatemanager.v1.OperationMetadata.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -621,9 +668,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_OperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_OperationMetadata_descriptor; } @java.lang.Override @@ -642,7 +689,8 @@ public com.google.cloud.certificatemanager.v1.OperationMetadata build() { @java.lang.Override public com.google.cloud.certificatemanager.v1.OperationMetadata buildPartial() { - com.google.cloud.certificatemanager.v1.OperationMetadata result = new com.google.cloud.certificatemanager.v1.OperationMetadata(this); + com.google.cloud.certificatemanager.v1.OperationMetadata result = + new com.google.cloud.certificatemanager.v1.OperationMetadata(this); if (createTimeBuilder_ == null) { result.createTime_ = createTime_; } else { @@ -666,38 +714,39 @@ public com.google.cloud.certificatemanager.v1.OperationMetadata buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.certificatemanager.v1.OperationMetadata) { - return mergeFrom((com.google.cloud.certificatemanager.v1.OperationMetadata)other); + return mergeFrom((com.google.cloud.certificatemanager.v1.OperationMetadata) other); } else { super.mergeFrom(other); return this; @@ -705,7 +754,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.certificatemanager.v1.OperationMetadata other) { - if (other == com.google.cloud.certificatemanager.v1.OperationMetadata.getDefaultInstance()) return this; + if (other == com.google.cloud.certificatemanager.v1.OperationMetadata.getDefaultInstance()) + return this; if (other.hasCreateTime()) { mergeCreateTime(other.getCreateTime()); } @@ -757,51 +807,55 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 10 - case 18: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - - break; - } // case 18 - case 26: { - target_ = input.readStringRequireUtf8(); - - break; - } // case 26 - case 34: { - verb_ = input.readStringRequireUtf8(); - - break; - } // case 34 - case 42: { - statusMessage_ = input.readStringRequireUtf8(); - - break; - } // case 42 - case 48: { - requestedCancellation_ = input.readBool(); - - break; - } // case 48 - case 58: { - apiVersion_ = input.readStringRequireUtf8(); - - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 10 + case 18: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + + break; + } // case 18 + case 26: + { + target_ = input.readStringRequireUtf8(); + + break; + } // case 26 + case 34: + { + verb_ = input.readStringRequireUtf8(); + + break; + } // case 34 + case 42: + { + statusMessage_ = input.readStringRequireUtf8(); + + break; + } // case 42 + case 48: + { + requestedCancellation_ = input.readBool(); + + break; + } // case 48 + case 58: + { + apiVersion_ = input.readStringRequireUtf8(); + + break; + } // case 58 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -814,34 +868,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.
      * 
@@ -862,14 +929,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(); @@ -880,6 +948,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -890,7 +960,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; } @@ -902,6 +972,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -920,6 +992,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -927,11 +1001,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.
      * 
@@ -942,11 +1018,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.
      * 
@@ -954,14 +1033,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_; @@ -969,24 +1051,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() { @@ -997,6 +1088,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1017,14 +1110,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(); @@ -1035,6 +1129,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1045,7 +1141,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; } @@ -1057,6 +1153,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1075,6 +1173,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1082,11 +1182,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.
      * 
@@ -1097,11 +1199,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.
      * 
@@ -1109,14 +1212,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_; @@ -1124,18 +1230,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; @@ -1144,20 +1252,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 { @@ -1165,54 +1274,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; @@ -1220,18 +1336,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; @@ -1240,20 +1358,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 { @@ -1261,54 +1380,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; @@ -1316,18 +1442,20 @@ public Builder setVerbBytes( private java.lang.Object statusMessage_ = ""; /** + * + * *
      * Human-readable status of the operation, if any.
      * 
* * string status_message = 5; + * * @return The statusMessage. */ public java.lang.String getStatusMessage() { java.lang.Object ref = statusMessage_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); statusMessage_ = s; return s; @@ -1336,20 +1464,21 @@ public java.lang.String getStatusMessage() { } } /** + * + * *
      * Human-readable status of the operation, if any.
      * 
* * string status_message = 5; + * * @return The bytes for statusMessage. */ - public com.google.protobuf.ByteString - getStatusMessageBytes() { + public com.google.protobuf.ByteString getStatusMessageBytes() { java.lang.Object ref = statusMessage_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); statusMessage_ = b; return b; } else { @@ -1357,61 +1486,70 @@ public java.lang.String getStatusMessage() { } } /** + * + * *
      * Human-readable status of the operation, if any.
      * 
* * string status_message = 5; + * * @param value The statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessage( - java.lang.String value) { + public Builder setStatusMessage(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + statusMessage_ = value; onChanged(); return this; } /** + * + * *
      * Human-readable status of the operation, if any.
      * 
* * string status_message = 5; + * * @return This builder for chaining. */ public Builder clearStatusMessage() { - + statusMessage_ = getDefaultInstance().getStatusMessage(); onChanged(); return this; } /** + * + * *
      * Human-readable status of the operation, if any.
      * 
* * string status_message = 5; + * * @param value The bytes for statusMessage to set. * @return This builder for chaining. */ - public Builder setStatusMessageBytes( - com.google.protobuf.ByteString value) { + public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + statusMessage_ = value; onChanged(); return this; } - private boolean requestedCancellation_ ; + private boolean requestedCancellation_; /** + * + * *
      * Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1421,6 +1559,7 @@ public Builder setStatusMessageBytes(
      * 
* * bool requested_cancellation = 6; + * * @return The requestedCancellation. */ @java.lang.Override @@ -1428,6 +1567,8 @@ public boolean getRequestedCancellation() { return requestedCancellation_; } /** + * + * *
      * Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1437,16 +1578,19 @@ public boolean getRequestedCancellation() {
      * 
* * bool requested_cancellation = 6; + * * @param value The requestedCancellation to set. * @return This builder for chaining. */ public Builder setRequestedCancellation(boolean value) { - + requestedCancellation_ = value; onChanged(); return this; } /** + * + * *
      * Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1456,10 +1600,11 @@ public Builder setRequestedCancellation(boolean value) {
      * 
* * bool requested_cancellation = 6; + * * @return This builder for chaining. */ public Builder clearRequestedCancellation() { - + requestedCancellation_ = false; onChanged(); return this; @@ -1467,18 +1612,20 @@ public Builder clearRequestedCancellation() { private java.lang.Object apiVersion_ = ""; /** + * + * *
      * API version used to start the operation.
      * 
* * string api_version = 7; + * * @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; @@ -1487,20 +1634,21 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * API version used to start the operation.
      * 
* * string api_version = 7; + * * @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 { @@ -1508,61 +1656,68 @@ public java.lang.String getApiVersion() { } } /** + * + * *
      * API version used to start the operation.
      * 
* * string api_version = 7; + * * @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 = 7; + * * @return This builder for chaining. */ public Builder clearApiVersion() { - + apiVersion_ = getDefaultInstance().getApiVersion(); onChanged(); return this; } /** + * + * *
      * API version used to start the operation.
      * 
* * string api_version = 7; + * * @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); } @@ -1572,12 +1727,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.OperationMetadata) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.OperationMetadata) private static final com.google.cloud.certificatemanager.v1.OperationMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.OperationMetadata(); } @@ -1586,27 +1741,27 @@ public static com.google.cloud.certificatemanager.v1.OperationMetadata getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public OperationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1621,6 +1776,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.certificatemanager.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadataOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadataOrBuilder.java similarity index 76% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadataOrBuilder.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadataOrBuilder.java index 3df9c762a399..d9471b8906c5 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadataOrBuilder.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadataOrBuilder.java @@ -1,31 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; -public interface OperationMetadataOrBuilder extends +public interface OperationMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.OperationMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time the operation was created.
    * 
@@ -35,24 +59,32 @@ public interface OperationMetadataOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * The time the operation finished running.
    * 
@@ -62,66 +94,83 @@ 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_message = 5; + * * @return The statusMessage. */ java.lang.String getStatusMessage(); /** + * + * *
    * Human-readable status of the operation, if any.
    * 
* * string status_message = 5; + * * @return The bytes for statusMessage. */ - com.google.protobuf.ByteString - getStatusMessageBytes(); + com.google.protobuf.ByteString getStatusMessageBytes(); /** + * + * *
    * Identifies whether the user has requested cancellation
    * of the operation. Operations that have successfully been cancelled
@@ -131,27 +180,33 @@ public interface OperationMetadataOrBuilder extends
    * 
* * bool requested_cancellation = 6; + * * @return The requestedCancellation. */ boolean getRequestedCancellation(); /** + * + * *
    * API version used to start the operation.
    * 
* * string api_version = 7; + * * @return The apiVersion. */ java.lang.String getApiVersion(); /** + * + * *
    * API version used to start the operation.
    * 
* * string api_version = 7; + * * @return The bytes for apiVersion. */ - com.google.protobuf.ByteString - getApiVersionBytes(); + com.google.protobuf.ByteString getApiVersionBytes(); } diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ServingState.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ServingState.java similarity index 66% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ServingState.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ServingState.java index 61fbe1dcf3fc..9037a15167ba 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ServingState.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ServingState.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/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; /** + * + * *
  * Defines set of serving states associated with a resource.
  * 
* * Protobuf enum {@code google.cloud.certificatemanager.v1.ServingState} */ -public enum ServingState - implements com.google.protobuf.ProtocolMessageEnum { +public enum ServingState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * The status is undefined.
    * 
@@ -21,6 +39,8 @@ public enum ServingState */ SERVING_STATE_UNSPECIFIED(0), /** + * + * *
    * The configuration is serving.
    * 
@@ -29,6 +49,8 @@ public enum ServingState */ ACTIVE(1), /** + * + * *
    * Update is in progress. Some frontends may serve this configuration.
    * 
@@ -40,6 +62,8 @@ public enum ServingState ; /** + * + * *
    * The status is undefined.
    * 
@@ -48,6 +72,8 @@ public enum ServingState */ public static final int SERVING_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The configuration is serving.
    * 
@@ -56,6 +82,8 @@ public enum ServingState */ public static final int ACTIVE_VALUE = 1; /** + * + * *
    * Update is in progress. Some frontends may serve this configuration.
    * 
@@ -64,7 +92,6 @@ public enum ServingState */ public static final int PENDING_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -89,49 +116,51 @@ public static ServingState valueOf(int value) { */ public static ServingState forNumber(int value) { switch (value) { - case 0: return SERVING_STATE_UNSPECIFIED; - case 1: return ACTIVE; - case 2: return PENDING; - default: return null; + case 0: + return SERVING_STATE_UNSPECIFIED; + case 1: + return ACTIVE; + case 2: + return PENDING; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - ServingState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ServingState findValueByNumber(int number) { - return ServingState.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 ServingState findValueByNumber(int number) { + return ServingState.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.certificatemanager.v1.CertificateManagerProto.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto.getDescriptor() + .getEnumTypes() + .get(0); } private static final ServingState[] VALUES = values(); - public static ServingState valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ServingState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.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 ServingState(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.certificatemanager.v1.ServingState) } - diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequest.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequest.java similarity index 61% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequest.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequest.java index e68d4aa139fc..4611f42395c1 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequest.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequest.java @@ -1,60 +1,84 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; /** + * + * *
  * Request for the `UpdateCertificateMapEntry` method.
  * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest} */ -public final class UpdateCertificateMapEntryRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateCertificateMapEntryRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest) UpdateCertificateMapEntryRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateCertificateMapEntryRequest.newBuilder() to construct. - private UpdateCertificateMapEntryRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + private UpdateCertificateMapEntryRequest( + com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateCertificateMapEntryRequest() { - } + + private UpdateCertificateMapEntryRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateCertificateMapEntryRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapEntryRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapEntryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapEntryRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapEntryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest.class, com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest.Builder.class); + com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest.class, + com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest.Builder.class); } public static final int CERTIFICATE_MAP_ENTRY_FIELD_NUMBER = 1; private com.google.cloud.certificatemanager.v1.CertificateMapEntry certificateMapEntry_; /** + * + * *
    * Required. A definition of the certificate map entry to create map entry.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the certificateMapEntry field is set. */ @java.lang.Override @@ -62,39 +86,55 @@ public boolean hasCertificateMapEntry() { return certificateMapEntry_ != null; } /** + * + * *
    * Required. A definition of the certificate map entry to create map entry.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The certificateMapEntry. */ @java.lang.Override public com.google.cloud.certificatemanager.v1.CertificateMapEntry getCertificateMapEntry() { - return certificateMapEntry_ == null ? com.google.cloud.certificatemanager.v1.CertificateMapEntry.getDefaultInstance() : certificateMapEntry_; + return certificateMapEntry_ == null + ? com.google.cloud.certificatemanager.v1.CertificateMapEntry.getDefaultInstance() + : certificateMapEntry_; } /** + * + * *
    * Required. A definition of the certificate map entry to create map entry.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder getCertificateMapEntryOrBuilder() { + public com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder + getCertificateMapEntryOrBuilder() { return getCertificateMapEntry(); } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. The update mask applies to the resource. For the `FieldMask`
    * definition, see
    * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
    * 
* - * .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 @@ -102,13 +142,17 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. The update mask applies to the resource. For the `FieldMask`
    * definition, see
    * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
    * 
* - * .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 @@ -116,13 +160,16 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. The update mask applies to the resource. For the `FieldMask`
    * definition, see
    * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
    * 
* - * .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() { @@ -130,6 +177,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,8 +189,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (certificateMapEntry_ != null) { output.writeMessage(1, getCertificateMapEntry()); } @@ -159,12 +206,10 @@ public int getSerializedSize() { size = 0; if (certificateMapEntry_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCertificateMapEntry()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCertificateMapEntry()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -174,22 +219,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.certificatemanager.v1.UpdateCertificateMapEntryRequest)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest other = (com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest) obj; + com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest other = + (com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest) obj; if (hasCertificateMapEntry() != other.hasCertificateMapEntry()) return false; if (hasCertificateMapEntry()) { - if (!getCertificateMapEntry() - .equals(other.getCertificateMapEntry())) return false; + if (!getCertificateMapEntry().equals(other.getCertificateMapEntry())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -216,129 +260,139 @@ public int hashCode() { } public static com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest parseDelimitedFrom( - java.io.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.certificatemanager.v1.UpdateCertificateMapEntryRequest + parseDelimitedFrom( + java.io.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.certificatemanager.v1.UpdateCertificateMapEntryRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 `UpdateCertificateMapEntry` method.
    * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest) com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapEntryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapEntryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapEntryRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapEntryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest.class, com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest.Builder.class); + com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest.class, + com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest.Builder + .class); } - // Construct using com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -358,19 +412,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapEntryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapEntryRequest_descriptor; } @java.lang.Override - public com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest getDefaultInstanceForType() { - return com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest.getDefaultInstance(); + public com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest + getDefaultInstanceForType() { + return com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest build() { - com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest result = buildPartial(); + com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -379,7 +436,8 @@ public com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest b @java.lang.Override public com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest buildPartial() { - com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest result = new com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest(this); + com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest result = + new com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest(this); if (certificateMapEntryBuilder_ == null) { result.certificateMapEntry_ = certificateMapEntry_; } else { @@ -398,46 +456,52 @@ public com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest b public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest) { - return mergeFrom((com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest)other); + if (other + instanceof com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest) { + return mergeFrom( + (com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest other) { - if (other == com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest other) { + if (other + == com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest + .getDefaultInstance()) return this; if (other.hasCertificateMapEntry()) { mergeCertificateMapEntry(other.getCertificateMapEntry()); } @@ -470,26 +534,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCertificateMapEntryFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage( + getCertificateMapEntryFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -502,41 +566,61 @@ public Builder mergeFrom( private com.google.cloud.certificatemanager.v1.CertificateMapEntry certificateMapEntry_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.CertificateMapEntry, com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder, com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder> certificateMapEntryBuilder_; + com.google.cloud.certificatemanager.v1.CertificateMapEntry, + com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder, + com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder> + certificateMapEntryBuilder_; /** + * + * *
      * Required. A definition of the certificate map entry to create map entry.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the certificateMapEntry field is set. */ public boolean hasCertificateMapEntry() { return certificateMapEntryBuilder_ != null || certificateMapEntry_ != null; } /** + * + * *
      * Required. A definition of the certificate map entry to create map entry.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The certificateMapEntry. */ public com.google.cloud.certificatemanager.v1.CertificateMapEntry getCertificateMapEntry() { if (certificateMapEntryBuilder_ == null) { - return certificateMapEntry_ == null ? com.google.cloud.certificatemanager.v1.CertificateMapEntry.getDefaultInstance() : certificateMapEntry_; + return certificateMapEntry_ == null + ? com.google.cloud.certificatemanager.v1.CertificateMapEntry.getDefaultInstance() + : certificateMapEntry_; } else { return certificateMapEntryBuilder_.getMessage(); } } /** + * + * *
      * Required. A definition of the certificate map entry to create map entry.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setCertificateMapEntry(com.google.cloud.certificatemanager.v1.CertificateMapEntry value) { + public Builder setCertificateMapEntry( + com.google.cloud.certificatemanager.v1.CertificateMapEntry value) { if (certificateMapEntryBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -550,11 +634,15 @@ public Builder setCertificateMapEntry(com.google.cloud.certificatemanager.v1.Cer return this; } /** + * + * *
      * Required. A definition of the certificate map entry to create map entry.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCertificateMapEntry( com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder builderForValue) { @@ -568,17 +656,25 @@ public Builder setCertificateMapEntry( return this; } /** + * + * *
      * Required. A definition of the certificate map entry to create map entry.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeCertificateMapEntry(com.google.cloud.certificatemanager.v1.CertificateMapEntry value) { + public Builder mergeCertificateMapEntry( + com.google.cloud.certificatemanager.v1.CertificateMapEntry value) { if (certificateMapEntryBuilder_ == null) { if (certificateMapEntry_ != null) { certificateMapEntry_ = - com.google.cloud.certificatemanager.v1.CertificateMapEntry.newBuilder(certificateMapEntry_).mergeFrom(value).buildPartial(); + com.google.cloud.certificatemanager.v1.CertificateMapEntry.newBuilder( + certificateMapEntry_) + .mergeFrom(value) + .buildPartial(); } else { certificateMapEntry_ = value; } @@ -590,11 +686,15 @@ public Builder mergeCertificateMapEntry(com.google.cloud.certificatemanager.v1.C return this; } /** + * + * *
      * Required. A definition of the certificate map entry to create map entry.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCertificateMapEntry() { if (certificateMapEntryBuilder_ == null) { @@ -608,48 +708,66 @@ public Builder clearCertificateMapEntry() { return this; } /** + * + * *
      * Required. A definition of the certificate map entry to create map entry.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder getCertificateMapEntryBuilder() { - + public com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder + getCertificateMapEntryBuilder() { + onChanged(); return getCertificateMapEntryFieldBuilder().getBuilder(); } /** + * + * *
      * Required. A definition of the certificate map entry to create map entry.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder getCertificateMapEntryOrBuilder() { + public com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder + getCertificateMapEntryOrBuilder() { if (certificateMapEntryBuilder_ != null) { return certificateMapEntryBuilder_.getMessageOrBuilder(); } else { - return certificateMapEntry_ == null ? - com.google.cloud.certificatemanager.v1.CertificateMapEntry.getDefaultInstance() : certificateMapEntry_; + return certificateMapEntry_ == null + ? com.google.cloud.certificatemanager.v1.CertificateMapEntry.getDefaultInstance() + : certificateMapEntry_; } } /** + * + * *
      * Required. A definition of the certificate map entry to create map entry.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.CertificateMapEntry, com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder, com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder> + com.google.cloud.certificatemanager.v1.CertificateMapEntry, + com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder, + com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder> getCertificateMapEntryFieldBuilder() { if (certificateMapEntryBuilder_ == null) { - certificateMapEntryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.CertificateMapEntry, com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder, com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder>( - getCertificateMapEntry(), - getParentForChildren(), - isClean()); + certificateMapEntryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.certificatemanager.v1.CertificateMapEntry, + com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder, + com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder>( + getCertificateMapEntry(), getParentForChildren(), isClean()); certificateMapEntry_ = null; } return certificateMapEntryBuilder_; @@ -657,45 +775,61 @@ public com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder getCe 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 update mask applies to the resource. For the `FieldMask`
      * definition, see
      * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
      * 
* - * .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 update mask applies to the resource. For the `FieldMask`
      * definition, see
      * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
      * 
* - * .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 update mask applies to the resource. For the `FieldMask`
      * definition, see
      * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
      * 
* - * .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) { @@ -711,16 +845,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The update mask applies to the resource. For the `FieldMask`
      * definition, see
      * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
      * 
* - * .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(); @@ -731,19 +867,22 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. The update mask applies to the resource. For the `FieldMask`
      * definition, see
      * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
      * 
* - * .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; } @@ -755,13 +894,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The update mask applies to the resource. For the `FieldMask`
      * definition, see
      * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
      * 
* - * .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) { @@ -775,61 +917,74 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The update mask applies to the resource. For the `FieldMask`
      * definition, see
      * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
      * 
* - * .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 update mask applies to the resource. For the `FieldMask`
      * definition, see
      * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
      * 
* - * .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 update mask applies to the resource. For the `FieldMask`
      * definition, see
      * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
      * 
* - * .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); } @@ -839,41 +994,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest) - private static final com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest(); + DEFAULT_INSTANCE = + new com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest(); } - public static com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateCertificateMapEntryRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateCertificateMapEntryRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -885,9 +1043,8 @@ public com.google.protobuf.Parser getParserFor } @java.lang.Override - public com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequestOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequestOrBuilder.java similarity index 59% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequestOrBuilder.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequestOrBuilder.java index 302bacef6a1d..2170c961f292 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequestOrBuilder.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequestOrBuilder.java @@ -1,69 +1,111 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; -public interface UpdateCertificateMapEntryRequestOrBuilder extends +public interface UpdateCertificateMapEntryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. A definition of the certificate map entry to create map entry.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the certificateMapEntry field is set. */ boolean hasCertificateMapEntry(); /** + * + * *
    * Required. A definition of the certificate map entry to create map entry.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The certificateMapEntry. */ com.google.cloud.certificatemanager.v1.CertificateMapEntry getCertificateMapEntry(); /** + * + * *
    * Required. A definition of the certificate map entry to create map entry.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMapEntry certificate_map_entry = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder getCertificateMapEntryOrBuilder(); + com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder + getCertificateMapEntryOrBuilder(); /** + * + * *
    * Required. The update mask applies to the resource. For the `FieldMask`
    * definition, see
    * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
    * 
* - * .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 update mask applies to the resource. For the `FieldMask`
    * definition, see
    * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
    * 
* - * .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 update mask applies to the resource. For the `FieldMask`
    * definition, see
    * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
    * 
* - * .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/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequest.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequest.java similarity index 63% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequest.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequest.java index d5f9d2d713b2..023c2893f0c0 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequest.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequest.java @@ -1,60 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; /** + * + * *
  * Request for the `UpdateCertificateMap` method.
  * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.UpdateCertificateMapRequest} */ -public final class UpdateCertificateMapRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateCertificateMapRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.UpdateCertificateMapRequest) UpdateCertificateMapRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateCertificateMapRequest.newBuilder() to construct. private UpdateCertificateMapRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateCertificateMapRequest() { - } + + private UpdateCertificateMapRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateCertificateMapRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest.class, com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest.Builder.class); + com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest.class, + com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest.Builder.class); } public static final int CERTIFICATE_MAP_FIELD_NUMBER = 1; private com.google.cloud.certificatemanager.v1.CertificateMap certificateMap_; /** + * + * *
    * Required. A definition of the certificate map to update.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the certificateMap field is set. */ @java.lang.Override @@ -62,39 +85,55 @@ public boolean hasCertificateMap() { return certificateMap_ != null; } /** + * + * *
    * Required. A definition of the certificate map to update.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The certificateMap. */ @java.lang.Override public com.google.cloud.certificatemanager.v1.CertificateMap getCertificateMap() { - return certificateMap_ == null ? com.google.cloud.certificatemanager.v1.CertificateMap.getDefaultInstance() : certificateMap_; + return certificateMap_ == null + ? com.google.cloud.certificatemanager.v1.CertificateMap.getDefaultInstance() + : certificateMap_; } /** + * + * *
    * Required. A definition of the certificate map to update.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder getCertificateMapOrBuilder() { + public com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder + getCertificateMapOrBuilder() { return getCertificateMap(); } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. The update mask applies to the resource. For the `FieldMask`
    * definition, see
    * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
    * 
* - * .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 @@ -102,13 +141,17 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. The update mask applies to the resource. For the `FieldMask`
    * definition, see
    * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
    * 
* - * .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 @@ -116,13 +159,16 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. The update mask applies to the resource. For the `FieldMask`
    * definition, see
    * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
    * 
* - * .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() { @@ -130,6 +176,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,8 +188,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (certificateMap_ != null) { output.writeMessage(1, getCertificateMap()); } @@ -159,12 +205,10 @@ public int getSerializedSize() { size = 0; if (certificateMap_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCertificateMap()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCertificateMap()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -174,22 +218,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.certificatemanager.v1.UpdateCertificateMapRequest)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest other = (com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest) obj; + com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest other = + (com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest) obj; if (hasCertificateMap() != other.hasCertificateMap()) return false; if (hasCertificateMap()) { - if (!getCertificateMap() - .equals(other.getCertificateMap())) return false; + if (!getCertificateMap().equals(other.getCertificateMap())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -216,129 +259,138 @@ public int hashCode() { } public static com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest parseDelimitedFrom( - java.io.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.certificatemanager.v1.UpdateCertificateMapRequest + parseDelimitedFrom( + java.io.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.certificatemanager.v1.UpdateCertificateMapRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 `UpdateCertificateMap` method.
    * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.UpdateCertificateMapRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.UpdateCertificateMapRequest) com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest.class, com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest.Builder.class); + com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest.class, + com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest.Builder.class); } - // Construct using com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -358,14 +410,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapRequest_descriptor; } @java.lang.Override - public com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest getDefaultInstanceForType() { - return com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest.getDefaultInstance(); + public com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest + getDefaultInstanceForType() { + return com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest + .getDefaultInstance(); } @java.lang.Override @@ -379,7 +433,8 @@ public com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest build( @java.lang.Override public com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest buildPartial() { - com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest result = new com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest(this); + com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest result = + new com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest(this); if (certificateMapBuilder_ == null) { result.certificateMap_ = certificateMap_; } else { @@ -398,46 +453,51 @@ public com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest 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.certificatemanager.v1.UpdateCertificateMapRequest) { - return mergeFrom((com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest)other); + return mergeFrom( + (com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest other) { - if (other == com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest other) { + if (other + == com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest + .getDefaultInstance()) return this; if (other.hasCertificateMap()) { mergeCertificateMap(other.getCertificateMap()); } @@ -470,26 +530,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCertificateMapFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage(getCertificateMapFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -502,39 +561,58 @@ public Builder mergeFrom( private com.google.cloud.certificatemanager.v1.CertificateMap certificateMap_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.CertificateMap, com.google.cloud.certificatemanager.v1.CertificateMap.Builder, com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder> certificateMapBuilder_; + com.google.cloud.certificatemanager.v1.CertificateMap, + com.google.cloud.certificatemanager.v1.CertificateMap.Builder, + com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder> + certificateMapBuilder_; /** + * + * *
      * Required. A definition of the certificate map to update.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the certificateMap field is set. */ public boolean hasCertificateMap() { return certificateMapBuilder_ != null || certificateMap_ != null; } /** + * + * *
      * Required. A definition of the certificate map to update.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The certificateMap. */ public com.google.cloud.certificatemanager.v1.CertificateMap getCertificateMap() { if (certificateMapBuilder_ == null) { - return certificateMap_ == null ? com.google.cloud.certificatemanager.v1.CertificateMap.getDefaultInstance() : certificateMap_; + return certificateMap_ == null + ? com.google.cloud.certificatemanager.v1.CertificateMap.getDefaultInstance() + : certificateMap_; } else { return certificateMapBuilder_.getMessage(); } } /** + * + * *
      * Required. A definition of the certificate map to update.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCertificateMap(com.google.cloud.certificatemanager.v1.CertificateMap value) { if (certificateMapBuilder_ == null) { @@ -550,11 +628,15 @@ public Builder setCertificateMap(com.google.cloud.certificatemanager.v1.Certific return this; } /** + * + * *
      * Required. A definition of the certificate map to update.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCertificateMap( com.google.cloud.certificatemanager.v1.CertificateMap.Builder builderForValue) { @@ -568,17 +650,24 @@ public Builder setCertificateMap( return this; } /** + * + * *
      * Required. A definition of the certificate map to update.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeCertificateMap(com.google.cloud.certificatemanager.v1.CertificateMap value) { + public Builder mergeCertificateMap( + com.google.cloud.certificatemanager.v1.CertificateMap value) { if (certificateMapBuilder_ == null) { if (certificateMap_ != null) { certificateMap_ = - com.google.cloud.certificatemanager.v1.CertificateMap.newBuilder(certificateMap_).mergeFrom(value).buildPartial(); + com.google.cloud.certificatemanager.v1.CertificateMap.newBuilder(certificateMap_) + .mergeFrom(value) + .buildPartial(); } else { certificateMap_ = value; } @@ -590,11 +679,15 @@ public Builder mergeCertificateMap(com.google.cloud.certificatemanager.v1.Certif return this; } /** + * + * *
      * Required. A definition of the certificate map to update.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCertificateMap() { if (certificateMapBuilder_ == null) { @@ -608,48 +701,66 @@ public Builder clearCertificateMap() { return this; } /** + * + * *
      * Required. A definition of the certificate map to update.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.certificatemanager.v1.CertificateMap.Builder getCertificateMapBuilder() { - + public com.google.cloud.certificatemanager.v1.CertificateMap.Builder + getCertificateMapBuilder() { + onChanged(); return getCertificateMapFieldBuilder().getBuilder(); } /** + * + * *
      * Required. A definition of the certificate map to update.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder getCertificateMapOrBuilder() { + public com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder + getCertificateMapOrBuilder() { if (certificateMapBuilder_ != null) { return certificateMapBuilder_.getMessageOrBuilder(); } else { - return certificateMap_ == null ? - com.google.cloud.certificatemanager.v1.CertificateMap.getDefaultInstance() : certificateMap_; + return certificateMap_ == null + ? com.google.cloud.certificatemanager.v1.CertificateMap.getDefaultInstance() + : certificateMap_; } } /** + * + * *
      * Required. A definition of the certificate map to update.
      * 
* - * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.CertificateMap, com.google.cloud.certificatemanager.v1.CertificateMap.Builder, com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder> + com.google.cloud.certificatemanager.v1.CertificateMap, + com.google.cloud.certificatemanager.v1.CertificateMap.Builder, + com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder> getCertificateMapFieldBuilder() { if (certificateMapBuilder_ == null) { - certificateMapBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.CertificateMap, com.google.cloud.certificatemanager.v1.CertificateMap.Builder, com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder>( - getCertificateMap(), - getParentForChildren(), - isClean()); + certificateMapBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.certificatemanager.v1.CertificateMap, + com.google.cloud.certificatemanager.v1.CertificateMap.Builder, + com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder>( + getCertificateMap(), getParentForChildren(), isClean()); certificateMap_ = null; } return certificateMapBuilder_; @@ -657,45 +768,61 @@ public com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder getCertifi 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 update mask applies to the resource. For the `FieldMask`
      * definition, see
      * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
      * 
* - * .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 update mask applies to the resource. For the `FieldMask`
      * definition, see
      * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
      * 
* - * .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 update mask applies to the resource. For the `FieldMask`
      * definition, see
      * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
      * 
* - * .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) { @@ -711,16 +838,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The update mask applies to the resource. For the `FieldMask`
      * definition, see
      * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
      * 
* - * .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(); @@ -731,19 +860,22 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. The update mask applies to the resource. For the `FieldMask`
      * definition, see
      * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
      * 
* - * .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; } @@ -755,13 +887,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The update mask applies to the resource. For the `FieldMask`
      * definition, see
      * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
      * 
* - * .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) { @@ -775,61 +910,74 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The update mask applies to the resource. For the `FieldMask`
      * definition, see
      * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
      * 
* - * .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 update mask applies to the resource. For the `FieldMask`
      * definition, see
      * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
      * 
* - * .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 update mask applies to the resource. For the `FieldMask`
      * definition, see
      * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
      * 
* - * .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); } @@ -839,41 +987,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.UpdateCertificateMapRequest) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.UpdateCertificateMapRequest) - private static final com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest(); } - public static com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateCertificateMapRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateCertificateMapRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -885,9 +1035,8 @@ public com.google.protobuf.Parser getParserForType( } @java.lang.Override - public com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequestOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequestOrBuilder.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequestOrBuilder.java index 79d5d8e810f9..619b5fc1ef80 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequestOrBuilder.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequestOrBuilder.java @@ -1,69 +1,110 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; -public interface UpdateCertificateMapRequestOrBuilder extends +public interface UpdateCertificateMapRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.UpdateCertificateMapRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. A definition of the certificate map to update.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the certificateMap field is set. */ boolean hasCertificateMap(); /** + * + * *
    * Required. A definition of the certificate map to update.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The certificateMap. */ com.google.cloud.certificatemanager.v1.CertificateMap getCertificateMap(); /** + * + * *
    * Required. A definition of the certificate map to update.
    * 
* - * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.CertificateMap certificate_map = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder getCertificateMapOrBuilder(); /** + * + * *
    * Required. The update mask applies to the resource. For the `FieldMask`
    * definition, see
    * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
    * 
* - * .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 update mask applies to the resource. For the `FieldMask`
    * definition, see
    * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
    * 
* - * .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 update mask applies to the resource. For the `FieldMask`
    * definition, see
    * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
    * 
* - * .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/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequest.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequest.java similarity index 64% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequest.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequest.java index 528337d9da9a..c94e25041843 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequest.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequest.java @@ -1,60 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; /** + * + * *
  * Request for the `UpdateCertificate` method.
  * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.UpdateCertificateRequest} */ -public final class UpdateCertificateRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateCertificateRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.UpdateCertificateRequest) UpdateCertificateRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateCertificateRequest.newBuilder() to construct. private UpdateCertificateRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateCertificateRequest() { - } + + private UpdateCertificateRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateCertificateRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_UpdateCertificateRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_UpdateCertificateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_UpdateCertificateRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_UpdateCertificateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.UpdateCertificateRequest.class, com.google.cloud.certificatemanager.v1.UpdateCertificateRequest.Builder.class); + com.google.cloud.certificatemanager.v1.UpdateCertificateRequest.class, + com.google.cloud.certificatemanager.v1.UpdateCertificateRequest.Builder.class); } public static final int CERTIFICATE_FIELD_NUMBER = 1; private com.google.cloud.certificatemanager.v1.Certificate certificate_; /** + * + * *
    * Required. A definition of the certificate to update.
    * 
* - * .google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the certificate field is set. */ @java.lang.Override @@ -62,23 +85,34 @@ public boolean hasCertificate() { return certificate_ != null; } /** + * + * *
    * Required. A definition of the certificate to update.
    * 
* - * .google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The certificate. */ @java.lang.Override public com.google.cloud.certificatemanager.v1.Certificate getCertificate() { - return certificate_ == null ? com.google.cloud.certificatemanager.v1.Certificate.getDefaultInstance() : certificate_; + return certificate_ == null + ? com.google.cloud.certificatemanager.v1.Certificate.getDefaultInstance() + : certificate_; } /** + * + * *
    * Required. A definition of the certificate to update.
    * 
* - * .google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.certificatemanager.v1.CertificateOrBuilder getCertificateOrBuilder() { @@ -88,13 +122,17 @@ public com.google.cloud.certificatemanager.v1.CertificateOrBuilder getCertificat public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. The update mask applies to the resource. For the `FieldMask`
    * definition, see
    * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
    * 
* - * .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 @@ -102,13 +140,17 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. The update mask applies to the resource. For the `FieldMask`
    * definition, see
    * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
    * 
* - * .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 @@ -116,13 +158,16 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. The update mask applies to the resource. For the `FieldMask`
    * definition, see
    * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
    * 
* - * .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() { @@ -130,6 +175,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,8 +187,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (certificate_ != null) { output.writeMessage(1, getCertificate()); } @@ -159,12 +204,10 @@ public int getSerializedSize() { size = 0; if (certificate_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCertificate()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCertificate()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -174,22 +217,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.certificatemanager.v1.UpdateCertificateRequest)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.UpdateCertificateRequest other = (com.google.cloud.certificatemanager.v1.UpdateCertificateRequest) obj; + com.google.cloud.certificatemanager.v1.UpdateCertificateRequest other = + (com.google.cloud.certificatemanager.v1.UpdateCertificateRequest) obj; if (hasCertificate() != other.hasCertificate()) return false; if (hasCertificate()) { - if (!getCertificate() - .equals(other.getCertificate())) return false; + if (!getCertificate().equals(other.getCertificate())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -216,129 +258,136 @@ public int hashCode() { } public static com.google.cloud.certificatemanager.v1.UpdateCertificateRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.UpdateCertificateRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.UpdateCertificateRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.UpdateCertificateRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.UpdateCertificateRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.UpdateCertificateRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.UpdateCertificateRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.UpdateCertificateRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.UpdateCertificateRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.UpdateCertificateRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.UpdateCertificateRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.UpdateCertificateRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.UpdateCertificateRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.UpdateCertificateRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.UpdateCertificateRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.UpdateCertificateRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.UpdateCertificateRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 `UpdateCertificate` method.
    * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.UpdateCertificateRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.UpdateCertificateRequest) com.google.cloud.certificatemanager.v1.UpdateCertificateRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_UpdateCertificateRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_UpdateCertificateRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_UpdateCertificateRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_UpdateCertificateRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.UpdateCertificateRequest.class, com.google.cloud.certificatemanager.v1.UpdateCertificateRequest.Builder.class); + com.google.cloud.certificatemanager.v1.UpdateCertificateRequest.class, + com.google.cloud.certificatemanager.v1.UpdateCertificateRequest.Builder.class); } // Construct using com.google.cloud.certificatemanager.v1.UpdateCertificateRequest.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -358,13 +407,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_UpdateCertificateRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_UpdateCertificateRequest_descriptor; } @java.lang.Override - public com.google.cloud.certificatemanager.v1.UpdateCertificateRequest getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.UpdateCertificateRequest + getDefaultInstanceForType() { return com.google.cloud.certificatemanager.v1.UpdateCertificateRequest.getDefaultInstance(); } @@ -379,7 +429,8 @@ public com.google.cloud.certificatemanager.v1.UpdateCertificateRequest build() { @java.lang.Override public com.google.cloud.certificatemanager.v1.UpdateCertificateRequest buildPartial() { - com.google.cloud.certificatemanager.v1.UpdateCertificateRequest result = new com.google.cloud.certificatemanager.v1.UpdateCertificateRequest(this); + com.google.cloud.certificatemanager.v1.UpdateCertificateRequest result = + new com.google.cloud.certificatemanager.v1.UpdateCertificateRequest(this); if (certificateBuilder_ == null) { result.certificate_ = certificate_; } else { @@ -398,46 +449,50 @@ public com.google.cloud.certificatemanager.v1.UpdateCertificateRequest 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.certificatemanager.v1.UpdateCertificateRequest) { - return mergeFrom((com.google.cloud.certificatemanager.v1.UpdateCertificateRequest)other); + return mergeFrom((com.google.cloud.certificatemanager.v1.UpdateCertificateRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.certificatemanager.v1.UpdateCertificateRequest other) { - if (other == com.google.cloud.certificatemanager.v1.UpdateCertificateRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.certificatemanager.v1.UpdateCertificateRequest other) { + if (other + == com.google.cloud.certificatemanager.v1.UpdateCertificateRequest.getDefaultInstance()) + return this; if (other.hasCertificate()) { mergeCertificate(other.getCertificate()); } @@ -470,26 +525,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCertificateFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage(getCertificateFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -502,39 +556,58 @@ public Builder mergeFrom( private com.google.cloud.certificatemanager.v1.Certificate certificate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.Certificate, com.google.cloud.certificatemanager.v1.Certificate.Builder, com.google.cloud.certificatemanager.v1.CertificateOrBuilder> certificateBuilder_; + com.google.cloud.certificatemanager.v1.Certificate, + com.google.cloud.certificatemanager.v1.Certificate.Builder, + com.google.cloud.certificatemanager.v1.CertificateOrBuilder> + certificateBuilder_; /** + * + * *
      * Required. A definition of the certificate to update.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the certificate field is set. */ public boolean hasCertificate() { return certificateBuilder_ != null || certificate_ != null; } /** + * + * *
      * Required. A definition of the certificate to update.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The certificate. */ public com.google.cloud.certificatemanager.v1.Certificate getCertificate() { if (certificateBuilder_ == null) { - return certificate_ == null ? com.google.cloud.certificatemanager.v1.Certificate.getDefaultInstance() : certificate_; + return certificate_ == null + ? com.google.cloud.certificatemanager.v1.Certificate.getDefaultInstance() + : certificate_; } else { return certificateBuilder_.getMessage(); } } /** + * + * *
      * Required. A definition of the certificate to update.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCertificate(com.google.cloud.certificatemanager.v1.Certificate value) { if (certificateBuilder_ == null) { @@ -550,11 +623,15 @@ public Builder setCertificate(com.google.cloud.certificatemanager.v1.Certificate return this; } /** + * + * *
      * Required. A definition of the certificate to update.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setCertificate( com.google.cloud.certificatemanager.v1.Certificate.Builder builderForValue) { @@ -568,17 +645,23 @@ public Builder setCertificate( return this; } /** + * + * *
      * Required. A definition of the certificate to update.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeCertificate(com.google.cloud.certificatemanager.v1.Certificate value) { if (certificateBuilder_ == null) { if (certificate_ != null) { certificate_ = - com.google.cloud.certificatemanager.v1.Certificate.newBuilder(certificate_).mergeFrom(value).buildPartial(); + com.google.cloud.certificatemanager.v1.Certificate.newBuilder(certificate_) + .mergeFrom(value) + .buildPartial(); } else { certificate_ = value; } @@ -590,11 +673,15 @@ public Builder mergeCertificate(com.google.cloud.certificatemanager.v1.Certifica return this; } /** + * + * *
      * Required. A definition of the certificate to update.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearCertificate() { if (certificateBuilder_ == null) { @@ -608,48 +695,64 @@ public Builder clearCertificate() { return this; } /** + * + * *
      * Required. A definition of the certificate to update.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.certificatemanager.v1.Certificate.Builder getCertificateBuilder() { - + onChanged(); return getCertificateFieldBuilder().getBuilder(); } /** + * + * *
      * Required. A definition of the certificate to update.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.certificatemanager.v1.CertificateOrBuilder getCertificateOrBuilder() { if (certificateBuilder_ != null) { return certificateBuilder_.getMessageOrBuilder(); } else { - return certificate_ == null ? - com.google.cloud.certificatemanager.v1.Certificate.getDefaultInstance() : certificate_; + return certificate_ == null + ? com.google.cloud.certificatemanager.v1.Certificate.getDefaultInstance() + : certificate_; } } /** + * + * *
      * Required. A definition of the certificate to update.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.Certificate, com.google.cloud.certificatemanager.v1.Certificate.Builder, com.google.cloud.certificatemanager.v1.CertificateOrBuilder> + com.google.cloud.certificatemanager.v1.Certificate, + com.google.cloud.certificatemanager.v1.Certificate.Builder, + com.google.cloud.certificatemanager.v1.CertificateOrBuilder> getCertificateFieldBuilder() { if (certificateBuilder_ == null) { - certificateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.Certificate, com.google.cloud.certificatemanager.v1.Certificate.Builder, com.google.cloud.certificatemanager.v1.CertificateOrBuilder>( - getCertificate(), - getParentForChildren(), - isClean()); + certificateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.certificatemanager.v1.Certificate, + com.google.cloud.certificatemanager.v1.Certificate.Builder, + com.google.cloud.certificatemanager.v1.CertificateOrBuilder>( + getCertificate(), getParentForChildren(), isClean()); certificate_ = null; } return certificateBuilder_; @@ -657,45 +760,61 @@ public com.google.cloud.certificatemanager.v1.CertificateOrBuilder getCertificat 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 update mask applies to the resource. For the `FieldMask`
      * definition, see
      * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
      * 
* - * .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 update mask applies to the resource. For the `FieldMask`
      * definition, see
      * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
      * 
* - * .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 update mask applies to the resource. For the `FieldMask`
      * definition, see
      * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
      * 
* - * .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) { @@ -711,16 +830,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The update mask applies to the resource. For the `FieldMask`
      * definition, see
      * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
      * 
* - * .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(); @@ -731,19 +852,22 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. The update mask applies to the resource. For the `FieldMask`
      * definition, see
      * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
      * 
* - * .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; } @@ -755,13 +879,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The update mask applies to the resource. For the `FieldMask`
      * definition, see
      * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
      * 
* - * .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) { @@ -775,61 +902,74 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The update mask applies to the resource. For the `FieldMask`
      * definition, see
      * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
      * 
* - * .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 update mask applies to the resource. For the `FieldMask`
      * definition, see
      * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
      * 
* - * .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 update mask applies to the resource. For the `FieldMask`
      * definition, see
      * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
      * 
* - * .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); } @@ -839,41 +979,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.UpdateCertificateRequest) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.UpdateCertificateRequest) - private static final com.google.cloud.certificatemanager.v1.UpdateCertificateRequest DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.UpdateCertificateRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.UpdateCertificateRequest(); } - public static com.google.cloud.certificatemanager.v1.UpdateCertificateRequest getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.UpdateCertificateRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateCertificateRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateCertificateRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -885,9 +1027,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.certificatemanager.v1.UpdateCertificateRequest getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.UpdateCertificateRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequestOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequestOrBuilder.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequestOrBuilder.java index a0ef7e8e5167..2c58258d3fed 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequestOrBuilder.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequestOrBuilder.java @@ -1,69 +1,110 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; -public interface UpdateCertificateRequestOrBuilder extends +public interface UpdateCertificateRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.UpdateCertificateRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. A definition of the certificate to update.
    * 
* - * .google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the certificate field is set. */ boolean hasCertificate(); /** + * + * *
    * Required. A definition of the certificate to update.
    * 
* - * .google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The certificate. */ com.google.cloud.certificatemanager.v1.Certificate getCertificate(); /** + * + * *
    * Required. A definition of the certificate to update.
    * 
* - * .google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.Certificate certificate = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.certificatemanager.v1.CertificateOrBuilder getCertificateOrBuilder(); /** + * + * *
    * Required. The update mask applies to the resource. For the `FieldMask`
    * definition, see
    * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
    * 
* - * .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 update mask applies to the resource. For the `FieldMask`
    * definition, see
    * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
    * 
* - * .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 update mask applies to the resource. For the `FieldMask`
    * definition, see
    * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
    * 
* - * .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/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequest.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequest.java similarity index 62% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequest.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequest.java index b1e98e715be3..ef9052732c6a 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequest.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequest.java @@ -1,60 +1,83 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; /** + * + * *
  * Request for the `UpdateDnsAuthorization` method.
  * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest} */ -public final class UpdateDnsAuthorizationRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class UpdateDnsAuthorizationRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest) UpdateDnsAuthorizationRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use UpdateDnsAuthorizationRequest.newBuilder() to construct. private UpdateDnsAuthorizationRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private UpdateDnsAuthorizationRequest() { - } + + private UpdateDnsAuthorizationRequest() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new UpdateDnsAuthorizationRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_UpdateDnsAuthorizationRequest_descriptor; + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_UpdateDnsAuthorizationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_UpdateDnsAuthorizationRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_UpdateDnsAuthorizationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest.class, com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest.Builder.class); + com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest.class, + com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest.Builder.class); } public static final int DNS_AUTHORIZATION_FIELD_NUMBER = 1; private com.google.cloud.certificatemanager.v1.DnsAuthorization dnsAuthorization_; /** + * + * *
    * Required. A definition of the dns authorization to update.
    * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dnsAuthorization field is set. */ @java.lang.Override @@ -62,39 +85,55 @@ public boolean hasDnsAuthorization() { return dnsAuthorization_ != null; } /** + * + * *
    * Required. A definition of the dns authorization to update.
    * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dnsAuthorization. */ @java.lang.Override public com.google.cloud.certificatemanager.v1.DnsAuthorization getDnsAuthorization() { - return dnsAuthorization_ == null ? com.google.cloud.certificatemanager.v1.DnsAuthorization.getDefaultInstance() : dnsAuthorization_; + return dnsAuthorization_ == null + ? com.google.cloud.certificatemanager.v1.DnsAuthorization.getDefaultInstance() + : dnsAuthorization_; } /** + * + * *
    * Required. A definition of the dns authorization to update.
    * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder getDnsAuthorizationOrBuilder() { + public com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder + getDnsAuthorizationOrBuilder() { return getDnsAuthorization(); } public static final int UPDATE_MASK_FIELD_NUMBER = 2; private com.google.protobuf.FieldMask updateMask_; /** + * + * *
    * Required. The update mask applies to the resource. For the `FieldMask`
    * definition, see
    * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
    * 
* - * .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 @@ -102,13 +141,17 @@ public boolean hasUpdateMask() { return updateMask_ != null; } /** + * + * *
    * Required. The update mask applies to the resource. For the `FieldMask`
    * definition, see
    * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
    * 
* - * .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 @@ -116,13 +159,16 @@ public com.google.protobuf.FieldMask getUpdateMask() { return updateMask_ == null ? com.google.protobuf.FieldMask.getDefaultInstance() : updateMask_; } /** + * + * *
    * Required. The update mask applies to the resource. For the `FieldMask`
    * definition, see
    * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
    * 
* - * .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() { @@ -130,6 +176,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -141,8 +188,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (dnsAuthorization_ != null) { output.writeMessage(1, getDnsAuthorization()); } @@ -159,12 +205,10 @@ public int getSerializedSize() { size = 0; if (dnsAuthorization_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDnsAuthorization()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDnsAuthorization()); } if (updateMask_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getUpdateMask()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getUpdateMask()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -174,22 +218,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.certificatemanager.v1.UpdateDnsAuthorizationRequest)) { return super.equals(obj); } - com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest other = (com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest) obj; + com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest other = + (com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest) obj; if (hasDnsAuthorization() != other.hasDnsAuthorization()) return false; if (hasDnsAuthorization()) { - if (!getDnsAuthorization() - .equals(other.getDnsAuthorization())) return false; + if (!getDnsAuthorization().equals(other.getDnsAuthorization())) return false; } if (hasUpdateMask() != other.hasUpdateMask()) return false; if (hasUpdateMask()) { - if (!getUpdateMask() - .equals(other.getUpdateMask())) return false; + if (!getUpdateMask().equals(other.getUpdateMask())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -216,129 +259,138 @@ public int hashCode() { } public static com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + + public static com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest parseDelimitedFrom( - java.io.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.certificatemanager.v1.UpdateDnsAuthorizationRequest + parseDelimitedFrom( + java.io.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.certificatemanager.v1.UpdateDnsAuthorizationRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 `UpdateDnsAuthorization` method.
    * 
* * Protobuf type {@code google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest) com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_UpdateDnsAuthorizationRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_UpdateDnsAuthorizationRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_UpdateDnsAuthorizationRequest_fieldAccessorTable + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_UpdateDnsAuthorizationRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest.class, com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest.Builder.class); + com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest.class, + com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest.Builder.class); } - // Construct using com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -358,14 +410,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.internal_static_google_cloud_certificatemanager_v1_UpdateDnsAuthorizationRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.certificatemanager.v1.CertificateManagerProto + .internal_static_google_cloud_certificatemanager_v1_UpdateDnsAuthorizationRequest_descriptor; } @java.lang.Override - public com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest getDefaultInstanceForType() { - return com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest.getDefaultInstance(); + public com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest + getDefaultInstanceForType() { + return com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest + .getDefaultInstance(); } @java.lang.Override @@ -379,7 +433,8 @@ public com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest buil @java.lang.Override public com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest buildPartial() { - com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest result = new com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest(this); + com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest result = + new com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest(this); if (dnsAuthorizationBuilder_ == null) { result.dnsAuthorization_ = dnsAuthorization_; } else { @@ -398,46 +453,51 @@ public com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest 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.certificatemanager.v1.UpdateDnsAuthorizationRequest) { - return mergeFrom((com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest)other); + return mergeFrom( + (com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest other) { - if (other == com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest other) { + if (other + == com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest + .getDefaultInstance()) return this; if (other.hasDnsAuthorization()) { mergeDnsAuthorization(other.getDnsAuthorization()); } @@ -470,26 +530,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getDnsAuthorizationFieldBuilder().getBuilder(), - extensionRegistry); + case 10: + { + input.readMessage( + getDnsAuthorizationFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 10 - case 18: { - input.readMessage( - getUpdateMaskFieldBuilder().getBuilder(), - extensionRegistry); + break; + } // case 10 + case 18: + { + input.readMessage(getUpdateMaskFieldBuilder().getBuilder(), extensionRegistry); - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -502,41 +562,61 @@ public Builder mergeFrom( private com.google.cloud.certificatemanager.v1.DnsAuthorization dnsAuthorization_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.DnsAuthorization, com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder, com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder> dnsAuthorizationBuilder_; + com.google.cloud.certificatemanager.v1.DnsAuthorization, + com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder, + com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder> + dnsAuthorizationBuilder_; /** + * + * *
      * Required. A definition of the dns authorization to update.
      * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dnsAuthorization field is set. */ public boolean hasDnsAuthorization() { return dnsAuthorizationBuilder_ != null || dnsAuthorization_ != null; } /** + * + * *
      * Required. A definition of the dns authorization to update.
      * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dnsAuthorization. */ public com.google.cloud.certificatemanager.v1.DnsAuthorization getDnsAuthorization() { if (dnsAuthorizationBuilder_ == null) { - return dnsAuthorization_ == null ? com.google.cloud.certificatemanager.v1.DnsAuthorization.getDefaultInstance() : dnsAuthorization_; + return dnsAuthorization_ == null + ? com.google.cloud.certificatemanager.v1.DnsAuthorization.getDefaultInstance() + : dnsAuthorization_; } else { return dnsAuthorizationBuilder_.getMessage(); } } /** + * + * *
      * Required. A definition of the dns authorization to update.
      * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setDnsAuthorization(com.google.cloud.certificatemanager.v1.DnsAuthorization value) { + public Builder setDnsAuthorization( + com.google.cloud.certificatemanager.v1.DnsAuthorization value) { if (dnsAuthorizationBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -550,11 +630,15 @@ public Builder setDnsAuthorization(com.google.cloud.certificatemanager.v1.DnsAut return this; } /** + * + * *
      * Required. A definition of the dns authorization to update.
      * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setDnsAuthorization( com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder builderForValue) { @@ -568,17 +652,24 @@ public Builder setDnsAuthorization( return this; } /** + * + * *
      * Required. A definition of the dns authorization to update.
      * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder mergeDnsAuthorization(com.google.cloud.certificatemanager.v1.DnsAuthorization value) { + public Builder mergeDnsAuthorization( + com.google.cloud.certificatemanager.v1.DnsAuthorization value) { if (dnsAuthorizationBuilder_ == null) { if (dnsAuthorization_ != null) { dnsAuthorization_ = - com.google.cloud.certificatemanager.v1.DnsAuthorization.newBuilder(dnsAuthorization_).mergeFrom(value).buildPartial(); + com.google.cloud.certificatemanager.v1.DnsAuthorization.newBuilder(dnsAuthorization_) + .mergeFrom(value) + .buildPartial(); } else { dnsAuthorization_ = value; } @@ -590,11 +681,15 @@ public Builder mergeDnsAuthorization(com.google.cloud.certificatemanager.v1.DnsA return this; } /** + * + * *
      * Required. A definition of the dns authorization to update.
      * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearDnsAuthorization() { if (dnsAuthorizationBuilder_ == null) { @@ -608,48 +703,66 @@ public Builder clearDnsAuthorization() { return this; } /** + * + * *
      * Required. A definition of the dns authorization to update.
      * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder getDnsAuthorizationBuilder() { - + public com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder + getDnsAuthorizationBuilder() { + onChanged(); return getDnsAuthorizationFieldBuilder().getBuilder(); } /** + * + * *
      * Required. A definition of the dns authorization to update.
      * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder getDnsAuthorizationOrBuilder() { + public com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder + getDnsAuthorizationOrBuilder() { if (dnsAuthorizationBuilder_ != null) { return dnsAuthorizationBuilder_.getMessageOrBuilder(); } else { - return dnsAuthorization_ == null ? - com.google.cloud.certificatemanager.v1.DnsAuthorization.getDefaultInstance() : dnsAuthorization_; + return dnsAuthorization_ == null + ? com.google.cloud.certificatemanager.v1.DnsAuthorization.getDefaultInstance() + : dnsAuthorization_; } } /** + * + * *
      * Required. A definition of the dns authorization to update.
      * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.DnsAuthorization, com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder, com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder> + com.google.cloud.certificatemanager.v1.DnsAuthorization, + com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder, + com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder> getDnsAuthorizationFieldBuilder() { if (dnsAuthorizationBuilder_ == null) { - dnsAuthorizationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.certificatemanager.v1.DnsAuthorization, com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder, com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder>( - getDnsAuthorization(), - getParentForChildren(), - isClean()); + dnsAuthorizationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.certificatemanager.v1.DnsAuthorization, + com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder, + com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder>( + getDnsAuthorization(), getParentForChildren(), isClean()); dnsAuthorization_ = null; } return dnsAuthorizationBuilder_; @@ -657,45 +770,61 @@ public com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder getDnsAu 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 update mask applies to the resource. For the `FieldMask`
      * definition, see
      * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
      * 
* - * .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 update mask applies to the resource. For the `FieldMask`
      * definition, see
      * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
      * 
* - * .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 update mask applies to the resource. For the `FieldMask`
      * definition, see
      * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
      * 
* - * .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) { @@ -711,16 +840,18 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The update mask applies to the resource. For the `FieldMask`
      * definition, see
      * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
      * 
* - * .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(); @@ -731,19 +862,22 @@ public Builder setUpdateMask( return this; } /** + * + * *
      * Required. The update mask applies to the resource. For the `FieldMask`
      * definition, see
      * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
      * 
* - * .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; } @@ -755,13 +889,16 @@ public Builder mergeUpdateMask(com.google.protobuf.FieldMask value) { return this; } /** + * + * *
      * Required. The update mask applies to the resource. For the `FieldMask`
      * definition, see
      * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
      * 
* - * .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) { @@ -775,61 +912,74 @@ public Builder clearUpdateMask() { return this; } /** + * + * *
      * Required. The update mask applies to the resource. For the `FieldMask`
      * definition, see
      * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
      * 
* - * .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 update mask applies to the resource. For the `FieldMask`
      * definition, see
      * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
      * 
* - * .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 update mask applies to the resource. For the `FieldMask`
      * definition, see
      * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
      * 
* - * .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); } @@ -839,41 +989,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest) } // @@protoc_insertion_point(class_scope:google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest) - private static final com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest DEFAULT_INSTANCE; + private static final com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest(); } - public static com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest getDefaultInstance() { + public static com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public UpdateDnsAuthorizationRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public UpdateDnsAuthorizationRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -885,9 +1037,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest getDefaultInstanceForType() { + public com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequestOrBuilder.java b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequestOrBuilder.java rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequestOrBuilder.java index 076740088c69..ed1f39952934 100644 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequestOrBuilder.java +++ b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequestOrBuilder.java @@ -1,69 +1,110 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; -public interface UpdateDnsAuthorizationRequestOrBuilder extends +public interface UpdateDnsAuthorizationRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. A definition of the dns authorization to update.
    * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the dnsAuthorization field is set. */ boolean hasDnsAuthorization(); /** + * + * *
    * Required. A definition of the dns authorization to update.
    * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The dnsAuthorization. */ com.google.cloud.certificatemanager.v1.DnsAuthorization getDnsAuthorization(); /** + * + * *
    * Required. A definition of the dns authorization to update.
    * 
* - * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 1 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.certificatemanager.v1.DnsAuthorization dns_authorization = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder getDnsAuthorizationOrBuilder(); /** + * + * *
    * Required. The update mask applies to the resource. For the `FieldMask`
    * definition, see
    * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
    * 
* - * .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 update mask applies to the resource. For the `FieldMask`
    * definition, see
    * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
    * 
* - * .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 update mask applies to the resource. For the `FieldMask`
    * definition, see
    * https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#fieldmask.
    * 
* - * .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/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/proto/google/cloud/certificatemanager/v1/certificate_issuance_config.proto b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/proto/google/cloud/certificatemanager/v1/certificate_issuance_config.proto similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/proto/google/cloud/certificatemanager/v1/certificate_issuance_config.proto rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/proto/google/cloud/certificatemanager/v1/certificate_issuance_config.proto diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/proto/google/cloud/certificatemanager/v1/certificate_manager.proto b/java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/proto/google/cloud/certificatemanager/v1/certificate_manager.proto similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/proto/google/cloud/certificatemanager/v1/certificate_manager.proto rename to java-certificate-manager/proto-google-cloud-certificate-manager-v1/src/main/proto/google/cloud/certificatemanager/v1/certificate_manager.proto diff --git a/java-certificate-manager/samples/install-without-bom/pom.xml b/java-certificate-manager/samples/install-without-bom/pom.xml new file mode 100644 index 000000000000..6852e851e345 --- /dev/null +++ b/java-certificate-manager/samples/install-without-bom/pom.xml @@ -0,0 +1,84 @@ + + + 4.0.0 + com.google.cloud + -install-without-bom + jar + Google Certificate Manager Install Without Bom + https://github.com/googleapis/java-certificate-manager + + + + com.google.cloud.samples + shared-configuration + 1.2.0 + + + + 1.8 + 1.8 + UTF-8 + + + + + + + com.google.cloud + google-cloud-certificate-manager + 0.5.2 + + + + + junit + junit + 4.13.2 + test + + + com.google.truth + truth + 1.1.3 + test + + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + 3.3.0 + + + add-snippets-source + + add-source + + + + ../snippets/src/main/java + + + + + add-snippets-tests + + add-test-source + + + + ../snippets/src/test/java + + + + + + + + diff --git a/java-certificate-manager/samples/pom.xml b/java-certificate-manager/samples/pom.xml new file mode 100644 index 000000000000..7181b72aab46 --- /dev/null +++ b/java-certificate-manager/samples/pom.xml @@ -0,0 +1,56 @@ + + + 4.0.0 + com.google.cloud + google-cloud--samples + 0.0.1-SNAPSHOT + pom + Google Certificate Manager Samples Parent + https://github.com/googleapis/java-certificate-manager + + Java idiomatic client for Google Cloud Platform services. + + + + + com.google.cloud.samples + shared-configuration + 1.2.0 + + + + 1.8 + 1.8 + UTF-8 + + + + install-without-bom + snapshot + snippets + + + + + + org.apache.maven.plugins + maven-deploy-plugin + 2.8.2 + + true + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.13 + + true + + + + + diff --git a/java-certificate-manager/samples/snapshot/pom.xml b/java-certificate-manager/samples/snapshot/pom.xml new file mode 100644 index 000000000000..985b74031966 --- /dev/null +++ b/java-certificate-manager/samples/snapshot/pom.xml @@ -0,0 +1,83 @@ + + + 4.0.0 + com.google.cloud + -snapshot + jar + Google Certificate Manager Snapshot Samples + https://github.com/googleapis/java-certificate-manager + + + + com.google.cloud.samples + shared-configuration + 1.2.0 + + + + 1.8 + 1.8 + UTF-8 + + + + + + com.google.cloud + google-cloud-certificate-manager + 0.5.2 + + + + + junit + junit + 4.13.2 + test + + + com.google.truth + truth + 1.1.3 + test + + + + + + + + org.codehaus.mojo + build-helper-maven-plugin + 3.3.0 + + + add-snippets-source + + add-source + + + + ../snippets/src/main/java + + + + + add-snippets-tests + + add-test-source + + + + ../snippets/src/test/java + + + + + + + + diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider1.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider1.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetEndpoint.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetEndpoint.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/AsyncCreateCertificate.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/AsyncCreateCertificate.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/AsyncCreateCertificate.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/AsyncCreateCertificate.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/AsyncCreateCertificateLRO.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/AsyncCreateCertificateLRO.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/AsyncCreateCertificateLRO.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/AsyncCreateCertificateLRO.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificate.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificate.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificate.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificate.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateLocationnameCertificateString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateLocationnameCertificateString.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateLocationnameCertificateString.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateLocationnameCertificateString.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateStringCertificateString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateStringCertificateString.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateStringCertificateString.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateStringCertificateString.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificateissuanceconfig/AsyncCreateCertificateIssuanceConfig.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificateissuanceconfig/AsyncCreateCertificateIssuanceConfig.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificateissuanceconfig/AsyncCreateCertificateIssuanceConfig.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificateissuanceconfig/AsyncCreateCertificateIssuanceConfig.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificateissuanceconfig/AsyncCreateCertificateIssuanceConfigLRO.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificateissuanceconfig/AsyncCreateCertificateIssuanceConfigLRO.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificateissuanceconfig/AsyncCreateCertificateIssuanceConfigLRO.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificateissuanceconfig/AsyncCreateCertificateIssuanceConfigLRO.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificateissuanceconfig/SyncCreateCertificateIssuanceConfig.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificateissuanceconfig/SyncCreateCertificateIssuanceConfig.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificateissuanceconfig/SyncCreateCertificateIssuanceConfig.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificateissuanceconfig/SyncCreateCertificateIssuanceConfig.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificateissuanceconfig/SyncCreateCertificateIssuanceConfigLocationnameCertificateissuanceconfigString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificateissuanceconfig/SyncCreateCertificateIssuanceConfigLocationnameCertificateissuanceconfigString.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificateissuanceconfig/SyncCreateCertificateIssuanceConfigLocationnameCertificateissuanceconfigString.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificateissuanceconfig/SyncCreateCertificateIssuanceConfigLocationnameCertificateissuanceconfigString.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificateissuanceconfig/SyncCreateCertificateIssuanceConfigStringCertificateissuanceconfigString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificateissuanceconfig/SyncCreateCertificateIssuanceConfigStringCertificateissuanceconfigString.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificateissuanceconfig/SyncCreateCertificateIssuanceConfigStringCertificateissuanceconfigString.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificateissuanceconfig/SyncCreateCertificateIssuanceConfigStringCertificateissuanceconfigString.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/AsyncCreateCertificateMap.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/AsyncCreateCertificateMap.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/AsyncCreateCertificateMap.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/AsyncCreateCertificateMap.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/AsyncCreateCertificateMapLRO.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/AsyncCreateCertificateMapLRO.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/AsyncCreateCertificateMapLRO.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/AsyncCreateCertificateMapLRO.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMap.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMap.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMap.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMap.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapLocationnameCertificatemapString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapLocationnameCertificatemapString.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapLocationnameCertificatemapString.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapLocationnameCertificatemapString.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapStringCertificatemapString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapStringCertificatemapString.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapStringCertificatemapString.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapStringCertificatemapString.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/AsyncCreateCertificateMapEntry.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/AsyncCreateCertificateMapEntry.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/AsyncCreateCertificateMapEntry.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/AsyncCreateCertificateMapEntry.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/AsyncCreateCertificateMapEntryLRO.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/AsyncCreateCertificateMapEntryLRO.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/AsyncCreateCertificateMapEntryLRO.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/AsyncCreateCertificateMapEntryLRO.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntry.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntry.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntry.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntry.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryCertificatemapnameCertificatemapentryString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryCertificatemapnameCertificatemapentryString.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryCertificatemapnameCertificatemapentryString.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryCertificatemapnameCertificatemapentryString.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryStringCertificatemapentryString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryStringCertificatemapentryString.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryStringCertificatemapentryString.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryStringCertificatemapentryString.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/AsyncCreateDnsAuthorization.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/AsyncCreateDnsAuthorization.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/AsyncCreateDnsAuthorization.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/AsyncCreateDnsAuthorization.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/AsyncCreateDnsAuthorizationLRO.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/AsyncCreateDnsAuthorizationLRO.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/AsyncCreateDnsAuthorizationLRO.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/AsyncCreateDnsAuthorizationLRO.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorization.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorization.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorization.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorization.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationLocationnameDnsauthorizationString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationLocationnameDnsauthorizationString.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationLocationnameDnsauthorizationString.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationLocationnameDnsauthorizationString.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationStringDnsauthorizationString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationStringDnsauthorizationString.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationStringDnsauthorizationString.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationStringDnsauthorizationString.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/AsyncDeleteCertificate.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/AsyncDeleteCertificate.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/AsyncDeleteCertificate.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/AsyncDeleteCertificate.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/AsyncDeleteCertificateLRO.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/AsyncDeleteCertificateLRO.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/AsyncDeleteCertificateLRO.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/AsyncDeleteCertificateLRO.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificate.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificate.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificate.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificate.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateCertificatename.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateCertificatename.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateCertificatename.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateCertificatename.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateString.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateString.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateString.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificateissuanceconfig/AsyncDeleteCertificateIssuanceConfig.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificateissuanceconfig/AsyncDeleteCertificateIssuanceConfig.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificateissuanceconfig/AsyncDeleteCertificateIssuanceConfig.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificateissuanceconfig/AsyncDeleteCertificateIssuanceConfig.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificateissuanceconfig/AsyncDeleteCertificateIssuanceConfigLRO.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificateissuanceconfig/AsyncDeleteCertificateIssuanceConfigLRO.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificateissuanceconfig/AsyncDeleteCertificateIssuanceConfigLRO.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificateissuanceconfig/AsyncDeleteCertificateIssuanceConfigLRO.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificateissuanceconfig/SyncDeleteCertificateIssuanceConfig.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificateissuanceconfig/SyncDeleteCertificateIssuanceConfig.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificateissuanceconfig/SyncDeleteCertificateIssuanceConfig.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificateissuanceconfig/SyncDeleteCertificateIssuanceConfig.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificateissuanceconfig/SyncDeleteCertificateIssuanceConfigCertificateissuanceconfigname.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificateissuanceconfig/SyncDeleteCertificateIssuanceConfigCertificateissuanceconfigname.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificateissuanceconfig/SyncDeleteCertificateIssuanceConfigCertificateissuanceconfigname.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificateissuanceconfig/SyncDeleteCertificateIssuanceConfigCertificateissuanceconfigname.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificateissuanceconfig/SyncDeleteCertificateIssuanceConfigString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificateissuanceconfig/SyncDeleteCertificateIssuanceConfigString.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificateissuanceconfig/SyncDeleteCertificateIssuanceConfigString.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificateissuanceconfig/SyncDeleteCertificateIssuanceConfigString.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/AsyncDeleteCertificateMap.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/AsyncDeleteCertificateMap.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/AsyncDeleteCertificateMap.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/AsyncDeleteCertificateMap.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/AsyncDeleteCertificateMapLRO.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/AsyncDeleteCertificateMapLRO.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/AsyncDeleteCertificateMapLRO.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/AsyncDeleteCertificateMapLRO.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMap.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMap.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMap.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMap.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapCertificatemapname.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapCertificatemapname.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapCertificatemapname.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapCertificatemapname.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapString.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapString.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapString.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/AsyncDeleteCertificateMapEntry.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/AsyncDeleteCertificateMapEntry.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/AsyncDeleteCertificateMapEntry.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/AsyncDeleteCertificateMapEntry.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/AsyncDeleteCertificateMapEntryLRO.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/AsyncDeleteCertificateMapEntryLRO.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/AsyncDeleteCertificateMapEntryLRO.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/AsyncDeleteCertificateMapEntryLRO.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntry.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntry.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntry.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntry.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryCertificatemapentryname.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryCertificatemapentryname.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryCertificatemapentryname.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryCertificatemapentryname.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryString.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryString.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryString.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/AsyncDeleteDnsAuthorization.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/AsyncDeleteDnsAuthorization.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/AsyncDeleteDnsAuthorization.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/AsyncDeleteDnsAuthorization.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/AsyncDeleteDnsAuthorizationLRO.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/AsyncDeleteDnsAuthorizationLRO.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/AsyncDeleteDnsAuthorizationLRO.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/AsyncDeleteDnsAuthorizationLRO.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorization.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorization.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorization.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorization.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationDnsauthorizationname.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationDnsauthorizationname.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationDnsauthorizationname.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationDnsauthorizationname.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationString.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationString.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationString.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/AsyncGetCertificate.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/AsyncGetCertificate.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/AsyncGetCertificate.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/AsyncGetCertificate.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificate.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificate.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificate.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificate.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificateCertificatename.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificateCertificatename.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificateCertificatename.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificateCertificatename.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificateString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificateString.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificateString.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificateString.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificateissuanceconfig/AsyncGetCertificateIssuanceConfig.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificateissuanceconfig/AsyncGetCertificateIssuanceConfig.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificateissuanceconfig/AsyncGetCertificateIssuanceConfig.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificateissuanceconfig/AsyncGetCertificateIssuanceConfig.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificateissuanceconfig/SyncGetCertificateIssuanceConfig.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificateissuanceconfig/SyncGetCertificateIssuanceConfig.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificateissuanceconfig/SyncGetCertificateIssuanceConfig.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificateissuanceconfig/SyncGetCertificateIssuanceConfig.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificateissuanceconfig/SyncGetCertificateIssuanceConfigCertificateissuanceconfigname.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificateissuanceconfig/SyncGetCertificateIssuanceConfigCertificateissuanceconfigname.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificateissuanceconfig/SyncGetCertificateIssuanceConfigCertificateissuanceconfigname.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificateissuanceconfig/SyncGetCertificateIssuanceConfigCertificateissuanceconfigname.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificateissuanceconfig/SyncGetCertificateIssuanceConfigString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificateissuanceconfig/SyncGetCertificateIssuanceConfigString.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificateissuanceconfig/SyncGetCertificateIssuanceConfigString.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificateissuanceconfig/SyncGetCertificateIssuanceConfigString.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/AsyncGetCertificateMap.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/AsyncGetCertificateMap.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/AsyncGetCertificateMap.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/AsyncGetCertificateMap.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMap.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMap.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMap.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMap.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMapCertificatemapname.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMapCertificatemapname.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMapCertificatemapname.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMapCertificatemapname.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMapString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMapString.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMapString.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMapString.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/AsyncGetCertificateMapEntry.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/AsyncGetCertificateMapEntry.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/AsyncGetCertificateMapEntry.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/AsyncGetCertificateMapEntry.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntry.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntry.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntry.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntry.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryCertificatemapentryname.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryCertificatemapentryname.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryCertificatemapentryname.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryCertificatemapentryname.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryString.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryString.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryString.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/AsyncGetDnsAuthorization.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/AsyncGetDnsAuthorization.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/AsyncGetDnsAuthorization.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/AsyncGetDnsAuthorization.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorization.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorization.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorization.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorization.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorizationDnsauthorizationname.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorizationDnsauthorizationname.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorizationDnsauthorizationname.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorizationDnsauthorizationname.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorizationString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorizationString.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorizationString.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorizationString.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getlocation/AsyncGetLocation.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getlocation/AsyncGetLocation.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getlocation/AsyncGetLocation.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getlocation/AsyncGetLocation.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getlocation/SyncGetLocation.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getlocation/SyncGetLocation.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getlocation/SyncGetLocation.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getlocation/SyncGetLocation.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificateissuanceconfigs/AsyncListCertificateIssuanceConfigs.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificateissuanceconfigs/AsyncListCertificateIssuanceConfigs.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificateissuanceconfigs/AsyncListCertificateIssuanceConfigs.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificateissuanceconfigs/AsyncListCertificateIssuanceConfigs.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificateissuanceconfigs/AsyncListCertificateIssuanceConfigsPaged.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificateissuanceconfigs/AsyncListCertificateIssuanceConfigsPaged.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificateissuanceconfigs/AsyncListCertificateIssuanceConfigsPaged.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificateissuanceconfigs/AsyncListCertificateIssuanceConfigsPaged.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificateissuanceconfigs/SyncListCertificateIssuanceConfigs.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificateissuanceconfigs/SyncListCertificateIssuanceConfigs.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificateissuanceconfigs/SyncListCertificateIssuanceConfigs.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificateissuanceconfigs/SyncListCertificateIssuanceConfigs.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificateissuanceconfigs/SyncListCertificateIssuanceConfigsLocationname.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificateissuanceconfigs/SyncListCertificateIssuanceConfigsLocationname.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificateissuanceconfigs/SyncListCertificateIssuanceConfigsLocationname.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificateissuanceconfigs/SyncListCertificateIssuanceConfigsLocationname.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificateissuanceconfigs/SyncListCertificateIssuanceConfigsString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificateissuanceconfigs/SyncListCertificateIssuanceConfigsString.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificateissuanceconfigs/SyncListCertificateIssuanceConfigsString.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificateissuanceconfigs/SyncListCertificateIssuanceConfigsString.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/AsyncListCertificateMapEntries.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/AsyncListCertificateMapEntries.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/AsyncListCertificateMapEntries.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/AsyncListCertificateMapEntries.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/AsyncListCertificateMapEntriesPaged.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/AsyncListCertificateMapEntriesPaged.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/AsyncListCertificateMapEntriesPaged.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/AsyncListCertificateMapEntriesPaged.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntries.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntries.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntries.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntries.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesCertificatemapname.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesCertificatemapname.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesCertificatemapname.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesCertificatemapname.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesString.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesString.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesString.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/AsyncListCertificateMaps.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/AsyncListCertificateMaps.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/AsyncListCertificateMaps.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/AsyncListCertificateMaps.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/AsyncListCertificateMapsPaged.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/AsyncListCertificateMapsPaged.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/AsyncListCertificateMapsPaged.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/AsyncListCertificateMapsPaged.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMaps.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMaps.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMaps.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMaps.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMapsLocationname.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMapsLocationname.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMapsLocationname.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMapsLocationname.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMapsString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMapsString.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMapsString.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMapsString.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/AsyncListCertificates.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/AsyncListCertificates.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/AsyncListCertificates.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/AsyncListCertificates.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/AsyncListCertificatesPaged.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/AsyncListCertificatesPaged.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/AsyncListCertificatesPaged.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/AsyncListCertificatesPaged.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificates.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificates.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificates.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificates.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificatesLocationname.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificatesLocationname.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificatesLocationname.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificatesLocationname.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificatesString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificatesString.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificatesString.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificatesString.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/AsyncListDnsAuthorizations.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/AsyncListDnsAuthorizations.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/AsyncListDnsAuthorizations.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/AsyncListDnsAuthorizations.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/AsyncListDnsAuthorizationsPaged.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/AsyncListDnsAuthorizationsPaged.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/AsyncListDnsAuthorizationsPaged.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/AsyncListDnsAuthorizationsPaged.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizations.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizations.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizations.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizations.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsLocationname.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsLocationname.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsLocationname.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsLocationname.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsString.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsString.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsString.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listlocations/AsyncListLocations.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listlocations/AsyncListLocations.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listlocations/AsyncListLocations.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listlocations/AsyncListLocations.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listlocations/AsyncListLocationsPaged.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listlocations/AsyncListLocationsPaged.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listlocations/AsyncListLocationsPaged.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listlocations/AsyncListLocationsPaged.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listlocations/SyncListLocations.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listlocations/SyncListLocations.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listlocations/SyncListLocations.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listlocations/SyncListLocations.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/AsyncUpdateCertificate.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/AsyncUpdateCertificate.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/AsyncUpdateCertificate.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/AsyncUpdateCertificate.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/AsyncUpdateCertificateLRO.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/AsyncUpdateCertificateLRO.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/AsyncUpdateCertificateLRO.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/AsyncUpdateCertificateLRO.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/SyncUpdateCertificate.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/SyncUpdateCertificate.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/SyncUpdateCertificate.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/SyncUpdateCertificate.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/SyncUpdateCertificateCertificateFieldmask.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/SyncUpdateCertificateCertificateFieldmask.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/SyncUpdateCertificateCertificateFieldmask.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/SyncUpdateCertificateCertificateFieldmask.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/AsyncUpdateCertificateMap.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/AsyncUpdateCertificateMap.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/AsyncUpdateCertificateMap.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/AsyncUpdateCertificateMap.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/AsyncUpdateCertificateMapLRO.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/AsyncUpdateCertificateMapLRO.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/AsyncUpdateCertificateMapLRO.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/AsyncUpdateCertificateMapLRO.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/SyncUpdateCertificateMap.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/SyncUpdateCertificateMap.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/SyncUpdateCertificateMap.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/SyncUpdateCertificateMap.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/SyncUpdateCertificateMapCertificatemapFieldmask.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/SyncUpdateCertificateMapCertificatemapFieldmask.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/SyncUpdateCertificateMapCertificatemapFieldmask.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/SyncUpdateCertificateMapCertificatemapFieldmask.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/AsyncUpdateCertificateMapEntry.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/AsyncUpdateCertificateMapEntry.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/AsyncUpdateCertificateMapEntry.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/AsyncUpdateCertificateMapEntry.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/AsyncUpdateCertificateMapEntryLRO.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/AsyncUpdateCertificateMapEntryLRO.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/AsyncUpdateCertificateMapEntryLRO.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/AsyncUpdateCertificateMapEntryLRO.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/SyncUpdateCertificateMapEntry.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/SyncUpdateCertificateMapEntry.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/SyncUpdateCertificateMapEntry.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/SyncUpdateCertificateMapEntry.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/SyncUpdateCertificateMapEntryCertificatemapentryFieldmask.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/SyncUpdateCertificateMapEntryCertificatemapentryFieldmask.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/SyncUpdateCertificateMapEntryCertificatemapentryFieldmask.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/SyncUpdateCertificateMapEntryCertificatemapentryFieldmask.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/AsyncUpdateDnsAuthorization.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/AsyncUpdateDnsAuthorization.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/AsyncUpdateDnsAuthorization.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/AsyncUpdateDnsAuthorization.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/AsyncUpdateDnsAuthorizationLRO.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/AsyncUpdateDnsAuthorizationLRO.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/AsyncUpdateDnsAuthorizationLRO.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/AsyncUpdateDnsAuthorizationLRO.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/SyncUpdateDnsAuthorization.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/SyncUpdateDnsAuthorization.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/SyncUpdateDnsAuthorization.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/SyncUpdateDnsAuthorization.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/SyncUpdateDnsAuthorizationDnsauthorizationFieldmask.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/SyncUpdateDnsAuthorizationDnsauthorizationFieldmask.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/SyncUpdateDnsAuthorizationDnsauthorizationFieldmask.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/SyncUpdateDnsAuthorizationDnsauthorizationFieldmask.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagersettings/getcertificate/SyncGetCertificate.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagersettings/getcertificate/SyncGetCertificate.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagersettings/getcertificate/SyncGetCertificate.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagersettings/getcertificate/SyncGetCertificate.java diff --git a/owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/stub/certificatemanagerstubsettings/getcertificate/SyncGetCertificate.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/stub/certificatemanagerstubsettings/getcertificate/SyncGetCertificate.java similarity index 100% rename from owl-bot-staging/java-certificate-manager/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/stub/certificatemanagerstubsettings/getcertificate/SyncGetCertificate.java rename to java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/stub/certificatemanagerstubsettings/getcertificate/SyncGetCertificate.java diff --git a/java-certificate-manager/samples/snippets/pom.xml b/java-certificate-manager/samples/snippets/pom.xml new file mode 100644 index 000000000000..314a354beb89 --- /dev/null +++ b/java-certificate-manager/samples/snippets/pom.xml @@ -0,0 +1,47 @@ + + + 4.0.0 + com.google.cloud + -snippets + jar + Google Certificate Manager Snippets + https://github.com/googleapis/java-certificate-manager + + + + com.google.cloud.samples + shared-configuration + 1.2.0 + + + + 1.8 + 1.8 + UTF-8 + + + + + + com.google.cloud + google-cloud-certificate-manager + 0.5.2 + + + + junit + junit + 4.13.2 + test + + + com.google.truth + truth + 1.1.3 + test + + + diff --git a/owl-bot-staging/java-certificate-manager/v1/grpc-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerGrpc.java b/owl-bot-staging/java-certificate-manager/v1/grpc-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerGrpc.java deleted file mode 100644 index 2f3460200a98..000000000000 --- a/owl-bot-staging/java-certificate-manager/v1/grpc-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerGrpc.java +++ /dev/null @@ -1,2379 +0,0 @@ -package com.google.cloud.certificatemanager.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * API Overview
- * Certificates Manager API allows customers to see and manage all their TLS
- * certificates.
- * Certificates Manager API service provides methods to manage certificates,
- * group them into collections, and create serving configuration that can be
- * easily applied to other Cloud resources e.g. Target Proxies.
- * Data Model
- * The Certificates Manager service exposes the following resources:
- * * `Certificate` which describes a single TLS certificate.
- * * `CertificateMap` which describes a collection of certificates that can be
- * attached to a target resource.
- * * `CertificateMapEntry` which describes a single configuration entry that
- * consists of a SNI and a group of certificates. It's a subresource of
- * CertificateMap.
- * Certificate, CertificateMap and CertificateMapEntry IDs
- * have to match "^[a-z0-9-]{1,63}$" regexp, which means that
- * - only lower case letters, digits, and hyphen are allowed
- * - length of the resource ID has to be in [1,63] range.
- * Provides methods to manage Cloud Certificate Manager entities.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/certificatemanager/v1/certificate_manager.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class CertificateManagerGrpc { - - private CertificateManagerGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.certificatemanager.v1.CertificateManager"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getListCertificatesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListCertificates", - requestType = com.google.cloud.certificatemanager.v1.ListCertificatesRequest.class, - responseType = com.google.cloud.certificatemanager.v1.ListCertificatesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListCertificatesMethod() { - io.grpc.MethodDescriptor getListCertificatesMethod; - if ((getListCertificatesMethod = CertificateManagerGrpc.getListCertificatesMethod) == null) { - synchronized (CertificateManagerGrpc.class) { - if ((getListCertificatesMethod = CertificateManagerGrpc.getListCertificatesMethod) == null) { - CertificateManagerGrpc.getListCertificatesMethod = getListCertificatesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCertificates")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.certificatemanager.v1.ListCertificatesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.certificatemanager.v1.ListCertificatesResponse.getDefaultInstance())) - .setSchemaDescriptor(new CertificateManagerMethodDescriptorSupplier("ListCertificates")) - .build(); - } - } - } - return getListCertificatesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetCertificateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCertificate", - requestType = com.google.cloud.certificatemanager.v1.GetCertificateRequest.class, - responseType = com.google.cloud.certificatemanager.v1.Certificate.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetCertificateMethod() { - io.grpc.MethodDescriptor getGetCertificateMethod; - if ((getGetCertificateMethod = CertificateManagerGrpc.getGetCertificateMethod) == null) { - synchronized (CertificateManagerGrpc.class) { - if ((getGetCertificateMethod = CertificateManagerGrpc.getGetCertificateMethod) == null) { - CertificateManagerGrpc.getGetCertificateMethod = getGetCertificateMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCertificate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.certificatemanager.v1.GetCertificateRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.certificatemanager.v1.Certificate.getDefaultInstance())) - .setSchemaDescriptor(new CertificateManagerMethodDescriptorSupplier("GetCertificate")) - .build(); - } - } - } - return getGetCertificateMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateCertificateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCertificate", - requestType = com.google.cloud.certificatemanager.v1.CreateCertificateRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateCertificateMethod() { - io.grpc.MethodDescriptor getCreateCertificateMethod; - if ((getCreateCertificateMethod = CertificateManagerGrpc.getCreateCertificateMethod) == null) { - synchronized (CertificateManagerGrpc.class) { - if ((getCreateCertificateMethod = CertificateManagerGrpc.getCreateCertificateMethod) == null) { - CertificateManagerGrpc.getCreateCertificateMethod = getCreateCertificateMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCertificate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.certificatemanager.v1.CreateCertificateRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new CertificateManagerMethodDescriptorSupplier("CreateCertificate")) - .build(); - } - } - } - return getCreateCertificateMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateCertificateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateCertificate", - requestType = com.google.cloud.certificatemanager.v1.UpdateCertificateRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateCertificateMethod() { - io.grpc.MethodDescriptor getUpdateCertificateMethod; - if ((getUpdateCertificateMethod = CertificateManagerGrpc.getUpdateCertificateMethod) == null) { - synchronized (CertificateManagerGrpc.class) { - if ((getUpdateCertificateMethod = CertificateManagerGrpc.getUpdateCertificateMethod) == null) { - CertificateManagerGrpc.getUpdateCertificateMethod = getUpdateCertificateMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCertificate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.certificatemanager.v1.UpdateCertificateRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new CertificateManagerMethodDescriptorSupplier("UpdateCertificate")) - .build(); - } - } - } - return getUpdateCertificateMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteCertificateMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteCertificate", - requestType = com.google.cloud.certificatemanager.v1.DeleteCertificateRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteCertificateMethod() { - io.grpc.MethodDescriptor getDeleteCertificateMethod; - if ((getDeleteCertificateMethod = CertificateManagerGrpc.getDeleteCertificateMethod) == null) { - synchronized (CertificateManagerGrpc.class) { - if ((getDeleteCertificateMethod = CertificateManagerGrpc.getDeleteCertificateMethod) == null) { - CertificateManagerGrpc.getDeleteCertificateMethod = getDeleteCertificateMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCertificate")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.certificatemanager.v1.DeleteCertificateRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new CertificateManagerMethodDescriptorSupplier("DeleteCertificate")) - .build(); - } - } - } - return getDeleteCertificateMethod; - } - - private static volatile io.grpc.MethodDescriptor getListCertificateMapsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListCertificateMaps", - requestType = com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest.class, - responseType = com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListCertificateMapsMethod() { - io.grpc.MethodDescriptor getListCertificateMapsMethod; - if ((getListCertificateMapsMethod = CertificateManagerGrpc.getListCertificateMapsMethod) == null) { - synchronized (CertificateManagerGrpc.class) { - if ((getListCertificateMapsMethod = CertificateManagerGrpc.getListCertificateMapsMethod) == null) { - CertificateManagerGrpc.getListCertificateMapsMethod = getListCertificateMapsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCertificateMaps")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse.getDefaultInstance())) - .setSchemaDescriptor(new CertificateManagerMethodDescriptorSupplier("ListCertificateMaps")) - .build(); - } - } - } - return getListCertificateMapsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetCertificateMapMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCertificateMap", - requestType = com.google.cloud.certificatemanager.v1.GetCertificateMapRequest.class, - responseType = com.google.cloud.certificatemanager.v1.CertificateMap.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetCertificateMapMethod() { - io.grpc.MethodDescriptor getGetCertificateMapMethod; - if ((getGetCertificateMapMethod = CertificateManagerGrpc.getGetCertificateMapMethod) == null) { - synchronized (CertificateManagerGrpc.class) { - if ((getGetCertificateMapMethod = CertificateManagerGrpc.getGetCertificateMapMethod) == null) { - CertificateManagerGrpc.getGetCertificateMapMethod = getGetCertificateMapMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCertificateMap")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.certificatemanager.v1.GetCertificateMapRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.certificatemanager.v1.CertificateMap.getDefaultInstance())) - .setSchemaDescriptor(new CertificateManagerMethodDescriptorSupplier("GetCertificateMap")) - .build(); - } - } - } - return getGetCertificateMapMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateCertificateMapMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCertificateMap", - requestType = com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateCertificateMapMethod() { - io.grpc.MethodDescriptor getCreateCertificateMapMethod; - if ((getCreateCertificateMapMethod = CertificateManagerGrpc.getCreateCertificateMapMethod) == null) { - synchronized (CertificateManagerGrpc.class) { - if ((getCreateCertificateMapMethod = CertificateManagerGrpc.getCreateCertificateMapMethod) == null) { - CertificateManagerGrpc.getCreateCertificateMapMethod = getCreateCertificateMapMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCertificateMap")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new CertificateManagerMethodDescriptorSupplier("CreateCertificateMap")) - .build(); - } - } - } - return getCreateCertificateMapMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateCertificateMapMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateCertificateMap", - requestType = com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateCertificateMapMethod() { - io.grpc.MethodDescriptor getUpdateCertificateMapMethod; - if ((getUpdateCertificateMapMethod = CertificateManagerGrpc.getUpdateCertificateMapMethod) == null) { - synchronized (CertificateManagerGrpc.class) { - if ((getUpdateCertificateMapMethod = CertificateManagerGrpc.getUpdateCertificateMapMethod) == null) { - CertificateManagerGrpc.getUpdateCertificateMapMethod = getUpdateCertificateMapMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCertificateMap")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new CertificateManagerMethodDescriptorSupplier("UpdateCertificateMap")) - .build(); - } - } - } - return getUpdateCertificateMapMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteCertificateMapMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteCertificateMap", - requestType = com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteCertificateMapMethod() { - io.grpc.MethodDescriptor getDeleteCertificateMapMethod; - if ((getDeleteCertificateMapMethod = CertificateManagerGrpc.getDeleteCertificateMapMethod) == null) { - synchronized (CertificateManagerGrpc.class) { - if ((getDeleteCertificateMapMethod = CertificateManagerGrpc.getDeleteCertificateMapMethod) == null) { - CertificateManagerGrpc.getDeleteCertificateMapMethod = getDeleteCertificateMapMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCertificateMap")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new CertificateManagerMethodDescriptorSupplier("DeleteCertificateMap")) - .build(); - } - } - } - return getDeleteCertificateMapMethod; - } - - private static volatile io.grpc.MethodDescriptor getListCertificateMapEntriesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListCertificateMapEntries", - requestType = com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest.class, - responseType = com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListCertificateMapEntriesMethod() { - io.grpc.MethodDescriptor getListCertificateMapEntriesMethod; - if ((getListCertificateMapEntriesMethod = CertificateManagerGrpc.getListCertificateMapEntriesMethod) == null) { - synchronized (CertificateManagerGrpc.class) { - if ((getListCertificateMapEntriesMethod = CertificateManagerGrpc.getListCertificateMapEntriesMethod) == null) { - CertificateManagerGrpc.getListCertificateMapEntriesMethod = getListCertificateMapEntriesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCertificateMapEntries")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse.getDefaultInstance())) - .setSchemaDescriptor(new CertificateManagerMethodDescriptorSupplier("ListCertificateMapEntries")) - .build(); - } - } - } - return getListCertificateMapEntriesMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetCertificateMapEntryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCertificateMapEntry", - requestType = com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest.class, - responseType = com.google.cloud.certificatemanager.v1.CertificateMapEntry.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetCertificateMapEntryMethod() { - io.grpc.MethodDescriptor getGetCertificateMapEntryMethod; - if ((getGetCertificateMapEntryMethod = CertificateManagerGrpc.getGetCertificateMapEntryMethod) == null) { - synchronized (CertificateManagerGrpc.class) { - if ((getGetCertificateMapEntryMethod = CertificateManagerGrpc.getGetCertificateMapEntryMethod) == null) { - CertificateManagerGrpc.getGetCertificateMapEntryMethod = getGetCertificateMapEntryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCertificateMapEntry")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.certificatemanager.v1.CertificateMapEntry.getDefaultInstance())) - .setSchemaDescriptor(new CertificateManagerMethodDescriptorSupplier("GetCertificateMapEntry")) - .build(); - } - } - } - return getGetCertificateMapEntryMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateCertificateMapEntryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCertificateMapEntry", - requestType = com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateCertificateMapEntryMethod() { - io.grpc.MethodDescriptor getCreateCertificateMapEntryMethod; - if ((getCreateCertificateMapEntryMethod = CertificateManagerGrpc.getCreateCertificateMapEntryMethod) == null) { - synchronized (CertificateManagerGrpc.class) { - if ((getCreateCertificateMapEntryMethod = CertificateManagerGrpc.getCreateCertificateMapEntryMethod) == null) { - CertificateManagerGrpc.getCreateCertificateMapEntryMethod = getCreateCertificateMapEntryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCertificateMapEntry")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new CertificateManagerMethodDescriptorSupplier("CreateCertificateMapEntry")) - .build(); - } - } - } - return getCreateCertificateMapEntryMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateCertificateMapEntryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateCertificateMapEntry", - requestType = com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateCertificateMapEntryMethod() { - io.grpc.MethodDescriptor getUpdateCertificateMapEntryMethod; - if ((getUpdateCertificateMapEntryMethod = CertificateManagerGrpc.getUpdateCertificateMapEntryMethod) == null) { - synchronized (CertificateManagerGrpc.class) { - if ((getUpdateCertificateMapEntryMethod = CertificateManagerGrpc.getUpdateCertificateMapEntryMethod) == null) { - CertificateManagerGrpc.getUpdateCertificateMapEntryMethod = getUpdateCertificateMapEntryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateCertificateMapEntry")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new CertificateManagerMethodDescriptorSupplier("UpdateCertificateMapEntry")) - .build(); - } - } - } - return getUpdateCertificateMapEntryMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteCertificateMapEntryMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteCertificateMapEntry", - requestType = com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteCertificateMapEntryMethod() { - io.grpc.MethodDescriptor getDeleteCertificateMapEntryMethod; - if ((getDeleteCertificateMapEntryMethod = CertificateManagerGrpc.getDeleteCertificateMapEntryMethod) == null) { - synchronized (CertificateManagerGrpc.class) { - if ((getDeleteCertificateMapEntryMethod = CertificateManagerGrpc.getDeleteCertificateMapEntryMethod) == null) { - CertificateManagerGrpc.getDeleteCertificateMapEntryMethod = getDeleteCertificateMapEntryMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCertificateMapEntry")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new CertificateManagerMethodDescriptorSupplier("DeleteCertificateMapEntry")) - .build(); - } - } - } - return getDeleteCertificateMapEntryMethod; - } - - private static volatile io.grpc.MethodDescriptor getListDnsAuthorizationsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListDnsAuthorizations", - requestType = com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest.class, - responseType = com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListDnsAuthorizationsMethod() { - io.grpc.MethodDescriptor getListDnsAuthorizationsMethod; - if ((getListDnsAuthorizationsMethod = CertificateManagerGrpc.getListDnsAuthorizationsMethod) == null) { - synchronized (CertificateManagerGrpc.class) { - if ((getListDnsAuthorizationsMethod = CertificateManagerGrpc.getListDnsAuthorizationsMethod) == null) { - CertificateManagerGrpc.getListDnsAuthorizationsMethod = getListDnsAuthorizationsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListDnsAuthorizations")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse.getDefaultInstance())) - .setSchemaDescriptor(new CertificateManagerMethodDescriptorSupplier("ListDnsAuthorizations")) - .build(); - } - } - } - return getListDnsAuthorizationsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetDnsAuthorizationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetDnsAuthorization", - requestType = com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest.class, - responseType = com.google.cloud.certificatemanager.v1.DnsAuthorization.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetDnsAuthorizationMethod() { - io.grpc.MethodDescriptor getGetDnsAuthorizationMethod; - if ((getGetDnsAuthorizationMethod = CertificateManagerGrpc.getGetDnsAuthorizationMethod) == null) { - synchronized (CertificateManagerGrpc.class) { - if ((getGetDnsAuthorizationMethod = CertificateManagerGrpc.getGetDnsAuthorizationMethod) == null) { - CertificateManagerGrpc.getGetDnsAuthorizationMethod = getGetDnsAuthorizationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetDnsAuthorization")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.certificatemanager.v1.DnsAuthorization.getDefaultInstance())) - .setSchemaDescriptor(new CertificateManagerMethodDescriptorSupplier("GetDnsAuthorization")) - .build(); - } - } - } - return getGetDnsAuthorizationMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateDnsAuthorizationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateDnsAuthorization", - requestType = com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateDnsAuthorizationMethod() { - io.grpc.MethodDescriptor getCreateDnsAuthorizationMethod; - if ((getCreateDnsAuthorizationMethod = CertificateManagerGrpc.getCreateDnsAuthorizationMethod) == null) { - synchronized (CertificateManagerGrpc.class) { - if ((getCreateDnsAuthorizationMethod = CertificateManagerGrpc.getCreateDnsAuthorizationMethod) == null) { - CertificateManagerGrpc.getCreateDnsAuthorizationMethod = getCreateDnsAuthorizationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateDnsAuthorization")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new CertificateManagerMethodDescriptorSupplier("CreateDnsAuthorization")) - .build(); - } - } - } - return getCreateDnsAuthorizationMethod; - } - - private static volatile io.grpc.MethodDescriptor getUpdateDnsAuthorizationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "UpdateDnsAuthorization", - requestType = com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getUpdateDnsAuthorizationMethod() { - io.grpc.MethodDescriptor getUpdateDnsAuthorizationMethod; - if ((getUpdateDnsAuthorizationMethod = CertificateManagerGrpc.getUpdateDnsAuthorizationMethod) == null) { - synchronized (CertificateManagerGrpc.class) { - if ((getUpdateDnsAuthorizationMethod = CertificateManagerGrpc.getUpdateDnsAuthorizationMethod) == null) { - CertificateManagerGrpc.getUpdateDnsAuthorizationMethod = getUpdateDnsAuthorizationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateDnsAuthorization")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new CertificateManagerMethodDescriptorSupplier("UpdateDnsAuthorization")) - .build(); - } - } - } - return getUpdateDnsAuthorizationMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteDnsAuthorizationMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteDnsAuthorization", - requestType = com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteDnsAuthorizationMethod() { - io.grpc.MethodDescriptor getDeleteDnsAuthorizationMethod; - if ((getDeleteDnsAuthorizationMethod = CertificateManagerGrpc.getDeleteDnsAuthorizationMethod) == null) { - synchronized (CertificateManagerGrpc.class) { - if ((getDeleteDnsAuthorizationMethod = CertificateManagerGrpc.getDeleteDnsAuthorizationMethod) == null) { - CertificateManagerGrpc.getDeleteDnsAuthorizationMethod = getDeleteDnsAuthorizationMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteDnsAuthorization")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new CertificateManagerMethodDescriptorSupplier("DeleteDnsAuthorization")) - .build(); - } - } - } - return getDeleteDnsAuthorizationMethod; - } - - private static volatile io.grpc.MethodDescriptor getListCertificateIssuanceConfigsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListCertificateIssuanceConfigs", - requestType = com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest.class, - responseType = com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListCertificateIssuanceConfigsMethod() { - io.grpc.MethodDescriptor getListCertificateIssuanceConfigsMethod; - if ((getListCertificateIssuanceConfigsMethod = CertificateManagerGrpc.getListCertificateIssuanceConfigsMethod) == null) { - synchronized (CertificateManagerGrpc.class) { - if ((getListCertificateIssuanceConfigsMethod = CertificateManagerGrpc.getListCertificateIssuanceConfigsMethod) == null) { - CertificateManagerGrpc.getListCertificateIssuanceConfigsMethod = getListCertificateIssuanceConfigsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListCertificateIssuanceConfigs")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse.getDefaultInstance())) - .setSchemaDescriptor(new CertificateManagerMethodDescriptorSupplier("ListCertificateIssuanceConfigs")) - .build(); - } - } - } - return getListCertificateIssuanceConfigsMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetCertificateIssuanceConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetCertificateIssuanceConfig", - requestType = com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest.class, - responseType = com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetCertificateIssuanceConfigMethod() { - io.grpc.MethodDescriptor getGetCertificateIssuanceConfigMethod; - if ((getGetCertificateIssuanceConfigMethod = CertificateManagerGrpc.getGetCertificateIssuanceConfigMethod) == null) { - synchronized (CertificateManagerGrpc.class) { - if ((getGetCertificateIssuanceConfigMethod = CertificateManagerGrpc.getGetCertificateIssuanceConfigMethod) == null) { - CertificateManagerGrpc.getGetCertificateIssuanceConfigMethod = getGetCertificateIssuanceConfigMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetCertificateIssuanceConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig.getDefaultInstance())) - .setSchemaDescriptor(new CertificateManagerMethodDescriptorSupplier("GetCertificateIssuanceConfig")) - .build(); - } - } - } - return getGetCertificateIssuanceConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateCertificateIssuanceConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateCertificateIssuanceConfig", - requestType = com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateCertificateIssuanceConfigMethod() { - io.grpc.MethodDescriptor getCreateCertificateIssuanceConfigMethod; - if ((getCreateCertificateIssuanceConfigMethod = CertificateManagerGrpc.getCreateCertificateIssuanceConfigMethod) == null) { - synchronized (CertificateManagerGrpc.class) { - if ((getCreateCertificateIssuanceConfigMethod = CertificateManagerGrpc.getCreateCertificateIssuanceConfigMethod) == null) { - CertificateManagerGrpc.getCreateCertificateIssuanceConfigMethod = getCreateCertificateIssuanceConfigMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateCertificateIssuanceConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new CertificateManagerMethodDescriptorSupplier("CreateCertificateIssuanceConfig")) - .build(); - } - } - } - return getCreateCertificateIssuanceConfigMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteCertificateIssuanceConfigMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteCertificateIssuanceConfig", - requestType = com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteCertificateIssuanceConfigMethod() { - io.grpc.MethodDescriptor getDeleteCertificateIssuanceConfigMethod; - if ((getDeleteCertificateIssuanceConfigMethod = CertificateManagerGrpc.getDeleteCertificateIssuanceConfigMethod) == null) { - synchronized (CertificateManagerGrpc.class) { - if ((getDeleteCertificateIssuanceConfigMethod = CertificateManagerGrpc.getDeleteCertificateIssuanceConfigMethod) == null) { - CertificateManagerGrpc.getDeleteCertificateIssuanceConfigMethod = getDeleteCertificateIssuanceConfigMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteCertificateIssuanceConfig")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new CertificateManagerMethodDescriptorSupplier("DeleteCertificateIssuanceConfig")) - .build(); - } - } - } - return getDeleteCertificateIssuanceConfigMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static CertificateManagerStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CertificateManagerStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CertificateManagerStub(channel, callOptions); - } - }; - return CertificateManagerStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static CertificateManagerBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CertificateManagerBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CertificateManagerBlockingStub(channel, callOptions); - } - }; - return CertificateManagerBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static CertificateManagerFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public CertificateManagerFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CertificateManagerFutureStub(channel, callOptions); - } - }; - return CertificateManagerFutureStub.newStub(factory, channel); - } - - /** - *
-   * API Overview
-   * Certificates Manager API allows customers to see and manage all their TLS
-   * certificates.
-   * Certificates Manager API service provides methods to manage certificates,
-   * group them into collections, and create serving configuration that can be
-   * easily applied to other Cloud resources e.g. Target Proxies.
-   * Data Model
-   * The Certificates Manager service exposes the following resources:
-   * * `Certificate` which describes a single TLS certificate.
-   * * `CertificateMap` which describes a collection of certificates that can be
-   * attached to a target resource.
-   * * `CertificateMapEntry` which describes a single configuration entry that
-   * consists of a SNI and a group of certificates. It's a subresource of
-   * CertificateMap.
-   * Certificate, CertificateMap and CertificateMapEntry IDs
-   * have to match "^[a-z0-9-]{1,63}$" regexp, which means that
-   * - only lower case letters, digits, and hyphen are allowed
-   * - length of the resource ID has to be in [1,63] range.
-   * Provides methods to manage Cloud Certificate Manager entities.
-   * 
- */ - public static abstract class CertificateManagerImplBase implements io.grpc.BindableService { - - /** - *
-     * Lists Certificates in a given project and location.
-     * 
- */ - public void listCertificates(com.google.cloud.certificatemanager.v1.ListCertificatesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCertificatesMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single Certificate.
-     * 
- */ - public void getCertificate(com.google.cloud.certificatemanager.v1.GetCertificateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCertificateMethod(), responseObserver); - } - - /** - *
-     * Creates a new Certificate in a given project and location.
-     * 
- */ - public void createCertificate(com.google.cloud.certificatemanager.v1.CreateCertificateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCertificateMethod(), responseObserver); - } - - /** - *
-     * Updates a Certificate.
-     * 
- */ - public void updateCertificate(com.google.cloud.certificatemanager.v1.UpdateCertificateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateCertificateMethod(), responseObserver); - } - - /** - *
-     * Deletes a single Certificate.
-     * 
- */ - public void deleteCertificate(com.google.cloud.certificatemanager.v1.DeleteCertificateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteCertificateMethod(), responseObserver); - } - - /** - *
-     * Lists CertificateMaps in a given project and location.
-     * 
- */ - public void listCertificateMaps(com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCertificateMapsMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single CertificateMap.
-     * 
- */ - public void getCertificateMap(com.google.cloud.certificatemanager.v1.GetCertificateMapRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCertificateMapMethod(), responseObserver); - } - - /** - *
-     * Creates a new CertificateMap in a given project and location.
-     * 
- */ - public void createCertificateMap(com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCertificateMapMethod(), responseObserver); - } - - /** - *
-     * Updates a CertificateMap.
-     * 
- */ - public void updateCertificateMap(com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateCertificateMapMethod(), responseObserver); - } - - /** - *
-     * Deletes a single CertificateMap. A Certificate Map can't be deleted
-     * if it contains Certificate Map Entries. Remove all the entries from
-     * the map before calling this method.
-     * 
- */ - public void deleteCertificateMap(com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteCertificateMapMethod(), responseObserver); - } - - /** - *
-     * Lists CertificateMapEntries in a given project and location.
-     * 
- */ - public void listCertificateMapEntries(com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCertificateMapEntriesMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single CertificateMapEntry.
-     * 
- */ - public void getCertificateMapEntry(com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCertificateMapEntryMethod(), responseObserver); - } - - /** - *
-     * Creates a new CertificateMapEntry in a given project and location.
-     * 
- */ - public void createCertificateMapEntry(com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCertificateMapEntryMethod(), responseObserver); - } - - /** - *
-     * Updates a CertificateMapEntry.
-     * 
- */ - public void updateCertificateMapEntry(com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateCertificateMapEntryMethod(), responseObserver); - } - - /** - *
-     * Deletes a single CertificateMapEntry.
-     * 
- */ - public void deleteCertificateMapEntry(com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteCertificateMapEntryMethod(), responseObserver); - } - - /** - *
-     * Lists DnsAuthorizations in a given project and location.
-     * 
- */ - public void listDnsAuthorizations(com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListDnsAuthorizationsMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single DnsAuthorization.
-     * 
- */ - public void getDnsAuthorization(com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetDnsAuthorizationMethod(), responseObserver); - } - - /** - *
-     * Creates a new DnsAuthorization in a given project and location.
-     * 
- */ - public void createDnsAuthorization(com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateDnsAuthorizationMethod(), responseObserver); - } - - /** - *
-     * Updates a DnsAuthorization.
-     * 
- */ - public void updateDnsAuthorization(com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getUpdateDnsAuthorizationMethod(), responseObserver); - } - - /** - *
-     * Deletes a single DnsAuthorization.
-     * 
- */ - public void deleteDnsAuthorization(com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteDnsAuthorizationMethod(), responseObserver); - } - - /** - *
-     * Lists CertificateIssuanceConfigs in a given project and location.
-     * 
- */ - public void listCertificateIssuanceConfigs(com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListCertificateIssuanceConfigsMethod(), responseObserver); - } - - /** - *
-     * Gets details of a single CertificateIssuanceConfig.
-     * 
- */ - public void getCertificateIssuanceConfig(com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetCertificateIssuanceConfigMethod(), responseObserver); - } - - /** - *
-     * Creates a new CertificateIssuanceConfig in a given project and location.
-     * 
- */ - public void createCertificateIssuanceConfig(com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateCertificateIssuanceConfigMethod(), responseObserver); - } - - /** - *
-     * Deletes a single CertificateIssuanceConfig.
-     * 
- */ - public void deleteCertificateIssuanceConfig(com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteCertificateIssuanceConfigMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListCertificatesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.certificatemanager.v1.ListCertificatesRequest, - com.google.cloud.certificatemanager.v1.ListCertificatesResponse>( - this, METHODID_LIST_CERTIFICATES))) - .addMethod( - getGetCertificateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.certificatemanager.v1.GetCertificateRequest, - com.google.cloud.certificatemanager.v1.Certificate>( - this, METHODID_GET_CERTIFICATE))) - .addMethod( - getCreateCertificateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.certificatemanager.v1.CreateCertificateRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_CERTIFICATE))) - .addMethod( - getUpdateCertificateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.certificatemanager.v1.UpdateCertificateRequest, - com.google.longrunning.Operation>( - this, METHODID_UPDATE_CERTIFICATE))) - .addMethod( - getDeleteCertificateMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.certificatemanager.v1.DeleteCertificateRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_CERTIFICATE))) - .addMethod( - getListCertificateMapsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest, - com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse>( - this, METHODID_LIST_CERTIFICATE_MAPS))) - .addMethod( - getGetCertificateMapMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.certificatemanager.v1.GetCertificateMapRequest, - com.google.cloud.certificatemanager.v1.CertificateMap>( - this, METHODID_GET_CERTIFICATE_MAP))) - .addMethod( - getCreateCertificateMapMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_CERTIFICATE_MAP))) - .addMethod( - getUpdateCertificateMapMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest, - com.google.longrunning.Operation>( - this, METHODID_UPDATE_CERTIFICATE_MAP))) - .addMethod( - getDeleteCertificateMapMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_CERTIFICATE_MAP))) - .addMethod( - getListCertificateMapEntriesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest, - com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse>( - this, METHODID_LIST_CERTIFICATE_MAP_ENTRIES))) - .addMethod( - getGetCertificateMapEntryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest, - com.google.cloud.certificatemanager.v1.CertificateMapEntry>( - this, METHODID_GET_CERTIFICATE_MAP_ENTRY))) - .addMethod( - getCreateCertificateMapEntryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_CERTIFICATE_MAP_ENTRY))) - .addMethod( - getUpdateCertificateMapEntryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest, - com.google.longrunning.Operation>( - this, METHODID_UPDATE_CERTIFICATE_MAP_ENTRY))) - .addMethod( - getDeleteCertificateMapEntryMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_CERTIFICATE_MAP_ENTRY))) - .addMethod( - getListDnsAuthorizationsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest, - com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse>( - this, METHODID_LIST_DNS_AUTHORIZATIONS))) - .addMethod( - getGetDnsAuthorizationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest, - com.google.cloud.certificatemanager.v1.DnsAuthorization>( - this, METHODID_GET_DNS_AUTHORIZATION))) - .addMethod( - getCreateDnsAuthorizationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_DNS_AUTHORIZATION))) - .addMethod( - getUpdateDnsAuthorizationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest, - com.google.longrunning.Operation>( - this, METHODID_UPDATE_DNS_AUTHORIZATION))) - .addMethod( - getDeleteDnsAuthorizationMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_DNS_AUTHORIZATION))) - .addMethod( - getListCertificateIssuanceConfigsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest, - com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse>( - this, METHODID_LIST_CERTIFICATE_ISSUANCE_CONFIGS))) - .addMethod( - getGetCertificateIssuanceConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest, - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig>( - this, METHODID_GET_CERTIFICATE_ISSUANCE_CONFIG))) - .addMethod( - getCreateCertificateIssuanceConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest, - com.google.longrunning.Operation>( - this, METHODID_CREATE_CERTIFICATE_ISSUANCE_CONFIG))) - .addMethod( - getDeleteCertificateIssuanceConfigMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest, - com.google.longrunning.Operation>( - this, METHODID_DELETE_CERTIFICATE_ISSUANCE_CONFIG))) - .build(); - } - } - - /** - *
-   * API Overview
-   * Certificates Manager API allows customers to see and manage all their TLS
-   * certificates.
-   * Certificates Manager API service provides methods to manage certificates,
-   * group them into collections, and create serving configuration that can be
-   * easily applied to other Cloud resources e.g. Target Proxies.
-   * Data Model
-   * The Certificates Manager service exposes the following resources:
-   * * `Certificate` which describes a single TLS certificate.
-   * * `CertificateMap` which describes a collection of certificates that can be
-   * attached to a target resource.
-   * * `CertificateMapEntry` which describes a single configuration entry that
-   * consists of a SNI and a group of certificates. It's a subresource of
-   * CertificateMap.
-   * Certificate, CertificateMap and CertificateMapEntry IDs
-   * have to match "^[a-z0-9-]{1,63}$" regexp, which means that
-   * - only lower case letters, digits, and hyphen are allowed
-   * - length of the resource ID has to be in [1,63] range.
-   * Provides methods to manage Cloud Certificate Manager entities.
-   * 
- */ - public static final class CertificateManagerStub extends io.grpc.stub.AbstractAsyncStub { - private CertificateManagerStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CertificateManagerStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CertificateManagerStub(channel, callOptions); - } - - /** - *
-     * Lists Certificates in a given project and location.
-     * 
- */ - public void listCertificates(com.google.cloud.certificatemanager.v1.ListCertificatesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCertificatesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single Certificate.
-     * 
- */ - public void getCertificate(com.google.cloud.certificatemanager.v1.GetCertificateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetCertificateMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new Certificate in a given project and location.
-     * 
- */ - public void createCertificate(com.google.cloud.certificatemanager.v1.CreateCertificateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateCertificateMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a Certificate.
-     * 
- */ - public void updateCertificate(com.google.cloud.certificatemanager.v1.UpdateCertificateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateCertificateMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single Certificate.
-     * 
- */ - public void deleteCertificate(com.google.cloud.certificatemanager.v1.DeleteCertificateRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteCertificateMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists CertificateMaps in a given project and location.
-     * 
- */ - public void listCertificateMaps(com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCertificateMapsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single CertificateMap.
-     * 
- */ - public void getCertificateMap(com.google.cloud.certificatemanager.v1.GetCertificateMapRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetCertificateMapMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new CertificateMap in a given project and location.
-     * 
- */ - public void createCertificateMap(com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateCertificateMapMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a CertificateMap.
-     * 
- */ - public void updateCertificateMap(com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateCertificateMapMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single CertificateMap. A Certificate Map can't be deleted
-     * if it contains Certificate Map Entries. Remove all the entries from
-     * the map before calling this method.
-     * 
- */ - public void deleteCertificateMap(com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteCertificateMapMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists CertificateMapEntries in a given project and location.
-     * 
- */ - public void listCertificateMapEntries(com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCertificateMapEntriesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single CertificateMapEntry.
-     * 
- */ - public void getCertificateMapEntry(com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetCertificateMapEntryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new CertificateMapEntry in a given project and location.
-     * 
- */ - public void createCertificateMapEntry(com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateCertificateMapEntryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a CertificateMapEntry.
-     * 
- */ - public void updateCertificateMapEntry(com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateCertificateMapEntryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single CertificateMapEntry.
-     * 
- */ - public void deleteCertificateMapEntry(com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteCertificateMapEntryMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists DnsAuthorizations in a given project and location.
-     * 
- */ - public void listDnsAuthorizations(com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListDnsAuthorizationsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single DnsAuthorization.
-     * 
- */ - public void getDnsAuthorization(com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetDnsAuthorizationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new DnsAuthorization in a given project and location.
-     * 
- */ - public void createDnsAuthorization(com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateDnsAuthorizationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Updates a DnsAuthorization.
-     * 
- */ - public void updateDnsAuthorization(com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getUpdateDnsAuthorizationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single DnsAuthorization.
-     * 
- */ - public void deleteDnsAuthorization(com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteDnsAuthorizationMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists CertificateIssuanceConfigs in a given project and location.
-     * 
- */ - public void listCertificateIssuanceConfigs(com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListCertificateIssuanceConfigsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets details of a single CertificateIssuanceConfig.
-     * 
- */ - public void getCertificateIssuanceConfig(com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetCertificateIssuanceConfigMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new CertificateIssuanceConfig in a given project and location.
-     * 
- */ - public void createCertificateIssuanceConfig(com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateCertificateIssuanceConfigMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes a single CertificateIssuanceConfig.
-     * 
- */ - public void deleteCertificateIssuanceConfig(com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteCertificateIssuanceConfigMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - *
-   * API Overview
-   * Certificates Manager API allows customers to see and manage all their TLS
-   * certificates.
-   * Certificates Manager API service provides methods to manage certificates,
-   * group them into collections, and create serving configuration that can be
-   * easily applied to other Cloud resources e.g. Target Proxies.
-   * Data Model
-   * The Certificates Manager service exposes the following resources:
-   * * `Certificate` which describes a single TLS certificate.
-   * * `CertificateMap` which describes a collection of certificates that can be
-   * attached to a target resource.
-   * * `CertificateMapEntry` which describes a single configuration entry that
-   * consists of a SNI and a group of certificates. It's a subresource of
-   * CertificateMap.
-   * Certificate, CertificateMap and CertificateMapEntry IDs
-   * have to match "^[a-z0-9-]{1,63}$" regexp, which means that
-   * - only lower case letters, digits, and hyphen are allowed
-   * - length of the resource ID has to be in [1,63] range.
-   * Provides methods to manage Cloud Certificate Manager entities.
-   * 
- */ - public static final class CertificateManagerBlockingStub extends io.grpc.stub.AbstractBlockingStub { - private CertificateManagerBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CertificateManagerBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CertificateManagerBlockingStub(channel, callOptions); - } - - /** - *
-     * Lists Certificates in a given project and location.
-     * 
- */ - public com.google.cloud.certificatemanager.v1.ListCertificatesResponse listCertificates(com.google.cloud.certificatemanager.v1.ListCertificatesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListCertificatesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single Certificate.
-     * 
- */ - public com.google.cloud.certificatemanager.v1.Certificate getCertificate(com.google.cloud.certificatemanager.v1.GetCertificateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetCertificateMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new Certificate in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createCertificate(com.google.cloud.certificatemanager.v1.CreateCertificateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateCertificateMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a Certificate.
-     * 
- */ - public com.google.longrunning.Operation updateCertificate(com.google.cloud.certificatemanager.v1.UpdateCertificateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateCertificateMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single Certificate.
-     * 
- */ - public com.google.longrunning.Operation deleteCertificate(com.google.cloud.certificatemanager.v1.DeleteCertificateRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteCertificateMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists CertificateMaps in a given project and location.
-     * 
- */ - public com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse listCertificateMaps(com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListCertificateMapsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single CertificateMap.
-     * 
- */ - public com.google.cloud.certificatemanager.v1.CertificateMap getCertificateMap(com.google.cloud.certificatemanager.v1.GetCertificateMapRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetCertificateMapMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new CertificateMap in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createCertificateMap(com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateCertificateMapMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a CertificateMap.
-     * 
- */ - public com.google.longrunning.Operation updateCertificateMap(com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateCertificateMapMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single CertificateMap. A Certificate Map can't be deleted
-     * if it contains Certificate Map Entries. Remove all the entries from
-     * the map before calling this method.
-     * 
- */ - public com.google.longrunning.Operation deleteCertificateMap(com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteCertificateMapMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists CertificateMapEntries in a given project and location.
-     * 
- */ - public com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse listCertificateMapEntries(com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListCertificateMapEntriesMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single CertificateMapEntry.
-     * 
- */ - public com.google.cloud.certificatemanager.v1.CertificateMapEntry getCertificateMapEntry(com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetCertificateMapEntryMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new CertificateMapEntry in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createCertificateMapEntry(com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateCertificateMapEntryMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a CertificateMapEntry.
-     * 
- */ - public com.google.longrunning.Operation updateCertificateMapEntry(com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateCertificateMapEntryMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single CertificateMapEntry.
-     * 
- */ - public com.google.longrunning.Operation deleteCertificateMapEntry(com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteCertificateMapEntryMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists DnsAuthorizations in a given project and location.
-     * 
- */ - public com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse listDnsAuthorizations(com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListDnsAuthorizationsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single DnsAuthorization.
-     * 
- */ - public com.google.cloud.certificatemanager.v1.DnsAuthorization getDnsAuthorization(com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetDnsAuthorizationMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new DnsAuthorization in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createDnsAuthorization(com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateDnsAuthorizationMethod(), getCallOptions(), request); - } - - /** - *
-     * Updates a DnsAuthorization.
-     * 
- */ - public com.google.longrunning.Operation updateDnsAuthorization(com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getUpdateDnsAuthorizationMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single DnsAuthorization.
-     * 
- */ - public com.google.longrunning.Operation deleteDnsAuthorization(com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteDnsAuthorizationMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists CertificateIssuanceConfigs in a given project and location.
-     * 
- */ - public com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsResponse listCertificateIssuanceConfigs(com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListCertificateIssuanceConfigsMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets details of a single CertificateIssuanceConfig.
-     * 
- */ - public com.google.cloud.certificatemanager.v1.CertificateIssuanceConfig getCertificateIssuanceConfig(com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetCertificateIssuanceConfigMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new CertificateIssuanceConfig in a given project and location.
-     * 
- */ - public com.google.longrunning.Operation createCertificateIssuanceConfig(com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateCertificateIssuanceConfigMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes a single CertificateIssuanceConfig.
-     * 
- */ - public com.google.longrunning.Operation deleteCertificateIssuanceConfig(com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteCertificateIssuanceConfigMethod(), getCallOptions(), request); - } - } - - /** - *
-   * API Overview
-   * Certificates Manager API allows customers to see and manage all their TLS
-   * certificates.
-   * Certificates Manager API service provides methods to manage certificates,
-   * group them into collections, and create serving configuration that can be
-   * easily applied to other Cloud resources e.g. Target Proxies.
-   * Data Model
-   * The Certificates Manager service exposes the following resources:
-   * * `Certificate` which describes a single TLS certificate.
-   * * `CertificateMap` which describes a collection of certificates that can be
-   * attached to a target resource.
-   * * `CertificateMapEntry` which describes a single configuration entry that
-   * consists of a SNI and a group of certificates. It's a subresource of
-   * CertificateMap.
-   * Certificate, CertificateMap and CertificateMapEntry IDs
-   * have to match "^[a-z0-9-]{1,63}$" regexp, which means that
-   * - only lower case letters, digits, and hyphen are allowed
-   * - length of the resource ID has to be in [1,63] range.
-   * Provides methods to manage Cloud Certificate Manager entities.
-   * 
- */ - public static final class CertificateManagerFutureStub extends io.grpc.stub.AbstractFutureStub { - private CertificateManagerFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected CertificateManagerFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new CertificateManagerFutureStub(channel, callOptions); - } - - /** - *
-     * Lists Certificates in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listCertificates( - com.google.cloud.certificatemanager.v1.ListCertificatesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListCertificatesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single Certificate.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getCertificate( - com.google.cloud.certificatemanager.v1.GetCertificateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetCertificateMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new Certificate in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createCertificate( - com.google.cloud.certificatemanager.v1.CreateCertificateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateCertificateMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a Certificate.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateCertificate( - com.google.cloud.certificatemanager.v1.UpdateCertificateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateCertificateMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single Certificate.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteCertificate( - com.google.cloud.certificatemanager.v1.DeleteCertificateRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteCertificateMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists CertificateMaps in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listCertificateMaps( - com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListCertificateMapsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single CertificateMap.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getCertificateMap( - com.google.cloud.certificatemanager.v1.GetCertificateMapRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetCertificateMapMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new CertificateMap in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createCertificateMap( - com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateCertificateMapMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a CertificateMap.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateCertificateMap( - com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateCertificateMapMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single CertificateMap. A Certificate Map can't be deleted
-     * if it contains Certificate Map Entries. Remove all the entries from
-     * the map before calling this method.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteCertificateMap( - com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteCertificateMapMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists CertificateMapEntries in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listCertificateMapEntries( - com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListCertificateMapEntriesMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single CertificateMapEntry.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getCertificateMapEntry( - com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetCertificateMapEntryMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new CertificateMapEntry in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createCertificateMapEntry( - com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateCertificateMapEntryMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a CertificateMapEntry.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateCertificateMapEntry( - com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateCertificateMapEntryMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single CertificateMapEntry.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteCertificateMapEntry( - com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteCertificateMapEntryMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists DnsAuthorizations in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listDnsAuthorizations( - com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListDnsAuthorizationsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single DnsAuthorization.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getDnsAuthorization( - com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetDnsAuthorizationMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new DnsAuthorization in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createDnsAuthorization( - com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateDnsAuthorizationMethod(), getCallOptions()), request); - } - - /** - *
-     * Updates a DnsAuthorization.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture updateDnsAuthorization( - com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getUpdateDnsAuthorizationMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single DnsAuthorization.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteDnsAuthorization( - com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteDnsAuthorizationMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists CertificateIssuanceConfigs in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listCertificateIssuanceConfigs( - com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListCertificateIssuanceConfigsMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets details of a single CertificateIssuanceConfig.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getCertificateIssuanceConfig( - com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetCertificateIssuanceConfigMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new CertificateIssuanceConfig in a given project and location.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createCertificateIssuanceConfig( - com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateCertificateIssuanceConfigMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes a single CertificateIssuanceConfig.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteCertificateIssuanceConfig( - com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteCertificateIssuanceConfigMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_CERTIFICATES = 0; - private static final int METHODID_GET_CERTIFICATE = 1; - private static final int METHODID_CREATE_CERTIFICATE = 2; - private static final int METHODID_UPDATE_CERTIFICATE = 3; - private static final int METHODID_DELETE_CERTIFICATE = 4; - private static final int METHODID_LIST_CERTIFICATE_MAPS = 5; - private static final int METHODID_GET_CERTIFICATE_MAP = 6; - private static final int METHODID_CREATE_CERTIFICATE_MAP = 7; - private static final int METHODID_UPDATE_CERTIFICATE_MAP = 8; - private static final int METHODID_DELETE_CERTIFICATE_MAP = 9; - private static final int METHODID_LIST_CERTIFICATE_MAP_ENTRIES = 10; - private static final int METHODID_GET_CERTIFICATE_MAP_ENTRY = 11; - private static final int METHODID_CREATE_CERTIFICATE_MAP_ENTRY = 12; - private static final int METHODID_UPDATE_CERTIFICATE_MAP_ENTRY = 13; - private static final int METHODID_DELETE_CERTIFICATE_MAP_ENTRY = 14; - private static final int METHODID_LIST_DNS_AUTHORIZATIONS = 15; - private static final int METHODID_GET_DNS_AUTHORIZATION = 16; - private static final int METHODID_CREATE_DNS_AUTHORIZATION = 17; - private static final int METHODID_UPDATE_DNS_AUTHORIZATION = 18; - private static final int METHODID_DELETE_DNS_AUTHORIZATION = 19; - private static final int METHODID_LIST_CERTIFICATE_ISSUANCE_CONFIGS = 20; - private static final int METHODID_GET_CERTIFICATE_ISSUANCE_CONFIG = 21; - private static final int METHODID_CREATE_CERTIFICATE_ISSUANCE_CONFIG = 22; - private static final int METHODID_DELETE_CERTIFICATE_ISSUANCE_CONFIG = 23; - - 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 CertificateManagerImplBase serviceImpl; - private final int methodId; - - MethodHandlers(CertificateManagerImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_LIST_CERTIFICATES: - serviceImpl.listCertificates((com.google.cloud.certificatemanager.v1.ListCertificatesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CERTIFICATE: - serviceImpl.getCertificate((com.google.cloud.certificatemanager.v1.GetCertificateRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_CERTIFICATE: - serviceImpl.createCertificate((com.google.cloud.certificatemanager.v1.CreateCertificateRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_CERTIFICATE: - serviceImpl.updateCertificate((com.google.cloud.certificatemanager.v1.UpdateCertificateRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_CERTIFICATE: - serviceImpl.deleteCertificate((com.google.cloud.certificatemanager.v1.DeleteCertificateRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_CERTIFICATE_MAPS: - serviceImpl.listCertificateMaps((com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CERTIFICATE_MAP: - serviceImpl.getCertificateMap((com.google.cloud.certificatemanager.v1.GetCertificateMapRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_CERTIFICATE_MAP: - serviceImpl.createCertificateMap((com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_CERTIFICATE_MAP: - serviceImpl.updateCertificateMap((com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_CERTIFICATE_MAP: - serviceImpl.deleteCertificateMap((com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_CERTIFICATE_MAP_ENTRIES: - serviceImpl.listCertificateMapEntries((com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CERTIFICATE_MAP_ENTRY: - serviceImpl.getCertificateMapEntry((com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_CERTIFICATE_MAP_ENTRY: - serviceImpl.createCertificateMapEntry((com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_CERTIFICATE_MAP_ENTRY: - serviceImpl.updateCertificateMapEntry((com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_CERTIFICATE_MAP_ENTRY: - serviceImpl.deleteCertificateMapEntry((com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_DNS_AUTHORIZATIONS: - serviceImpl.listDnsAuthorizations((com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_DNS_AUTHORIZATION: - serviceImpl.getDnsAuthorization((com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_DNS_AUTHORIZATION: - serviceImpl.createDnsAuthorization((com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_UPDATE_DNS_AUTHORIZATION: - serviceImpl.updateDnsAuthorization((com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_DNS_AUTHORIZATION: - serviceImpl.deleteDnsAuthorization((com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_CERTIFICATE_ISSUANCE_CONFIGS: - serviceImpl.listCertificateIssuanceConfigs((com.google.cloud.certificatemanager.v1.ListCertificateIssuanceConfigsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_CERTIFICATE_ISSUANCE_CONFIG: - serviceImpl.getCertificateIssuanceConfig((com.google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_CERTIFICATE_ISSUANCE_CONFIG: - serviceImpl.createCertificateIssuanceConfig((com.google.cloud.certificatemanager.v1.CreateCertificateIssuanceConfigRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_CERTIFICATE_ISSUANCE_CONFIG: - serviceImpl.deleteCertificateIssuanceConfig((com.google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest) 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 CertificateManagerBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - CertificateManagerBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.certificatemanager.v1.CertificateManagerProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("CertificateManager"); - } - } - - private static final class CertificateManagerFileDescriptorSupplier - extends CertificateManagerBaseDescriptorSupplier { - CertificateManagerFileDescriptorSupplier() {} - } - - private static final class CertificateManagerMethodDescriptorSupplier - extends CertificateManagerBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - CertificateManagerMethodDescriptorSupplier(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 (CertificateManagerGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new CertificateManagerFileDescriptorSupplier()) - .addMethod(getListCertificatesMethod()) - .addMethod(getGetCertificateMethod()) - .addMethod(getCreateCertificateMethod()) - .addMethod(getUpdateCertificateMethod()) - .addMethod(getDeleteCertificateMethod()) - .addMethod(getListCertificateMapsMethod()) - .addMethod(getGetCertificateMapMethod()) - .addMethod(getCreateCertificateMapMethod()) - .addMethod(getUpdateCertificateMapMethod()) - .addMethod(getDeleteCertificateMapMethod()) - .addMethod(getListCertificateMapEntriesMethod()) - .addMethod(getGetCertificateMapEntryMethod()) - .addMethod(getCreateCertificateMapEntryMethod()) - .addMethod(getUpdateCertificateMapEntryMethod()) - .addMethod(getDeleteCertificateMapEntryMethod()) - .addMethod(getListDnsAuthorizationsMethod()) - .addMethod(getGetDnsAuthorizationMethod()) - .addMethod(getCreateDnsAuthorizationMethod()) - .addMethod(getUpdateDnsAuthorizationMethod()) - .addMethod(getDeleteDnsAuthorizationMethod()) - .addMethod(getListCertificateIssuanceConfigsMethod()) - .addMethod(getGetCertificateIssuanceConfigMethod()) - .addMethod(getCreateCertificateIssuanceConfigMethod()) - .addMethod(getDeleteCertificateIssuanceConfigMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateIssuanceConfigProto.java b/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateIssuanceConfigProto.java deleted file mode 100644 index 7ddca88aa15b..000000000000 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateIssuanceConfigProto.java +++ /dev/null @@ -1,216 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/certificatemanager/v1/certificate_issuance_config.proto - -package com.google.cloud.certificatemanager.v1; - -public final class CertificateIssuanceConfigProto { - private CertificateIssuanceConfigProto() {} - 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_certificatemanager_v1_ListCertificateIssuanceConfigsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_GetCertificateIssuanceConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_GetCertificateIssuanceConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_CreateCertificateIssuanceConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_CreateCertificateIssuanceConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_DeleteCertificateIssuanceConfigRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_DeleteCertificateIssuanceConfigRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_LabelsEntry_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\nDgoogle/cloud/certificatemanager/v1/cer" + - "tificate_issuance_config.proto\022\"google.c" + - "loud.certificatemanager.v1\032\037google/api/f" + - "ield_behavior.proto\032\031google/api/resource" + - ".proto\032\036google/protobuf/duration.proto\032\037" + - "google/protobuf/timestamp.proto\"\253\001\n%List" + - "CertificateIssuanceConfigsRequest\0229\n\006par" + - "ent\030\001 \001(\tB)\340A\002\372A#\n!locations.googleapis." + - "com/Location\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_" + - "token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010order_by\030" + - "\005 \001(\t\"\273\001\n&ListCertificateIssuanceConfigs" + - "Response\022c\n\034certificate_issuance_configs" + - "\030\001 \003(\0132=.google.cloud.certificatemanager" + - ".v1.CertificateIssuanceConfig\022\027\n\017next_pa" + - "ge_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"x\n#G" + - "etCertificateIssuanceConfigRequest\022Q\n\004na" + - "me\030\001 \001(\tBC\340A\002\372A=\n;certificatemanager.goo" + - "gleapis.com/CertificateIssuanceConfig\"\371\001" + - "\n&CreateCertificateIssuanceConfigRequest" + - "\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!locations.goog" + - "leapis.com/Location\022+\n\036certificate_issua" + - "nce_config_id\030\002 \001(\tB\003\340A\002\022g\n\033certificate_" + - "issuance_config\030\003 \001(\0132=.google.cloud.cer" + - "tificatemanager.v1.CertificateIssuanceCo" + - "nfigB\003\340A\002\"{\n&DeleteCertificateIssuanceCo" + - "nfigRequest\022Q\n\004name\030\001 \001(\tBC\340A\002\372A=\n;certi" + - "ficatemanager.googleapis.com/Certificate" + - "IssuanceConfig\"\243\t\n\031CertificateIssuanceCo" + - "nfig\022\014\n\004name\030\001 \001(\t\0224\n\013create_time\030\002 \001(\0132" + - "\032.google.protobuf.TimestampB\003\340A\003\0224\n\013upda" + - "te_time\030\003 \001(\0132\032.google.protobuf.Timestam" + - "pB\003\340A\003\022Y\n\006labels\030\004 \003(\0132I.google.cloud.ce" + - "rtificatemanager.v1.CertificateIssuanceC" + - "onfig.LabelsEntry\022\023\n\013description\030\005 \001(\t\022\203" + - "\001\n\034certificate_authority_config\030\006 \001(\0132X." + - "google.cloud.certificatemanager.v1.Certi" + - "ficateIssuanceConfig.CertificateAuthorit" + - "yConfigB\003\340A\002\0220\n\010lifetime\030\007 \001(\0132\031.google." + - "protobuf.DurationB\003\340A\002\022\'\n\032rotation_windo" + - "w_percentage\030\010 \001(\005B\003\340A\002\022f\n\rkey_algorithm" + - "\030\t \001(\0162J.google.cloud.certificatemanager" + - ".v1.CertificateIssuanceConfig.KeyAlgorit" + - "hmB\003\340A\002\032\260\002\n\032CertificateAuthorityConfig\022\252" + - "\001\n$certificate_authority_service_config\030" + - "\001 \001(\0132z.google.cloud.certificatemanager." + - "v1.CertificateIssuanceConfig.Certificate" + - "AuthorityConfig.CertificateAuthorityServ" + - "iceConfigH\000\032]\n!CertificateAuthorityServi" + - "ceConfig\0228\n\007ca_pool\030\001 \001(\tB\'\340A\002\372A!\n\037priva" + - "teca.googleapis.com/CaPoolB\006\n\004kind\032-\n\013La" + - "belsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028" + - "\001\"K\n\014KeyAlgorithm\022\035\n\031KEY_ALGORITHM_UNSPE" + - "CIFIED\020\000\022\014\n\010RSA_2048\020\001\022\016\n\nECDSA_P256\020\004:\243" + - "\001\352A\237\001\n;certificatemanager.googleapis.com" + - "/CertificateIssuanceConfig\022`projects/{pr" + - "oject}/locations/{location}/certificateI" + - "ssuanceConfigs/{certificate_issuance_con" + - "fig}B\361\002\n&com.google.cloud.certificateman" + - "ager.v1B\036CertificateIssuanceConfigProtoP" + - "\001ZTgoogle.golang.org/genproto/googleapis" + - "/cloud/certificatemanager/v1;certificate" + - "manager\252\002\"Google.Cloud.CertificateManage" + - "r.V1\312\002\"Google\\Cloud\\CertificateManager\\V" + - "1\352\002%Google::Cloud::CertificateManager::V" + - "1\352A\\\n\037privateca.googleapis.com/CaPool\0229p" + - "rojects/{project}/locations/{location}/c" + - "aPools/{ca_pool}b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.protobuf.DurationProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_ListCertificateIssuanceConfigsResponse_descriptor, - new java.lang.String[] { "CertificateIssuanceConfigs", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_certificatemanager_v1_GetCertificateIssuanceConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_certificatemanager_v1_GetCertificateIssuanceConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_GetCertificateIssuanceConfigRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_certificatemanager_v1_CreateCertificateIssuanceConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_certificatemanager_v1_CreateCertificateIssuanceConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_CreateCertificateIssuanceConfigRequest_descriptor, - new java.lang.String[] { "Parent", "CertificateIssuanceConfigId", "CertificateIssuanceConfig", }); - internal_static_google_cloud_certificatemanager_v1_DeleteCertificateIssuanceConfigRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_certificatemanager_v1_DeleteCertificateIssuanceConfigRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_DeleteCertificateIssuanceConfigRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_descriptor, - new java.lang.String[] { "Name", "CreateTime", "UpdateTime", "Labels", "Description", "CertificateAuthorityConfig", "Lifetime", "RotationWindowPercentage", "KeyAlgorithm", }); - internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_descriptor = - internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_descriptor, - new java.lang.String[] { "CertificateAuthorityServiceConfig", "Kind", }); - internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig_descriptor = - internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_CertificateAuthorityConfig_CertificateAuthorityServiceConfig_descriptor, - new java.lang.String[] { "CaPool", }); - internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_LabelsEntry_descriptor = - internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_CertificateIssuanceConfig_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - registry.add(com.google.api.ResourceProto.resource); - registry.add(com.google.api.ResourceProto.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.protobuf.DurationProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerProto.java b/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerProto.java deleted file mode 100644 index 9a80226f551a..000000000000 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerProto.java +++ /dev/null @@ -1,889 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/certificatemanager/v1/certificate_manager.proto - -package com.google.cloud.certificatemanager.v1; - -public final class CertificateManagerProto { - private CertificateManagerProto() {} - 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_certificatemanager_v1_ListCertificatesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_ListCertificatesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_ListCertificatesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_ListCertificatesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_GetCertificateRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_GetCertificateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_CreateCertificateRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_CreateCertificateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_UpdateCertificateRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_UpdateCertificateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_DeleteCertificateRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_DeleteCertificateRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_GetCertificateMapRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_GetCertificateMapRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_GetCertificateMapEntryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_GetCertificateMapEntryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapEntryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapEntryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapEntryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapEntryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapEntryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapEntryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_GetDnsAuthorizationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_GetDnsAuthorizationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_CreateDnsAuthorizationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_CreateDnsAuthorizationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_UpdateDnsAuthorizationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_UpdateDnsAuthorizationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_DeleteDnsAuthorizationRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_DeleteDnsAuthorizationRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_OperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_OperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_Certificate_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_Certificate_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_Certificate_SelfManagedCertificate_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_Certificate_SelfManagedCertificate_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_ProvisioningIssue_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_ProvisioningIssue_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_AuthorizationAttemptInfo_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_AuthorizationAttemptInfo_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_Certificate_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_Certificate_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_CertificateMap_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_CertificateMap_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_IpConfig_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_IpConfig_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_CertificateMap_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_CertificateMap_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_CertificateMapEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_CertificateMapEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_CertificateMapEntry_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_CertificateMapEntry_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_DnsResourceRecord_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_DnsResourceRecord_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_LabelsEntry_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.ce" + - "rtificatemanager.v1.CertificateMap.Label" + - "sEntry\022X\n\014gclb_targets\030\004 \003(\0132=.google.cl" + - "oud.certificatemanager.v1.CertificateMap" + - ".GclbTargetB\003\340A\003\032\372\001\n\nGclbTarget\022!\n\022targe" + - "t_https_proxy\030\001 \001(\tB\003\340A\003H\000\022\037\n\020target_ssl" + - "_proxy\030\003 \001(\tB\003\340A\003H\000\022_\n\nip_configs\030\002 \003(\0132" + - "F.google.cloud.certificatemanager.v1.Cer" + - "tificateMap.GclbTarget.IpConfigB\003\340A\003\0327\n\010" + - "IpConfig\022\027\n\nip_address\030\001 \001(\tB\003\340A\003\022\022\n\005por" + - "ts\030\003 \003(\rB\003\340A\003B\016\n\014target_proxy\032-\n\013LabelsE" + - "ntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001:\200\001\352" + - "A}\n0certificatemanager.googleapis.com/Ce" + - "rtificateMap\022Iprojects/{project}/locatio" + - "ns/{location}/certificateMaps/{certifica" + - "te_map}\"\221\006\n\023CertificateMapEntry\022\014\n\004name\030" + - "\001 \001(\t\022\023\n\013description\030\t \001(\t\0224\n\013create_tim" + - "e\030\002 \001(\0132\032.google.protobuf.TimestampB\003\340A\003" + - "\0224\n\013update_time\030\003 \001(\0132\032.google.protobuf." + - "TimestampB\003\340A\003\022S\n\006labels\030\004 \003(\0132C.google." + - "cloud.certificatemanager.v1.CertificateM" + - "apEntry.LabelsEntry\022\022\n\010hostname\030\005 \001(\tH\000\022" + - "R\n\007matcher\030\n \001(\0162?.google.cloud.certific" + - "atemanager.v1.CertificateMapEntry.Matche" + - "rH\000\022H\n\014certificates\030\007 \003(\tB2\372A/\n-certific" + - "atemanager.googleapis.com/Certificate\022D\n" + - "\005state\030\010 \001(\01620.google.cloud.certificatem" + - "anager.v1.ServingStateB\003\340A\003\032-\n\013LabelsEnt" + - "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"/\n\007Ma" + - "tcher\022\027\n\023MATCHER_UNSPECIFIED\020\000\022\013\n\007PRIMAR" + - "Y\020\001:\264\001\352A\260\001\n5certificatemanager.googleapi" + - "s.com/CertificateMapEntry\022wprojects/{pro" + - "ject}/locations/{location}/certificateMa" + - "ps/{certificate_map}/certificateMapEntri" + - "es/{certificate_map_entry}B\007\n\005match\"\374\004\n\020" + - "DnsAuthorization\022\014\n\004name\030\001 \001(\t\0224\n\013create" + - "_time\030\002 \001(\0132\032.google.protobuf.TimestampB" + - "\003\340A\003\0224\n\013update_time\030\003 \001(\0132\032.google.proto" + - "buf.TimestampB\003\340A\003\022P\n\006labels\030\004 \003(\0132@.goo" + - "gle.cloud.certificatemanager.v1.DnsAutho" + - "rization.LabelsEntry\022\023\n\013description\030\005 \001(" + - "\t\022\026\n\006domain\030\006 \001(\tB\006\340A\002\340A\005\022h\n\023dns_resourc" + - "e_record\030\n \001(\0132F.google.cloud.certificat" + - "emanager.v1.DnsAuthorization.DnsResource" + - "RecordB\003\340A\003\032L\n\021DnsResourceRecord\022\021\n\004name" + - "\030\001 \001(\tB\003\340A\003\022\021\n\004type\030\002 \001(\tB\003\340A\003\022\021\n\004data\030\003" + - " \001(\tB\003\340A\003\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n" + - "\005value\030\002 \001(\t:\0028\001:\207\001\352A\203\001\n2certificatemana" + - "ger.googleapis.com/DnsAuthorization\022Mpro" + - "jects/{project}/locations/{location}/dns" + - "Authorizations/{dns_authorization}*F\n\014Se" + - "rvingState\022\035\n\031SERVING_STATE_UNSPECIFIED\020" + - "\000\022\n\n\006ACTIVE\020\001\022\013\n\007PENDING\020\0022\3261\n\022Certifica" + - "teManager\022\320\001\n\020ListCertificates\022;.google." + - "cloud.certificatemanager.v1.ListCertific" + - "atesRequest\032<.google.cloud.certificatema" + - "nager.v1.ListCertificatesResponse\"A\202\323\344\223\002" + - "2\0220/v1/{parent=projects/*/locations/*}/c" + - "ertificates\332A\006parent\022\275\001\n\016GetCertificate\022" + - "9.google.cloud.certificatemanager.v1.Get" + - "CertificateRequest\032/.google.cloud.certif" + - "icatemanager.v1.Certificate\"?\202\323\344\223\0022\0220/v1" + - "/{name=projects/*/locations/*/certificat" + - "es/*}\332A\004name\022\377\001\n\021CreateCertificate\022<.goo" + - "gle.cloud.certificatemanager.v1.CreateCe" + - "rtificateRequest\032\035.google.longrunning.Op" + - "eration\"\214\001\202\323\344\223\002?\"0/v1/{parent=projects/*" + - "/locations/*}/certificates:\013certificate\332" + - "A!parent,certificate,certificate_id\312A \n\013" + - "Certificate\022\021OperationMetadata\022\201\002\n\021Updat" + - "eCertificate\022<.google.cloud.certificatem" + - "anager.v1.UpdateCertificateRequest\032\035.goo" + - "gle.longrunning.Operation\"\216\001\202\323\344\223\002K2.google.cloud.certi" + - "ficatemanager.v1.ListCertificateMapsRequ" + - "est\032?.google.cloud.certificatemanager.v1" + - ".ListCertificateMapsResponse\"D\202\323\344\223\0025\0223/v" + - "1/{parent=projects/*/locations/*}/certif" + - "icateMaps\332A\006parent\022\311\001\n\021GetCertificateMap" + - "\022<.google.cloud.certificatemanager.v1.Ge" + - "tCertificateMapRequest\0322.google.cloud.ce" + - "rtificatemanager.v1.CertificateMap\"B\202\323\344\223" + - "\0025\0223/v1/{name=projects/*/locations/*/cer" + - "tificateMaps/*}\332A\004name\022\227\002\n\024CreateCertifi" + - "cateMap\022?.google.cloud.certificatemanage" + - "r.v1.CreateCertificateMapRequest\032\035.googl" + - "e.longrunning.Operation\"\236\001\202\323\344\223\002F\"3/v1/{p" + - "arent=projects/*/locations/*}/certificat" + - "eMaps:\017certificate_map\332A)parent,certific" + - "ate_map,certificate_map_id\312A#\n\016Certifica" + - "teMap\022\021OperationMetadata\022\231\002\n\024UpdateCerti" + - "ficateMap\022?.google.cloud.certificatemana" + - "ger.v1.UpdateCertificateMapRequest\032\035.goo" + - "gle.longrunning.Operation\"\240\001\202\323\344\223\002V2C/v1/" + - "{certificate_map.name=projects/*/locatio" + - "ns/*/certificateMaps/*}:\017certificate_map" + - "\332A\033certificate_map,update_mask\312A#\n\016Certi" + - "ficateMap\022\021OperationMetadata\022\347\001\n\024DeleteC" + - "ertificateMap\022?.google.cloud.certificate" + - "manager.v1.DeleteCertificateMapRequest\032\035" + - ".google.longrunning.Operation\"o\202\323\344\223\0025*3/" + - "v1/{name=projects/*/locations/*/certific" + - "ateMaps/*}\332A\004name\312A*\n\025google.protobuf.Em" + - "pty\022\021OperationMetadata\022\206\002\n\031ListCertifica" + - "teMapEntries\022D.google.cloud.certificatem" + - "anager.v1.ListCertificateMapEntriesReque" + - "st\032E.google.cloud.certificatemanager.v1." + - "ListCertificateMapEntriesResponse\"\\\202\323\344\223\002" + - "M\022K/v1/{parent=projects/*/locations/*/ce" + - "rtificateMaps/*}/certificateMapEntries\332A" + - "\006parent\022\360\001\n\026GetCertificateMapEntry\022A.goo" + - "gle.cloud.certificatemanager.v1.GetCerti" + - "ficateMapEntryRequest\0327.google.cloud.cer" + - "tificatemanager.v1.CertificateMapEntry\"Z" + - "\202\323\344\223\002M\022K/v1/{name=projects/*/locations/*" + - "/certificateMaps/*/certificateMapEntries" + - "/*}\332A\004name\022\320\002\n\031CreateCertificateMapEntry" + - "\022D.google.cloud.certificatemanager.v1.Cr" + - "eateCertificateMapEntryRequest\032\035.google." + - "longrunning.Operation\"\315\001\202\323\344\223\002d\"K/v1/{par" + - "ent=projects/*/locations/*/certificateMa" + - "ps/*}/certificateMapEntries:\025certificate" + - "_map_entry\332A5parent,certificate_map_entr" + - "y,certificate_map_entry_id\312A(\n\023Certifica" + - "teMapEntry\022\021OperationMetadata\022\322\002\n\031Update" + - "CertificateMapEntry\022D.google.cloud.certi" + - "ficatemanager.v1.UpdateCertificateMapEnt" + - "ryRequest\032\035.google.longrunning.Operation" + - "\"\317\001\202\323\344\223\002z2a/v1/{certificate_map_entry.na" + - "me=projects/*/locations/*/certificateMap" + - "s/*/certificateMapEntries/*}:\025certificat" + - "e_map_entry\332A!certificate_map_entry,upda" + - "te_mask\312A(\n\023CertificateMapEntry\022\021Operati" + - "onMetadata\022\212\002\n\031DeleteCertificateMapEntry" + - "\022D.google.cloud.certificatemanager.v1.De" + - "leteCertificateMapEntryRequest\032\035.google." + - "longrunning.Operation\"\207\001\202\323\344\223\002M*K/v1/{nam" + - "e=projects/*/locations/*/certificateMaps" + - "/*/certificateMapEntries/*}\332A\004name\312A*\n\025g" + - "oogle.protobuf.Empty\022\021OperationMetadata\022" + - "\344\001\n\025ListDnsAuthorizations\022@.google.cloud" + - ".certificatemanager.v1.ListDnsAuthorizat" + - "ionsRequest\032A.google.cloud.certificatema" + - "nager.v1.ListDnsAuthorizationsResponse\"F" + - "\202\323\344\223\0027\0225/v1/{parent=projects/*/locations" + - "/*}/dnsAuthorizations\332A\006parent\022\321\001\n\023GetDn" + - "sAuthorization\022>.google.cloud.certificat" + - "emanager.v1.GetDnsAuthorizationRequest\0324" + - ".google.cloud.certificatemanager.v1.DnsA" + - "uthorization\"D\202\323\344\223\0027\0225/v1/{name=projects" + - "/*/locations/*/dnsAuthorizations/*}\332A\004na" + - "me\022\245\002\n\026CreateDnsAuthorization\022A.google.c" + - "loud.certificatemanager.v1.CreateDnsAuth" + - "orizationRequest\032\035.google.longrunning.Op" + - "eration\"\250\001\202\323\344\223\002J\"5/v1/{parent=projects/*" + - "/locations/*}/dnsAuthorizations:\021dns_aut" + - "horization\332A-parent,dns_authorization,dn" + - "s_authorization_id\312A%\n\020DnsAuthorization\022" + - "\021OperationMetadata\022\247\002\n\026UpdateDnsAuthoriz" + - "ation\022A.google.cloud.certificatemanager." + - "v1.UpdateDnsAuthorizationRequest\032\035.googl" + - "e.longrunning.Operation\"\252\001\202\323\344\223\002\\2G/v1/{d" + - "ns_authorization.name=projects/*/locatio" + - "ns/*/dnsAuthorizations/*}:\021dns_authoriza" + - "tion\332A\035dns_authorization,update_mask\312A%\n" + - "\020DnsAuthorization\022\021OperationMetadata\022\355\001\n" + - "\026DeleteDnsAuthorization\022A.google.cloud.c" + - "ertificatemanager.v1.DeleteDnsAuthorizat" + - "ionRequest\032\035.google.longrunning.Operatio" + - "n\"q\202\323\344\223\0027*5/v1/{name=projects/*/location" + - "s/*/dnsAuthorizations/*}\332A\004name\312A*\n\025goog" + - "le.protobuf.Empty\022\021OperationMetadata\022\210\002\n" + - "\036ListCertificateIssuanceConfigs\022I.google" + - ".cloud.certificatemanager.v1.ListCertifi" + - "cateIssuanceConfigsRequest\032J.google.clou" + - "d.certificatemanager.v1.ListCertificateI" + - "ssuanceConfigsResponse\"O\202\323\344\223\002@\022>/v1/{par" + - "ent=projects/*/locations/*}/certificateI" + - "ssuanceConfigs\332A\006parent\022\365\001\n\034GetCertifica" + - "teIssuanceConfig\022G.google.cloud.certific" + - "atemanager.v1.GetCertificateIssuanceConf" + - "igRequest\032=.google.cloud.certificatemana" + - "ger.v1.CertificateIssuanceConfig\"M\202\323\344\223\002@" + - "\022>/v1/{name=projects/*/locations/*/certi" + - "ficateIssuanceConfigs/*}\332A\004name\022\347\002\n\037Crea" + - "teCertificateIssuanceConfig\022J.google.clo" + - "ud.certificatemanager.v1.CreateCertifica" + - "teIssuanceConfigRequest\032\035.google.longrun" + - "ning.Operation\"\330\001\202\323\344\223\002]\">/v1/{parent=pro" + - "jects/*/locations/*}/certificateIssuance" + - "Configs:\033certificate_issuance_config\332AAp" + - "arent,certificate_issuance_config,certif" + - "icate_issuance_config_id\312A.\n\031Certificate" + - "IssuanceConfig\022\021OperationMetadata\022\210\002\n\037De" + - "leteCertificateIssuanceConfig\022J.google.c" + - "loud.certificatemanager.v1.DeleteCertifi" + - "cateIssuanceConfigRequest\032\035.google.longr" + - "unning.Operation\"z\202\323\344\223\002@*>/v1/{name=proj" + - "ects/*/locations/*/certificateIssuanceCo" + - "nfigs/*}\332A\004name\312A*\n\025google.protobuf.Empt" + - "y\022\021OperationMetadata\032U\312A!certificatemana" + - "ger.googleapis.com\322A.https://www.googlea" + - "pis.com/auth/cloud-platformB\213\002\n&com.goog" + - "le.cloud.certificatemanager.v1B\027Certific" + - "ateManagerProtoP\001ZTgoogle.golang.org/gen" + - "proto/googleapis/cloud/certificatemanage" + - "r/v1;certificatemanager\252\002\"Google.Cloud.C" + - "ertificateManager.V1\312\002\"Google\\Cloud\\Cert" + - "ificateManager\\V1\352\002%Google::Cloud::Certi" + - "ficateManager::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_cloud_certificatemanager_v1_ListCertificatesRequest_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_cloud_certificatemanager_v1_ListCertificatesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_ListCertificatesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_certificatemanager_v1_ListCertificatesResponse_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_cloud_certificatemanager_v1_ListCertificatesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_ListCertificatesResponse_descriptor, - new java.lang.String[] { "Certificates", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_certificatemanager_v1_GetCertificateRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_cloud_certificatemanager_v1_GetCertificateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_GetCertificateRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_certificatemanager_v1_CreateCertificateRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_cloud_certificatemanager_v1_CreateCertificateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_CreateCertificateRequest_descriptor, - new java.lang.String[] { "Parent", "CertificateId", "Certificate", }); - internal_static_google_cloud_certificatemanager_v1_UpdateCertificateRequest_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_cloud_certificatemanager_v1_UpdateCertificateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_UpdateCertificateRequest_descriptor, - new java.lang.String[] { "Certificate", "UpdateMask", }); - internal_static_google_cloud_certificatemanager_v1_DeleteCertificateRequest_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_cloud_certificatemanager_v1_DeleteCertificateRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_DeleteCertificateRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsRequest_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsResponse_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_ListCertificateMapsResponse_descriptor, - new java.lang.String[] { "CertificateMaps", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_certificatemanager_v1_GetCertificateMapRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_cloud_certificatemanager_v1_GetCertificateMapRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_GetCertificateMapRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapRequest_descriptor, - new java.lang.String[] { "Parent", "CertificateMapId", "CertificateMap", }); - internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapRequest_descriptor, - new java.lang.String[] { "CertificateMap", "UpdateMask", }); - internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesRequest_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesResponse_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_ListCertificateMapEntriesResponse_descriptor, - new java.lang.String[] { "CertificateMapEntries", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_certificatemanager_v1_GetCertificateMapEntryRequest_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_cloud_certificatemanager_v1_GetCertificateMapEntryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_GetCertificateMapEntryRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapEntryRequest_descriptor = - getDescriptor().getMessageTypes().get(15); - internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapEntryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_CreateCertificateMapEntryRequest_descriptor, - new java.lang.String[] { "Parent", "CertificateMapEntryId", "CertificateMapEntry", }); - internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapEntryRequest_descriptor = - getDescriptor().getMessageTypes().get(16); - internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapEntryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_UpdateCertificateMapEntryRequest_descriptor, - new java.lang.String[] { "CertificateMapEntry", "UpdateMask", }); - internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapEntryRequest_descriptor = - getDescriptor().getMessageTypes().get(17); - internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapEntryRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_DeleteCertificateMapEntryRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsRequest_descriptor = - getDescriptor().getMessageTypes().get(18); - internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsRequest_descriptor, - new java.lang.String[] { "Parent", "PageSize", "PageToken", "Filter", "OrderBy", }); - internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsResponse_descriptor = - getDescriptor().getMessageTypes().get(19); - internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_ListDnsAuthorizationsResponse_descriptor, - new java.lang.String[] { "DnsAuthorizations", "NextPageToken", "Unreachable", }); - internal_static_google_cloud_certificatemanager_v1_GetDnsAuthorizationRequest_descriptor = - getDescriptor().getMessageTypes().get(20); - internal_static_google_cloud_certificatemanager_v1_GetDnsAuthorizationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_GetDnsAuthorizationRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_certificatemanager_v1_CreateDnsAuthorizationRequest_descriptor = - getDescriptor().getMessageTypes().get(21); - internal_static_google_cloud_certificatemanager_v1_CreateDnsAuthorizationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_CreateDnsAuthorizationRequest_descriptor, - new java.lang.String[] { "Parent", "DnsAuthorizationId", "DnsAuthorization", }); - internal_static_google_cloud_certificatemanager_v1_UpdateDnsAuthorizationRequest_descriptor = - getDescriptor().getMessageTypes().get(22); - internal_static_google_cloud_certificatemanager_v1_UpdateDnsAuthorizationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_UpdateDnsAuthorizationRequest_descriptor, - new java.lang.String[] { "DnsAuthorization", "UpdateMask", }); - internal_static_google_cloud_certificatemanager_v1_DeleteDnsAuthorizationRequest_descriptor = - getDescriptor().getMessageTypes().get(23); - internal_static_google_cloud_certificatemanager_v1_DeleteDnsAuthorizationRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_DeleteDnsAuthorizationRequest_descriptor, - new java.lang.String[] { "Name", }); - internal_static_google_cloud_certificatemanager_v1_OperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(24); - internal_static_google_cloud_certificatemanager_v1_OperationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_OperationMetadata_descriptor, - new java.lang.String[] { "CreateTime", "EndTime", "Target", "Verb", "StatusMessage", "RequestedCancellation", "ApiVersion", }); - internal_static_google_cloud_certificatemanager_v1_Certificate_descriptor = - getDescriptor().getMessageTypes().get(25); - internal_static_google_cloud_certificatemanager_v1_Certificate_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_Certificate_descriptor, - new java.lang.String[] { "Name", "Description", "CreateTime", "UpdateTime", "Labels", "SelfManaged", "Managed", "SanDnsnames", "PemCertificate", "ExpireTime", "Scope", "Type", }); - internal_static_google_cloud_certificatemanager_v1_Certificate_SelfManagedCertificate_descriptor = - internal_static_google_cloud_certificatemanager_v1_Certificate_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_certificatemanager_v1_Certificate_SelfManagedCertificate_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_Certificate_SelfManagedCertificate_descriptor, - new java.lang.String[] { "PemCertificate", "PemPrivateKey", }); - internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_descriptor = - internal_static_google_cloud_certificatemanager_v1_Certificate_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_descriptor, - new java.lang.String[] { "Domains", "DnsAuthorizations", "IssuanceConfig", "State", "ProvisioningIssue", "AuthorizationAttemptInfo", }); - internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_ProvisioningIssue_descriptor = - internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_ProvisioningIssue_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_ProvisioningIssue_descriptor, - new java.lang.String[] { "Reason", "Details", }); - internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_AuthorizationAttemptInfo_descriptor = - internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_AuthorizationAttemptInfo_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_Certificate_ManagedCertificate_AuthorizationAttemptInfo_descriptor, - new java.lang.String[] { "Domain", "State", "FailureReason", "Details", }); - internal_static_google_cloud_certificatemanager_v1_Certificate_LabelsEntry_descriptor = - internal_static_google_cloud_certificatemanager_v1_Certificate_descriptor.getNestedTypes().get(2); - internal_static_google_cloud_certificatemanager_v1_Certificate_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_Certificate_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_certificatemanager_v1_CertificateMap_descriptor = - getDescriptor().getMessageTypes().get(26); - internal_static_google_cloud_certificatemanager_v1_CertificateMap_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_CertificateMap_descriptor, - new java.lang.String[] { "Name", "Description", "CreateTime", "UpdateTime", "Labels", "GclbTargets", }); - internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_descriptor = - internal_static_google_cloud_certificatemanager_v1_CertificateMap_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_descriptor, - new java.lang.String[] { "TargetHttpsProxy", "TargetSslProxy", "IpConfigs", "TargetProxy", }); - internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_IpConfig_descriptor = - internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_IpConfig_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_CertificateMap_GclbTarget_IpConfig_descriptor, - new java.lang.String[] { "IpAddress", "Ports", }); - internal_static_google_cloud_certificatemanager_v1_CertificateMap_LabelsEntry_descriptor = - internal_static_google_cloud_certificatemanager_v1_CertificateMap_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_certificatemanager_v1_CertificateMap_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_CertificateMap_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_certificatemanager_v1_CertificateMapEntry_descriptor = - getDescriptor().getMessageTypes().get(27); - internal_static_google_cloud_certificatemanager_v1_CertificateMapEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_CertificateMapEntry_descriptor, - new java.lang.String[] { "Name", "Description", "CreateTime", "UpdateTime", "Labels", "Hostname", "Matcher", "Certificates", "State", "Match", }); - internal_static_google_cloud_certificatemanager_v1_CertificateMapEntry_LabelsEntry_descriptor = - internal_static_google_cloud_certificatemanager_v1_CertificateMapEntry_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_certificatemanager_v1_CertificateMapEntry_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_CertificateMapEntry_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_descriptor = - getDescriptor().getMessageTypes().get(28); - internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_descriptor, - new java.lang.String[] { "Name", "CreateTime", "UpdateTime", "Labels", "Description", "Domain", "DnsResourceRecord", }); - internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_DnsResourceRecord_descriptor = - internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_descriptor.getNestedTypes().get(0); - internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_DnsResourceRecord_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_DnsResourceRecord_descriptor, - new java.lang.String[] { "Name", "Type", "Data", }); - internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_LabelsEntry_descriptor = - internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_descriptor.getNestedTypes().get(1); - internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_cloud_certificatemanager_v1_DnsAuthorization_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - 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.cloud.certificatemanager.v1.CertificateIssuanceConfigProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateIssuanceConfigRequestOrBuilder.java b/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateIssuanceConfigRequestOrBuilder.java deleted file mode 100644 index 7fa24ea7b441..000000000000 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateIssuanceConfigRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/certificatemanager/v1/certificate_issuance_config.proto - -package com.google.cloud.certificatemanager.v1; - -public interface DeleteCertificateIssuanceConfigRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.DeleteCertificateIssuanceConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. A name of the certificate issuance config to delete. Must be in
-   * the format `projects/*/locations/*/certificateIssuanceConfigs/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. A name of the certificate issuance config to delete. Must be in
-   * the format `projects/*/locations/*/certificateIssuanceConfigs/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequestOrBuilder.java b/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequestOrBuilder.java deleted file mode 100644 index 032ccb5e9806..000000000000 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/certificatemanager/v1/certificate_manager.proto - -package com.google.cloud.certificatemanager.v1; - -public interface DeleteCertificateMapEntryRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. A name of the certificate map entry to delete. Must be in the
-   * format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. A name of the certificate map entry to delete. Must be in the
-   * format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequestOrBuilder.java b/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequestOrBuilder.java deleted file mode 100644 index 57ed9652999d..000000000000 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/certificatemanager/v1/certificate_manager.proto - -package com.google.cloud.certificatemanager.v1; - -public interface DeleteCertificateMapRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.DeleteCertificateMapRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. A name of the certificate map to delete. Must be in the format
-   * `projects/*/locations/*/certificateMaps/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. A name of the certificate map to delete. Must be in the format
-   * `projects/*/locations/*/certificateMaps/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequestOrBuilder.java b/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequestOrBuilder.java deleted file mode 100644 index 698fa34f13ba..000000000000 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/certificatemanager/v1/certificate_manager.proto - -package com.google.cloud.certificatemanager.v1; - -public interface DeleteCertificateRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.DeleteCertificateRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. A name of the certificate to delete. Must be in the format
-   * `projects/*/locations/*/certificates/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. A name of the certificate to delete. Must be in the format
-   * `projects/*/locations/*/certificates/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequestOrBuilder.java b/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequestOrBuilder.java deleted file mode 100644 index 50e321682bf3..000000000000 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/certificatemanager/v1/certificate_manager.proto - -package com.google.cloud.certificatemanager.v1; - -public interface DeleteDnsAuthorizationRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. A name of the dns authorization to delete. Must be in the format
-   * `projects/*/locations/*/dnsAuthorizations/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. A name of the dns authorization to delete. Must be in the format
-   * `projects/*/locations/*/dnsAuthorizations/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateIssuanceConfigRequestOrBuilder.java b/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateIssuanceConfigRequestOrBuilder.java deleted file mode 100644 index 373eedd2087e..000000000000 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateIssuanceConfigRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/certificatemanager/v1/certificate_issuance_config.proto - -package com.google.cloud.certificatemanager.v1; - -public interface GetCertificateIssuanceConfigRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.GetCertificateIssuanceConfigRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. A name of the certificate issuance config to describe. Must be in
-   * the format `projects/*/locations/*/certificateIssuanceConfigs/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. A name of the certificate issuance config to describe. Must be in
-   * the format `projects/*/locations/*/certificateIssuanceConfigs/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequestOrBuilder.java b/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequestOrBuilder.java deleted file mode 100644 index 6fd9bf9bd65e..000000000000 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/certificatemanager/v1/certificate_manager.proto - -package com.google.cloud.certificatemanager.v1; - -public interface GetCertificateMapEntryRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. A name of the certificate map entry to describe. Must be in the
-   * format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. A name of the certificate map entry to describe. Must be in the
-   * format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequestOrBuilder.java b/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequestOrBuilder.java deleted file mode 100644 index f98e3a0a1136..000000000000 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/certificatemanager/v1/certificate_manager.proto - -package com.google.cloud.certificatemanager.v1; - -public interface GetCertificateMapRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.GetCertificateMapRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. A name of the certificate map to describe. Must be in the format
-   * `projects/*/locations/*/certificateMaps/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. A name of the certificate map to describe. Must be in the format
-   * `projects/*/locations/*/certificateMaps/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequestOrBuilder.java b/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequestOrBuilder.java deleted file mode 100644 index 20d2f35c15ee..000000000000 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/certificatemanager/v1/certificate_manager.proto - -package com.google.cloud.certificatemanager.v1; - -public interface GetCertificateRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.GetCertificateRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. A name of the certificate to describe. Must be in the format
-   * `projects/*/locations/*/certificates/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. A name of the certificate to describe. Must be in the format
-   * `projects/*/locations/*/certificates/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequestOrBuilder.java b/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequestOrBuilder.java deleted file mode 100644 index 32151a9c0d76..000000000000 --- a/owl-bot-staging/java-certificate-manager/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequestOrBuilder.java +++ /dev/null @@ -1,31 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/certificatemanager/v1/certificate_manager.proto - -package com.google.cloud.certificatemanager.v1; - -public interface GetDnsAuthorizationRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. A name of the dns authorization to describe. Must be in the
-   * format `projects/*/locations/*/dnsAuthorizations/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. A name of the dns authorization to describe. Must be in the
-   * format `projects/*/locations/*/dnsAuthorizations/*`.
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -}