From a733abeabb13f1154c164069558b0dabca2d6ee6 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 27 Jun 2022 21:31:11 +0000 Subject: [PATCH 1/2] fix: update gapic-generator-java with mock service generation fixes PiperOrigin-RevId: 457524730 Source-Link: https://github.com/googleapis/googleapis/commit/917e7f21cb1dc062744c6694437cdd46219f28cb Source-Link: https://github.com/googleapis/googleapis-gen/commit/2497f9a069d3f6b2d6810d5a4e239cda1e7e5a39 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjQ5N2Y5YTA2OWQzZjZiMmQ2ODEwZDVhNGUyMzljZGExZTdlNWEzOSJ9 --- .../v1/CertificateManagerGrpc.java | 2783 --------- .../v1/CertificateManagerClient.java | 90 +- .../v1/CertificateManagerSettings.java | 22 +- .../certificatemanager/v1/gapic_metadata.json | 0 .../certificatemanager/v1/package-info.java | 6 +- .../v1/stub/CertificateManagerStub.java | 0 .../stub/CertificateManagerStubSettings.java | 57 +- ...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 .../v1/CertificateManagerGrpc.java | 2035 +++++++ .../certificatemanager/v1/Certificate.java | 5359 ++++++----------- .../v1/CertificateManagerProto.java | 863 +++ .../certificatemanager/v1/CertificateMap.java | 2592 +++----- .../v1/CertificateMapEntry.java | 1419 ++--- .../v1/CertificateMapEntryName.java | 0 .../v1/CertificateMapEntryOrBuilder.java | 154 +- .../v1/CertificateMapName.java | 0 .../v1/CertificateMapOrBuilder.java | 136 +- .../v1/CertificateName.java | 0 .../v1/CertificateOrBuilder.java | 190 +- .../v1/CreateCertificateMapEntryRequest.java | 630 +- ...teCertificateMapEntryRequestOrBuilder.java | 67 +- .../v1/CreateCertificateMapRequest.java | 613 +- .../CreateCertificateMapRequestOrBuilder.java | 64 +- .../v1/CreateCertificateRequest.java | 589 +- .../v1/CreateCertificateRequestOrBuilder.java | 64 +- .../v1/CreateDnsAuthorizationRequest.java | 616 +- ...reateDnsAuthorizationRequestOrBuilder.java | 64 +- .../v1/DeleteCertificateMapEntryRequest.java | 388 +- ...teCertificateMapEntryRequestOrBuilder.java | 31 + .../v1/DeleteCertificateMapRequest.java | 375 +- .../DeleteCertificateMapRequestOrBuilder.java | 31 + .../v1/DeleteCertificateRequest.java | 363 +- .../v1/DeleteCertificateRequestOrBuilder.java | 31 + .../v1/DeleteDnsAuthorizationRequest.java | 375 +- ...eleteDnsAuthorizationRequestOrBuilder.java | 31 + .../v1/DnsAuthorization.java | 1802 +++--- .../v1/DnsAuthorizationName.java | 0 .../v1/DnsAuthorizationOrBuilder.java | 141 +- .../v1/GetCertificateMapEntryRequest.java | 375 +- ...etCertificateMapEntryRequestOrBuilder.java | 31 + .../v1/GetCertificateMapRequest.java | 363 +- .../v1/GetCertificateMapRequestOrBuilder.java | 31 + .../v1/GetCertificateRequest.java | 349 +- .../v1/GetCertificateRequestOrBuilder.java | 31 + .../v1/GetDnsAuthorizationRequest.java | 371 +- .../GetDnsAuthorizationRequestOrBuilder.java | 31 + .../v1/ListCertificateMapEntriesRequest.java | 661 +- ...CertificateMapEntriesRequestOrBuilder.java | 65 +- .../v1/ListCertificateMapEntriesResponse.java | 750 +-- ...ertificateMapEntriesResponseOrBuilder.java | 83 +- .../v1/ListCertificateMapsRequest.java | 644 +- .../ListCertificateMapsRequestOrBuilder.java | 65 +- .../v1/ListCertificateMapsResponse.java | 658 +- .../ListCertificateMapsResponseOrBuilder.java | 60 +- .../v1/ListCertificatesRequest.java | 633 +- .../v1/ListCertificatesRequestOrBuilder.java | 65 +- .../v1/ListCertificatesResponse.java | 583 +- .../v1/ListCertificatesResponseOrBuilder.java | 63 +- .../v1/ListDnsAuthorizationsRequest.java | 648 +- ...ListDnsAuthorizationsRequestOrBuilder.java | 65 +- .../v1/ListDnsAuthorizationsResponse.java | 701 +-- ...istDnsAuthorizationsResponseOrBuilder.java | 74 +- .../certificatemanager/v1/LocationName.java | 0 .../v1/OperationMetadata.java | 774 +-- .../v1/OperationMetadataOrBuilder.java | 73 +- .../certificatemanager/v1/ServingState.java | 86 +- .../v1/UpdateCertificateMapEntryRequest.java | 579 +- ...teCertificateMapEntryRequestOrBuilder.java | 58 +- .../v1/UpdateCertificateMapRequest.java | 562 +- .../UpdateCertificateMapRequestOrBuilder.java | 55 +- .../v1/UpdateCertificateRequest.java | 538 +- .../v1/UpdateCertificateRequestOrBuilder.java | 55 +- .../v1/UpdateDnsAuthorizationRequest.java | 565 +- ...pdateDnsAuthorizationRequestOrBuilder.java | 55 +- .../v1/certificate_manager.proto | 0 .../SyncCreateSetCredentialsProvider.java | 3 +- .../SyncCreateSetCredentialsProvider1.java | 6 +- .../create/SyncCreateSetEndpoint.java | 0 .../AsyncCreateCertificate.java | 0 .../AsyncCreateCertificateLRO.java | 0 .../SyncCreateCertificate.java | 0 ...tificateLocationnameCertificateString.java | 6 +- ...ateCertificateStringCertificateString.java | 6 +- .../AsyncCreateCertificateMap.java | 0 .../AsyncCreateCertificateMapLRO.java | 0 .../SyncCreateCertificateMap.java | 0 ...teMapLocationnameCertificatemapString.java | 6 +- ...tificateMapStringCertificatemapString.java | 6 +- .../AsyncCreateCertificateMapEntry.java | 0 .../AsyncCreateCertificateMapEntryLRO.java | 6 +- .../SyncCreateCertificateMapEntry.java | 0 ...icatemapnameCertificatemapentryString.java | 6 +- ...pEntryStringCertificatemapentryString.java | 6 +- .../AsyncCreateDnsAuthorization.java | 0 .../AsyncCreateDnsAuthorizationLRO.java | 0 .../SyncCreateDnsAuthorization.java | 0 ...ionLocationnameDnsauthorizationString.java | 6 +- ...orizationStringDnsauthorizationString.java | 6 +- .../AsyncDeleteCertificate.java | 0 .../AsyncDeleteCertificateLRO.java | 0 .../SyncDeleteCertificate.java | 1 + .../SyncDeleteCertificateCertificatename.java | 7 +- .../SyncDeleteCertificateString.java | 1 + .../AsyncDeleteCertificateMap.java | 0 .../AsyncDeleteCertificateMapLRO.java | 0 .../SyncDeleteCertificateMap.java | 1 + ...eleteCertificateMapCertificatemapname.java | 7 +- .../SyncDeleteCertificateMapString.java | 1 + .../AsyncDeleteCertificateMapEntry.java | 0 .../AsyncDeleteCertificateMapEntryLRO.java | 6 +- .../SyncDeleteCertificateMapEntry.java | 1 + ...ficateMapEntryCertificatemapentryname.java | 7 +- .../SyncDeleteCertificateMapEntryString.java | 7 +- .../AsyncDeleteDnsAuthorization.java | 0 .../AsyncDeleteDnsAuthorizationLRO.java | 0 .../SyncDeleteDnsAuthorization.java | 1 + ...eDnsAuthorizationDnsauthorizationname.java | 7 +- .../SyncDeleteDnsAuthorizationString.java | 4 +- .../getcertificate/AsyncGetCertificate.java | 0 .../getcertificate/SyncGetCertificate.java | 0 .../SyncGetCertificateCertificatename.java | 6 +- .../SyncGetCertificateString.java | 0 .../AsyncGetCertificateMap.java | 0 .../SyncGetCertificateMap.java | 0 ...ncGetCertificateMapCertificatemapname.java | 6 +- .../SyncGetCertificateMapString.java | 0 .../AsyncGetCertificateMapEntry.java | 0 .../SyncGetCertificateMapEntry.java | 0 ...ficateMapEntryCertificatemapentryname.java | 6 +- .../SyncGetCertificateMapEntryString.java | 3 +- .../AsyncGetDnsAuthorization.java | 0 .../SyncGetDnsAuthorization.java | 0 ...tDnsAuthorizationDnsauthorizationname.java | 6 +- .../SyncGetDnsAuthorizationString.java | 0 .../AsyncListCertificateMapEntries.java | 0 .../AsyncListCertificateMapEntriesPaged.java | 6 +- .../SyncListCertificateMapEntries.java | 0 ...rtificateMapEntriesCertificatemapname.java | 6 +- .../SyncListCertificateMapEntriesString.java | 6 +- .../AsyncListCertificateMaps.java | 0 .../AsyncListCertificateMapsPaged.java | 0 .../SyncListCertificateMaps.java | 0 .../SyncListCertificateMapsLocationname.java | 6 +- .../SyncListCertificateMapsString.java | 0 .../AsyncListCertificates.java | 0 .../AsyncListCertificatesPaged.java | 0 .../SyncListCertificates.java | 0 .../SyncListCertificatesLocationname.java | 3 +- .../SyncListCertificatesString.java | 0 .../AsyncListDnsAuthorizations.java | 0 .../AsyncListDnsAuthorizationsPaged.java | 3 +- .../SyncListDnsAuthorizations.java | 0 ...SyncListDnsAuthorizationsLocationname.java | 6 +- .../SyncListDnsAuthorizationsString.java | 3 +- .../AsyncUpdateCertificate.java | 0 .../AsyncUpdateCertificateLRO.java | 0 .../SyncUpdateCertificate.java | 0 ...UpdateCertificateCertificateFieldmask.java | 6 +- .../AsyncUpdateCertificateMap.java | 0 .../AsyncUpdateCertificateMapLRO.java | 0 .../SyncUpdateCertificateMap.java | 0 ...CertificateMapCertificatemapFieldmask.java | 6 +- .../AsyncUpdateCertificateMapEntry.java | 0 .../AsyncUpdateCertificateMapEntryLRO.java | 6 +- .../SyncUpdateCertificateMapEntry.java | 0 ...eMapEntryCertificatemapentryFieldmask.java | 6 +- .../AsyncUpdateDnsAuthorization.java | 0 .../AsyncUpdateDnsAuthorizationLRO.java | 0 .../SyncUpdateDnsAuthorization.java | 0 ...uthorizationDnsauthorizationFieldmask.java | 6 +- .../getcertificate/SyncGetCertificate.java | 0 .../getcertificate/SyncGetCertificate.java | 0 .../v1/CertificateManagerProto.java | 975 --- ...teCertificateMapEntryRequestOrBuilder.java | 56 - .../DeleteCertificateMapRequestOrBuilder.java | 56 - .../v1/DeleteCertificateRequestOrBuilder.java | 56 - ...eleteDnsAuthorizationRequestOrBuilder.java | 56 - ...etCertificateMapEntryRequestOrBuilder.java | 56 - .../v1/GetCertificateMapRequestOrBuilder.java | 56 - .../v1/GetCertificateRequestOrBuilder.java | 56 - .../GetDnsAuthorizationRequestOrBuilder.java | 56 - 188 files changed, 13014 insertions(+), 21402 deletions(-) delete mode 100644 grpc-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerGrpc.java rename {google-cloud-certificate-manager => owl-bot-staging/v1/google-cloud-certificate-manager}/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerClient.java (98%) rename {google-cloud-certificate-manager => owl-bot-staging/v1/google-cloud-certificate-manager}/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerSettings.java (97%) rename {google-cloud-certificate-manager => owl-bot-staging/v1/google-cloud-certificate-manager}/src/main/java/com/google/cloud/certificatemanager/v1/gapic_metadata.json (100%) rename {google-cloud-certificate-manager => owl-bot-staging/v1/google-cloud-certificate-manager}/src/main/java/com/google/cloud/certificatemanager/v1/package-info.java (89%) rename {google-cloud-certificate-manager => owl-bot-staging/v1/google-cloud-certificate-manager}/src/main/java/com/google/cloud/certificatemanager/v1/stub/CertificateManagerStub.java (100%) rename {google-cloud-certificate-manager => owl-bot-staging/v1/google-cloud-certificate-manager}/src/main/java/com/google/cloud/certificatemanager/v1/stub/CertificateManagerStubSettings.java (97%) rename {google-cloud-certificate-manager => owl-bot-staging/v1/google-cloud-certificate-manager}/src/main/java/com/google/cloud/certificatemanager/v1/stub/GrpcCertificateManagerCallableFactory.java (100%) rename {google-cloud-certificate-manager => owl-bot-staging/v1/google-cloud-certificate-manager}/src/main/java/com/google/cloud/certificatemanager/v1/stub/GrpcCertificateManagerStub.java (99%) rename {google-cloud-certificate-manager => owl-bot-staging/v1/google-cloud-certificate-manager}/src/main/java/com/google/cloud/certificatemanager/v1/stub/HttpJsonCertificateManagerCallableFactory.java (100%) rename {google-cloud-certificate-manager => owl-bot-staging/v1/google-cloud-certificate-manager}/src/main/java/com/google/cloud/certificatemanager/v1/stub/HttpJsonCertificateManagerStub.java (99%) rename {google-cloud-certificate-manager => owl-bot-staging/v1/google-cloud-certificate-manager}/src/test/java/com/google/cloud/certificatemanager/v1/CertificateManagerClientHttpJsonTest.java (100%) rename {google-cloud-certificate-manager => owl-bot-staging/v1/google-cloud-certificate-manager}/src/test/java/com/google/cloud/certificatemanager/v1/CertificateManagerClientTest.java (100%) rename {google-cloud-certificate-manager => owl-bot-staging/v1/google-cloud-certificate-manager}/src/test/java/com/google/cloud/certificatemanager/v1/MockCertificateManager.java (100%) rename {google-cloud-certificate-manager => owl-bot-staging/v1/google-cloud-certificate-manager}/src/test/java/com/google/cloud/certificatemanager/v1/MockCertificateManagerImpl.java (100%) create mode 100644 owl-bot-staging/v1/grpc-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerGrpc.java rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/Certificate.java (63%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerProto.java rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMap.java (65%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntry.java (69%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntryName.java (100%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntryOrBuilder.java (78%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapName.java (100%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapOrBuilder.java (63%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/CertificateName.java (100%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/CertificateOrBuilder.java (76%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequest.java (62%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequestOrBuilder.java (54%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequest.java (63%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequestOrBuilder.java (54%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequest.java (64%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequestOrBuilder.java (53%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequest.java (62%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequestOrBuilder.java (54%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequest.java (61%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequestOrBuilder.java rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequest.java (63%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequestOrBuilder.java rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequestOrBuilder.java rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequest.java (63%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequestOrBuilder.java rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorization.java (65%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationName.java (100%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationOrBuilder.java (66%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequest.java (63%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequestOrBuilder.java rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequestOrBuilder.java rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequest.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequestOrBuilder.java rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequest.java (63%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequestOrBuilder.java rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequest.java (69%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequestOrBuilder.java (71%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponse.java (65%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponseOrBuilder.java (63%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequest.java (70%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequestOrBuilder.java (68%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponse.java (72%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponseOrBuilder.java (76%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequest.java (70%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequestOrBuilder.java (68%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponse.java (74%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponseOrBuilder.java (75%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequest.java (69%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequestOrBuilder.java (68%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponse.java (70%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponseOrBuilder.java (72%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/LocationName.java (100%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadata.java (73%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadataOrBuilder.java (76%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/ServingState.java (66%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequest.java (62%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequestOrBuilder.java (59%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequest.java (63%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequestOrBuilder.java (60%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequest.java (64%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequestOrBuilder.java (60%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequest.java (63%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequestOrBuilder.java (60%) rename {proto-google-cloud-certificate-manager-v1 => owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1}/src/main/proto/google/cloud/certificatemanager/v1/certificate_manager.proto (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider.java (94%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider1.java (88%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetEndpoint.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/AsyncCreateCertificate.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/AsyncCreateCertificateLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificate.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateLocationnameCertificateString.java (87%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateStringCertificateString.java (87%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/AsyncCreateCertificateMap.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/AsyncCreateCertificateMapLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMap.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapLocationnameCertificatemapString.java (87%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapStringCertificatemapString.java (87%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/AsyncCreateCertificateMapEntry.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/AsyncCreateCertificateMapEntryLRO.java (91%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntry.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryCertificatemapnameCertificatemapentryString.java (87%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryStringCertificatemapentryString.java (87%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/AsyncCreateDnsAuthorization.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/AsyncCreateDnsAuthorizationLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorization.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationLocationnameDnsauthorizationString.java (87%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationStringDnsauthorizationString.java (87%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/AsyncDeleteCertificate.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/AsyncDeleteCertificateLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificate.java (98%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateCertificatename.java (85%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateString.java (97%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/AsyncDeleteCertificateMap.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/AsyncDeleteCertificateMapLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMap.java (98%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapCertificatemapname.java (85%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapString.java (97%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/AsyncDeleteCertificateMapEntry.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/AsyncDeleteCertificateMapEntryLRO.java (90%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntry.java (98%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryCertificatemapentryname.java (85%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryString.java (86%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/AsyncDeleteDnsAuthorization.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/AsyncDeleteDnsAuthorizationLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorization.java (98%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationDnsauthorizationname.java (85%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationString.java (91%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/AsyncGetCertificate.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificate.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificateCertificatename.java (87%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificateString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/AsyncGetCertificateMap.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMap.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMapCertificatemapname.java (87%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMapString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/AsyncGetCertificateMapEntry.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntry.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryCertificatemapentryname.java (87%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryString.java (94%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/AsyncGetDnsAuthorization.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorization.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorizationDnsauthorizationname.java (87%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorizationString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/AsyncListCertificateMapEntries.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/AsyncListCertificateMapEntriesPaged.java (92%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntries.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesCertificatemapname.java (87%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesString.java (88%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/AsyncListCertificateMaps.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/AsyncListCertificateMapsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMaps.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMapsLocationname.java (87%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMapsString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/AsyncListCertificates.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/AsyncListCertificatesPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificates.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificatesLocationname.java (93%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificatesString.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/AsyncListDnsAuthorizations.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/AsyncListDnsAuthorizationsPaged.java (96%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizations.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsLocationname.java (87%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsString.java (94%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/AsyncUpdateCertificate.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/AsyncUpdateCertificateLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/SyncUpdateCertificate.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/SyncUpdateCertificateCertificateFieldmask.java (87%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/AsyncUpdateCertificateMap.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/AsyncUpdateCertificateMapLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/SyncUpdateCertificateMap.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/SyncUpdateCertificateMapCertificatemapFieldmask.java (87%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/AsyncUpdateCertificateMapEntry.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/AsyncUpdateCertificateMapEntryLRO.java (90%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/SyncUpdateCertificateMapEntry.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/SyncUpdateCertificateMapEntryCertificatemapentryFieldmask.java (86%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/AsyncUpdateDnsAuthorization.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/AsyncUpdateDnsAuthorizationLRO.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/SyncUpdateDnsAuthorization.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/SyncUpdateDnsAuthorizationDnsauthorizationFieldmask.java (86%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagersettings/getcertificate/SyncGetCertificate.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/certificatemanager/v1/stub/certificatemanagerstubsettings/getcertificate/SyncGetCertificate.java (100%) delete mode 100644 proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerProto.java delete mode 100644 proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequestOrBuilder.java delete mode 100644 proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequestOrBuilder.java delete mode 100644 proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequestOrBuilder.java delete mode 100644 proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequestOrBuilder.java delete mode 100644 proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequestOrBuilder.java delete mode 100644 proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequestOrBuilder.java delete mode 100644 proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequestOrBuilder.java delete mode 100644 proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequestOrBuilder.java diff --git a/grpc-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerGrpc.java b/grpc-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerGrpc.java deleted file mode 100644 index 27f616e..0000000 --- a/grpc-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerGrpc.java +++ /dev/null @@ -1,2783 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.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; - } - - /** 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); - } - - @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))) - .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); - } - } - - /** - * - * - *
-   * 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); - } - } - - /** - * - * - *
-   * 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); - } - } - - 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 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; - 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()) - .build(); - } - } - } - return result; - } -} diff --git a/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerClient.java b/owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerClient.java similarity index 98% rename from google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerClient.java rename to owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerClient.java index 2abf310..bde53a0 100644 --- a/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerClient.java +++ b/owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerClient.java @@ -18,6 +18,7 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; +import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.httpjson.longrunning.OperationsClient; import com.google.api.gax.longrunning.OperationFuture; @@ -53,10 +54,10 @@ *

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 + *
  • `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 + *
  • `CertificateMapEntry` which describes a single configuration entry that consists of a SNI * and a group of certificates. It's a subresource of CertificateMap. *
* @@ -86,13 +87,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -216,6 +217,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ + @BetaApi public final OperationsClient getHttpJsonOperationsClient() { return httpJsonOperationsClient; } @@ -2988,10 +2990,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListCertificatesPagedResponse extends AbstractPagedListResponse< - ListCertificatesRequest, - ListCertificatesResponse, - Certificate, - ListCertificatesPage, + ListCertificatesRequest, ListCertificatesResponse, Certificate, ListCertificatesPage, ListCertificatesFixedSizeCollection> { public static ApiFuture createAsync( @@ -3041,10 +3040,7 @@ public ApiFuture createPageAsync( public static class ListCertificatesFixedSizeCollection extends AbstractFixedSizeCollection< - ListCertificatesRequest, - ListCertificatesResponse, - Certificate, - ListCertificatesPage, + ListCertificatesRequest, ListCertificatesResponse, Certificate, ListCertificatesPage, ListCertificatesFixedSizeCollection> { private ListCertificatesFixedSizeCollection( @@ -3065,11 +3061,8 @@ protected ListCertificatesFixedSizeCollection createCollection( public static class ListCertificateMapsPagedResponse extends AbstractPagedListResponse< - ListCertificateMapsRequest, - ListCertificateMapsResponse, - CertificateMap, - ListCertificateMapsPage, - ListCertificateMapsFixedSizeCollection> { + ListCertificateMapsRequest, ListCertificateMapsResponse, CertificateMap, + ListCertificateMapsPage, ListCertificateMapsFixedSizeCollection> { public static ApiFuture createAsync( PageContext @@ -3090,9 +3083,7 @@ private ListCertificateMapsPagedResponse(ListCertificateMapsPage page) { public static class ListCertificateMapsPage extends AbstractPage< - ListCertificateMapsRequest, - ListCertificateMapsResponse, - CertificateMap, + ListCertificateMapsRequest, ListCertificateMapsResponse, CertificateMap, ListCertificateMapsPage> { private ListCertificateMapsPage( @@ -3125,11 +3116,8 @@ public ApiFuture createPageAsync( public static class ListCertificateMapsFixedSizeCollection extends AbstractFixedSizeCollection< - ListCertificateMapsRequest, - ListCertificateMapsResponse, - CertificateMap, - ListCertificateMapsPage, - ListCertificateMapsFixedSizeCollection> { + ListCertificateMapsRequest, ListCertificateMapsResponse, CertificateMap, + ListCertificateMapsPage, ListCertificateMapsFixedSizeCollection> { private ListCertificateMapsFixedSizeCollection( List pages, int collectionSize) { @@ -3149,16 +3137,12 @@ protected ListCertificateMapsFixedSizeCollection createCollection( public static class ListCertificateMapEntriesPagedResponse extends AbstractPagedListResponse< - ListCertificateMapEntriesRequest, - ListCertificateMapEntriesResponse, - CertificateMapEntry, - ListCertificateMapEntriesPage, - ListCertificateMapEntriesFixedSizeCollection> { + ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse, CertificateMapEntry, + ListCertificateMapEntriesPage, ListCertificateMapEntriesFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - ListCertificateMapEntriesRequest, - ListCertificateMapEntriesResponse, + ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse, CertificateMapEntry> context, ApiFuture futureResponse) { @@ -3177,15 +3161,12 @@ private ListCertificateMapEntriesPagedResponse(ListCertificateMapEntriesPage pag public static class ListCertificateMapEntriesPage extends AbstractPage< - ListCertificateMapEntriesRequest, - ListCertificateMapEntriesResponse, - CertificateMapEntry, + ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse, CertificateMapEntry, ListCertificateMapEntriesPage> { private ListCertificateMapEntriesPage( PageContext< - ListCertificateMapEntriesRequest, - ListCertificateMapEntriesResponse, + ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse, CertificateMapEntry> context, ListCertificateMapEntriesResponse response) { @@ -3199,8 +3180,7 @@ private static ListCertificateMapEntriesPage createEmptyPage() { @Override protected ListCertificateMapEntriesPage createPage( PageContext< - ListCertificateMapEntriesRequest, - ListCertificateMapEntriesResponse, + ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse, CertificateMapEntry> context, ListCertificateMapEntriesResponse response) { @@ -3210,8 +3190,7 @@ protected ListCertificateMapEntriesPage createPage( @Override public ApiFuture createPageAsync( PageContext< - ListCertificateMapEntriesRequest, - ListCertificateMapEntriesResponse, + ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse, CertificateMapEntry> context, ApiFuture futureResponse) { @@ -3221,11 +3200,8 @@ public ApiFuture createPageAsync( public static class ListCertificateMapEntriesFixedSizeCollection extends AbstractFixedSizeCollection< - ListCertificateMapEntriesRequest, - ListCertificateMapEntriesResponse, - CertificateMapEntry, - ListCertificateMapEntriesPage, - ListCertificateMapEntriesFixedSizeCollection> { + ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse, CertificateMapEntry, + ListCertificateMapEntriesPage, ListCertificateMapEntriesFixedSizeCollection> { private ListCertificateMapEntriesFixedSizeCollection( List pages, int collectionSize) { @@ -3245,11 +3221,8 @@ protected ListCertificateMapEntriesFixedSizeCollection createCollection( public static class ListDnsAuthorizationsPagedResponse extends AbstractPagedListResponse< - ListDnsAuthorizationsRequest, - ListDnsAuthorizationsResponse, - DnsAuthorization, - ListDnsAuthorizationsPage, - ListDnsAuthorizationsFixedSizeCollection> { + ListDnsAuthorizationsRequest, ListDnsAuthorizationsResponse, DnsAuthorization, + ListDnsAuthorizationsPage, ListDnsAuthorizationsFixedSizeCollection> { public static ApiFuture createAsync( PageContext @@ -3270,9 +3243,7 @@ private ListDnsAuthorizationsPagedResponse(ListDnsAuthorizationsPage page) { public static class ListDnsAuthorizationsPage extends AbstractPage< - ListDnsAuthorizationsRequest, - ListDnsAuthorizationsResponse, - DnsAuthorization, + ListDnsAuthorizationsRequest, ListDnsAuthorizationsResponse, DnsAuthorization, ListDnsAuthorizationsPage> { private ListDnsAuthorizationsPage( @@ -3305,11 +3276,8 @@ public ApiFuture createPageAsync( public static class ListDnsAuthorizationsFixedSizeCollection extends AbstractFixedSizeCollection< - ListDnsAuthorizationsRequest, - ListDnsAuthorizationsResponse, - DnsAuthorization, - ListDnsAuthorizationsPage, - ListDnsAuthorizationsFixedSizeCollection> { + ListDnsAuthorizationsRequest, ListDnsAuthorizationsResponse, DnsAuthorization, + ListDnsAuthorizationsPage, ListDnsAuthorizationsFixedSizeCollection> { private ListDnsAuthorizationsFixedSizeCollection( List pages, int collectionSize) { diff --git a/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerSettings.java b/owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerSettings.java similarity index 97% rename from google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerSettings.java rename to owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerSettings.java index 972dcfc..529937f 100644 --- a/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerSettings.java +++ b/owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerSettings.java @@ -32,6 +32,7 @@ import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.OperationCallSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.certificatemanager.v1.stub.CertificateManagerStubSettings; @@ -48,10 +49,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -178,8 +179,7 @@ public UnaryCallSettings deleteCertifica /** Returns the object with the settings used for calls to listCertificateMapEntries. */ public PagedCallSettings< - ListCertificateMapEntriesRequest, - ListCertificateMapEntriesResponse, + ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse, ListCertificateMapEntriesPagedResponse> listCertificateMapEntriesSettings() { return ((CertificateManagerStubSettings) getStubSettings()).listCertificateMapEntriesSettings(); @@ -234,8 +234,7 @@ public UnaryCallSettings deleteCertifica /** Returns the object with the settings used for calls to listDnsAuthorizations. */ public PagedCallSettings< - ListDnsAuthorizationsRequest, - ListDnsAuthorizationsResponse, + ListDnsAuthorizationsRequest, ListDnsAuthorizationsResponse, ListDnsAuthorizationsPagedResponse> listDnsAuthorizationsSettings() { return ((CertificateManagerStubSettings) getStubSettings()).listDnsAuthorizationsSettings(); @@ -451,8 +450,7 @@ public UnaryCallSettings.Builder getCertific /** Returns the builder for the settings used for calls to listCertificateMaps. */ public PagedCallSettings.Builder< - ListCertificateMapsRequest, - ListCertificateMapsResponse, + ListCertificateMapsRequest, ListCertificateMapsResponse, ListCertificateMapsPagedResponse> listCertificateMapsSettings() { return getStubSettingsBuilder().listCertificateMapsSettings(); @@ -504,8 +502,7 @@ public UnaryCallSettings.Builder getCertific /** Returns the builder for the settings used for calls to listCertificateMapEntries. */ public PagedCallSettings.Builder< - ListCertificateMapEntriesRequest, - ListCertificateMapEntriesResponse, + ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse, ListCertificateMapEntriesPagedResponse> listCertificateMapEntriesSettings() { return getStubSettingsBuilder().listCertificateMapEntriesSettings(); @@ -557,8 +554,7 @@ public UnaryCallSettings.Builder getCertific /** Returns the builder for the settings used for calls to listDnsAuthorizations. */ public PagedCallSettings.Builder< - ListDnsAuthorizationsRequest, - ListDnsAuthorizationsResponse, + ListDnsAuthorizationsRequest, ListDnsAuthorizationsResponse, ListDnsAuthorizationsPagedResponse> listDnsAuthorizationsSettings() { return getStubSettingsBuilder().listDnsAuthorizationsSettings(); diff --git a/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/gapic_metadata.json similarity index 100% rename from google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/gapic_metadata.json diff --git a/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/package-info.java b/owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/package-info.java similarity index 89% rename from google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/package-info.java index 145ff6d..e7a22b6 100644 --- a/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/package-info.java +++ b/owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/package-info.java @@ -34,10 +34,10 @@ *

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 + *
  • `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 + *
  • `CertificateMapEntry` which describes a single configuration entry that consists of a SNI * and a group of certificates. It's a subresource of CertificateMap. *
* diff --git a/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/CertificateManagerStub.java b/owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/CertificateManagerStub.java similarity index 100% rename from google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/CertificateManagerStub.java rename to owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/CertificateManagerStub.java diff --git a/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/CertificateManagerStubSettings.java b/owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/CertificateManagerStubSettings.java similarity index 97% rename from google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/CertificateManagerStubSettings.java rename to owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/CertificateManagerStubSettings.java index 66f842a..9acbd7e 100644 --- a/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/CertificateManagerStubSettings.java +++ b/owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/CertificateManagerStubSettings.java @@ -97,10 +97,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -165,8 +165,7 @@ public class CertificateManagerStubSettings extends StubSettings deleteCertificateMapOperationSettings; private final PagedCallSettings< - ListCertificateMapEntriesRequest, - ListCertificateMapEntriesResponse, + ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse, ListCertificateMapEntriesPagedResponse> listCertificateMapEntriesSettings; private final UnaryCallSettings @@ -186,8 +185,7 @@ public class CertificateManagerStubSettings extends StubSettings deleteCertificateMapEntryOperationSettings; private final PagedCallSettings< - ListDnsAuthorizationsRequest, - ListDnsAuthorizationsResponse, + ListDnsAuthorizationsRequest, ListDnsAuthorizationsResponse, ListDnsAuthorizationsPagedResponse> listDnsAuthorizationsSettings; private final UnaryCallSettings @@ -291,8 +289,7 @@ public Iterable extractResources(ListCertificateMapsResponse pay ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse, CertificateMapEntry> LIST_CERTIFICATE_MAP_ENTRIES_PAGE_STR_DESC = new PagedListDescriptor< - ListCertificateMapEntriesRequest, - ListCertificateMapEntriesResponse, + ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse, CertificateMapEntry>() { @Override public String emptyToken() { @@ -398,8 +395,7 @@ public ApiFuture getFuturePagedResponse( ListCertificateMapsRequest, ListCertificateMapsResponse, ListCertificateMapsPagedResponse> LIST_CERTIFICATE_MAPS_PAGE_STR_FACT = new PagedListResponseFactory< - ListCertificateMapsRequest, - ListCertificateMapsResponse, + ListCertificateMapsRequest, ListCertificateMapsResponse, ListCertificateMapsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -416,13 +412,11 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListCertificateMapEntriesRequest, - ListCertificateMapEntriesResponse, + ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse, ListCertificateMapEntriesPagedResponse> LIST_CERTIFICATE_MAP_ENTRIES_PAGE_STR_FACT = new PagedListResponseFactory< - ListCertificateMapEntriesRequest, - ListCertificateMapEntriesResponse, + ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse, ListCertificateMapEntriesPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -432,8 +426,7 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListCertificateMapEntriesRequest, - ListCertificateMapEntriesResponse, + ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse, CertificateMapEntry> pageContext = PageContext.create( @@ -444,13 +437,11 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListDnsAuthorizationsRequest, - ListDnsAuthorizationsResponse, + ListDnsAuthorizationsRequest, ListDnsAuthorizationsResponse, ListDnsAuthorizationsPagedResponse> LIST_DNS_AUTHORIZATIONS_PAGE_STR_FACT = new PagedListResponseFactory< - ListDnsAuthorizationsRequest, - ListDnsAuthorizationsResponse, + ListDnsAuthorizationsRequest, ListDnsAuthorizationsResponse, ListDnsAuthorizationsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -559,8 +550,7 @@ public UnaryCallSettings deleteCertifica /** Returns the object with the settings used for calls to listCertificateMapEntries. */ public PagedCallSettings< - ListCertificateMapEntriesRequest, - ListCertificateMapEntriesResponse, + ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse, ListCertificateMapEntriesPagedResponse> listCertificateMapEntriesSettings() { return listCertificateMapEntriesSettings; @@ -612,8 +602,7 @@ public UnaryCallSettings deleteCertifica /** Returns the object with the settings used for calls to listDnsAuthorizations. */ public PagedCallSettings< - ListDnsAuthorizationsRequest, - ListDnsAuthorizationsResponse, + ListDnsAuthorizationsRequest, ListDnsAuthorizationsResponse, ListDnsAuthorizationsPagedResponse> listDnsAuthorizationsSettings() { return listDnsAuthorizationsSettings; @@ -837,8 +826,7 @@ public static class Builder private final OperationCallSettings.Builder deleteCertificateOperationSettings; private final PagedCallSettings.Builder< - ListCertificateMapsRequest, - ListCertificateMapsResponse, + ListCertificateMapsRequest, ListCertificateMapsResponse, ListCertificateMapsPagedResponse> listCertificateMapsSettings; private final UnaryCallSettings.Builder @@ -859,8 +847,7 @@ public static class Builder DeleteCertificateMapRequest, Empty, OperationMetadata> deleteCertificateMapOperationSettings; private final PagedCallSettings.Builder< - ListCertificateMapEntriesRequest, - ListCertificateMapEntriesResponse, + ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse, ListCertificateMapEntriesPagedResponse> listCertificateMapEntriesSettings; private final UnaryCallSettings.Builder @@ -881,8 +868,7 @@ public static class Builder DeleteCertificateMapEntryRequest, Empty, OperationMetadata> deleteCertificateMapEntryOperationSettings; private final PagedCallSettings.Builder< - ListDnsAuthorizationsRequest, - ListDnsAuthorizationsResponse, + ListDnsAuthorizationsRequest, ListDnsAuthorizationsResponse, ListDnsAuthorizationsPagedResponse> listDnsAuthorizationsSettings; private final UnaryCallSettings.Builder @@ -1562,8 +1548,7 @@ public UnaryCallSettings.Builder getCertific /** Returns the builder for the settings used for calls to listCertificateMaps. */ public PagedCallSettings.Builder< - ListCertificateMapsRequest, - ListCertificateMapsResponse, + ListCertificateMapsRequest, ListCertificateMapsResponse, ListCertificateMapsPagedResponse> listCertificateMapsSettings() { return listCertificateMapsSettings; @@ -1621,8 +1606,7 @@ public UnaryCallSettings.Builder getCertific /** Returns the builder for the settings used for calls to listCertificateMapEntries. */ public PagedCallSettings.Builder< - ListCertificateMapEntriesRequest, - ListCertificateMapEntriesResponse, + ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse, ListCertificateMapEntriesPagedResponse> listCertificateMapEntriesSettings() { return listCertificateMapEntriesSettings; @@ -1680,8 +1664,7 @@ public UnaryCallSettings.Builder getCertific /** Returns the builder for the settings used for calls to listDnsAuthorizations. */ public PagedCallSettings.Builder< - ListDnsAuthorizationsRequest, - ListDnsAuthorizationsResponse, + ListDnsAuthorizationsRequest, ListDnsAuthorizationsResponse, ListDnsAuthorizationsPagedResponse> listDnsAuthorizationsSettings() { return listDnsAuthorizationsSettings; diff --git a/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/GrpcCertificateManagerCallableFactory.java b/owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/GrpcCertificateManagerCallableFactory.java similarity index 100% rename from google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/GrpcCertificateManagerCallableFactory.java rename to owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/GrpcCertificateManagerCallableFactory.java diff --git a/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/GrpcCertificateManagerStub.java b/owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/GrpcCertificateManagerStub.java similarity index 99% rename from google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/GrpcCertificateManagerStub.java rename to owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/GrpcCertificateManagerStub.java index d590546..1edf38b 100644 --- a/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/GrpcCertificateManagerStub.java +++ b/owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/GrpcCertificateManagerStub.java @@ -64,6 +64,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/HttpJsonCertificateManagerCallableFactory.java b/owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/HttpJsonCertificateManagerCallableFactory.java similarity index 100% rename from google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/HttpJsonCertificateManagerCallableFactory.java rename to owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/HttpJsonCertificateManagerCallableFactory.java diff --git a/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/HttpJsonCertificateManagerStub.java b/owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/HttpJsonCertificateManagerStub.java similarity index 99% rename from google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/HttpJsonCertificateManagerStub.java rename to owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/HttpJsonCertificateManagerStub.java index 0683ebe..36c1a9d 100644 --- a/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/HttpJsonCertificateManagerStub.java +++ b/owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/HttpJsonCertificateManagerStub.java @@ -33,6 +33,7 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; +import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/CertificateManagerClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/CertificateManagerClientHttpJsonTest.java similarity index 100% rename from google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/CertificateManagerClientHttpJsonTest.java rename to owl-bot-staging/v1/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/CertificateManagerClientHttpJsonTest.java diff --git a/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/CertificateManagerClientTest.java b/owl-bot-staging/v1/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/CertificateManagerClientTest.java similarity index 100% rename from google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/CertificateManagerClientTest.java rename to owl-bot-staging/v1/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/CertificateManagerClientTest.java diff --git a/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/MockCertificateManager.java b/owl-bot-staging/v1/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/MockCertificateManager.java similarity index 100% rename from google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/MockCertificateManager.java rename to owl-bot-staging/v1/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/MockCertificateManager.java diff --git a/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/MockCertificateManagerImpl.java b/owl-bot-staging/v1/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/MockCertificateManagerImpl.java similarity index 100% rename from google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/MockCertificateManagerImpl.java rename to owl-bot-staging/v1/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/MockCertificateManagerImpl.java diff --git a/owl-bot-staging/v1/grpc-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerGrpc.java new file mode 100644 index 0000000..4947ab7 --- /dev/null +++ b/owl-bot-staging/v1/grpc-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerGrpc.java @@ -0,0 +1,2035 @@ +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; + } + + /** + * 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); + } + + @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))) + .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); + } + } + + /** + *
+   * 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); + } + } + + /** + *
+   * 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); + } + } + + 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 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; + 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()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/Certificate.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/Certificate.java similarity index 63% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/Certificate.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/Certificate.java index d6bb4d2..f97208f 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/Certificate.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/Certificate.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; @@ -47,15 +29,16 @@ 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; } - private Certificate( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -75,155 +58,126 @@ private Certificate( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = - com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); - break; + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put( + labels__.getKey(), labels__.getValue()); + break; + } + case 42: { + com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.Builder subBuilder = null; + if (typeCase_ == 5) { + subBuilder = ((com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate) type_).toBuilder(); } - case 42: - { - com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.Builder - subBuilder = null; - if (typeCase_ == 5) { - subBuilder = - ((com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate) - type_) - .toBuilder(); - } - type_ = - input.readMessage( - com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate) - type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 5; - break; + type_ = + input.readMessage(com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate) type_); + type_ = subBuilder.buildPartial(); } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - sanDnsnames_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - sanDnsnames_.add(s); - break; + typeCase_ = 5; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + sanDnsnames_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 58: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (expireTime_ != null) { - subBuilder = expireTime_.toBuilder(); - } - expireTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(expireTime_); - expireTime_ = subBuilder.buildPartial(); - } - - break; + sanDnsnames_.add(s); + break; + } + case 58: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (expireTime_ != null) { + subBuilder = expireTime_.toBuilder(); } - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); - - description_ = s; - break; + expireTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(expireTime_); + expireTime_ = subBuilder.buildPartial(); } - case 74: - { - java.lang.String s = input.readStringRequireUtf8(); - pemCertificate_ = s; - break; + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + + description_ = s; + break; + } + case 74: { + java.lang.String s = input.readStringRequireUtf8(); + + pemCertificate_ = s; + break; + } + case 90: { + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.Builder subBuilder = null; + if (typeCase_ == 11) { + subBuilder = ((com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate) type_).toBuilder(); } - case 90: - { - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.Builder - subBuilder = null; - if (typeCase_ == 11) { - subBuilder = - ((com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate) type_) - .toBuilder(); - } - type_ = - input.readMessage( - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate - .parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate) type_); - type_ = subBuilder.buildPartial(); - } - typeCase_ = 11; - break; + type_ = + input.readMessage(com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom((com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate) type_); + type_ = subBuilder.buildPartial(); } - case 96: - { - int rawValue = input.readEnum(); + typeCase_ = 11; + break; + } + case 96: { + int rawValue = input.readEnum(); - scope_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + scope_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -231,7 +185,8 @@ private Certificate( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) != 0)) { sanDnsnames_ = sanDnsnames_.getUnmodifiableView(); @@ -240,46 +195,41 @@ private Certificate( makeExtensionsImmutable(); } } - - 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.
@@ -289,8 +239,6 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum {
      */
     DEFAULT(0),
     /**
-     *
-     *
      * 
      * Certificates with scope EDGE_CACHE are special-purposed certificates,
      * served from non-core Google data centers.
@@ -303,8 +251,6 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Certificates with default scope are served from core Google data centers.
      * If unsure, choose this option.
@@ -314,8 +260,6 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DEFAULT_VALUE = 0;
     /**
-     *
-     *
      * 
      * Certificates with scope EDGE_CACHE are special-purposed certificates,
      * served from non-core Google data centers.
@@ -325,6 +269,7 @@ public enum Scope implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int EDGE_CACHE_VALUE = 1;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -349,49 +294,48 @@ 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);
+            }
+          };
 
-    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() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.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;
@@ -408,66 +352,53 @@ 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
@@ -476,16 +407,15 @@ public interface SelfManagedCertificateOrBuilder
    *
    * 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_ = "";
@@ -493,15 +423,16 @@ 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;
     }
-
     private SelfManagedCertificate(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -520,27 +451,25 @@ private SelfManagedCertificate(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                pemCertificate_ = s;
-                break;
-              }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              pemCertificate_ = s;
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                pemPrivateKey_ = s;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              pemPrivateKey_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -548,41 +477,35 @@ private SelfManagedCertificate(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.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 @@ -591,30 +514,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 { @@ -625,14 +548,11 @@ public com.google.protobuf.ByteString getPemCertificateBytes() { 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 @@ -641,29 +561,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 { @@ -672,7 +592,6 @@ public com.google.protobuf.ByteString getPemPrivateKeyBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -684,7 +603,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -714,17 +634,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -745,101 +665,88 @@ 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 @@ -849,8 +756,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Certificate data for a SelfManaged Certificate.
      * SelfManaged Certificates are uploaded by the user. Updating such
@@ -859,42 +764,38 @@ 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()
+      // Construct using com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -906,22 +807,19 @@ 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);
         }
@@ -929,10 +827,8 @@ 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();
@@ -943,54 +839,46 @@ 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();
@@ -1014,14 +902,11 @@ public Builder mergeFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate parsedMessage =
-            null;
+        com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate parsedMessage = null;
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -1033,21 +918,19 @@ 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; @@ -1056,22 +939,21 @@ 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 { @@ -1079,64 +961,57 @@ public com.google.protobuf.ByteString getPemCertificateBytes() { } } /** - * - * *
        * 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; @@ -1144,20 +1019,18 @@ public Builder setPemCertificateBytes(com.google.protobuf.ByteString value) { 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; @@ -1166,21 +1039,20 @@ 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 { @@ -1188,66 +1060,58 @@ public com.google.protobuf.ByteString getPemPrivateKeyBytes() { } } /** - * - * *
        * 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) { @@ -1260,33 +1124,30 @@ 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 { - return new SelfManagedCertificate(input, extensionRegistry); - } - }; + 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 { + return new SelfManagedCertificate(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1298,282 +1159,198 @@ 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 resolution.
      * 
* * 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 resolution.
      * 
* * 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 resolution.
      * 
* * 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 resolution.
      * 
* * 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); /** - * - * *
      * 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(); /** - * - * *
      * Information about issues with provisioning a Managed Certificate.
      * 
* - * - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; - * - * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; * @return Whether the provisioningIssue field is set. */ boolean hasProvisioningIssue(); /** - * - * *
      * Information about issues with provisioning a Managed Certificate.
      * 
* - * - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; - * - * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; * @return The provisioningIssue. */ - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue - getProvisioningIssue(); - /** - * - * + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue getProvisioningIssue(); + /** *
      * Information about issues with provisioning a Managed Certificate.
      * 
* - * - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; - * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; */ - 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< - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate - .AuthorizationAttemptInfo> + java.util.List 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< - ? extends - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate - .AuthorizationAttemptInfoOrBuilder> + java.util.List 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
@@ -1582,16 +1359,15 @@ public interface ManagedCertificateOrBuilder
    *
    * 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;
@@ -1601,15 +1377,16 @@ 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;
     }
-
     private ManagedCertificate(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1629,76 +1406,59 @@ private ManagedCertificate(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                  domains_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000001;
-                }
-                domains_.add(s);
-                break;
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                domains_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000001;
               }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                  dnsAuthorizations_ = new com.google.protobuf.LazyStringArrayList();
-                  mutable_bitField0_ |= 0x00000002;
-                }
-                dnsAuthorizations_.add(s);
-                break;
+              domains_.add(s);
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                dnsAuthorizations_ = new com.google.protobuf.LazyStringArrayList();
+                mutable_bitField0_ |= 0x00000002;
               }
-            case 26:
-              {
-                com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate
-                        .ProvisioningIssue.Builder
-                    subBuilder = null;
-                if (provisioningIssue_ != null) {
-                  subBuilder = provisioningIssue_.toBuilder();
-                }
-                provisioningIssue_ =
-                    input.readMessage(
-                        com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate
-                            .ProvisioningIssue.parser(),
-                        extensionRegistry);
-                if (subBuilder != null) {
-                  subBuilder.mergeFrom(provisioningIssue_);
-                  provisioningIssue_ = subBuilder.buildPartial();
-                }
-
-                break;
+              dnsAuthorizations_.add(s);
+              break;
+            }
+            case 26: {
+              com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Builder subBuilder = null;
+              if (provisioningIssue_ != null) {
+                subBuilder = provisioningIssue_.toBuilder();
               }
-            case 32:
-              {
-                int rawValue = input.readEnum();
-
-                state_ = rawValue;
-                break;
+              provisioningIssue_ = input.readMessage(com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(provisioningIssue_);
+                provisioningIssue_ = subBuilder.buildPartial();
               }
-            case 42:
-              {
-                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                  authorizationAttemptInfo_ =
-                      new java.util.ArrayList<
-                          com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate
-                              .AuthorizationAttemptInfo>();
-                  mutable_bitField0_ |= 0x00000004;
-                }
-                authorizationAttemptInfo_.add(
-                    input.readMessage(
-                        com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate
-                            .AuthorizationAttemptInfo.parser(),
-                        extensionRegistry));
-                break;
+
+              break;
+            }
+            case 32: {
+              int rawValue = input.readEnum();
+
+              state_ = rawValue;
+              break;
+            }
+            case 42: {
+              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                authorizationAttemptInfo_ = new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000004;
               }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              authorizationAttemptInfo_.add(
+                  input.readMessage(com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.parser(), extensionRegistry));
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1706,7 +1466,8 @@ private ManagedCertificate(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           domains_ = domains_.getUnmodifiableView();
@@ -1715,38 +1476,35 @@ private ManagedCertificate(
           dnsAuthorizations_ = dnsAuthorizations_.getUnmodifiableView();
         }
         if (((mutable_bitField0_ & 0x00000004) != 0)) {
-          authorizationAttemptInfo_ =
-              java.util.Collections.unmodifiableList(authorizationAttemptInfo_);
+          authorizationAttemptInfo_ = java.util.Collections.unmodifiableList(authorizationAttemptInfo_);
         }
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    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
@@ -1757,8 +1515,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
        */
       PROVISIONING(1),
       /**
-       *
-       *
        * 
        * Multiple certificate provisioning attempts failed and Certificate
        * Manager gave up. To try again, delete and create a new managed
@@ -1770,8 +1526,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
        */
       FAILED(2),
       /**
-       *
-       *
        * 
        * The certificate management is working, and a certificate has been
        * provisioned.
@@ -1783,11 +1537,11 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
       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
@@ -1798,8 +1552,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
        */
       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
@@ -1811,8 +1563,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int FAILED_VALUE = 2;
       /**
-       *
-       *
        * 
        * The certificate management is working, and a certificate has been
        * provisioned.
@@ -1822,6 +1572,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
        */
       public static final int ACTIVE_VALUE = 3;
 
+
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -1846,53 +1597,50 @@ 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);
+              }
+            };
 
-      private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-          new com.google.protobuf.Internal.EnumLiteMap() {
-            public State findValueByNumber(int number) {
-              return State.forNumber(number);
-            }
-          };
-
-      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalStateException(
               "Can't get the descriptor of an unrecognized enum value.");
         }
         return getDescriptor().getValues().get(ordinal());
       }
-
-      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
         return getDescriptor();
       }
-
-      public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-        return com.google.cloud.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;
@@ -1909,44 +1657,30 @@ 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 {
 
       /**
-       *
-       *
        * 
        * Reason for provisioning failures.
        * 
* - * - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1; - * - * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1; * @return The enum numeric value on the wire for reason. */ int getReasonValue(); /** - * - * *
        * Reason for provisioning failures.
        * 
* - * - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1; - * - * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1; * @return The reason. */ - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason - getReason(); + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason getReason(); /** - * - * *
        * Human readable explanation about the issue. Provided to help address
        * the configuration issues.
@@ -1954,13 +1688,10 @@ public interface ProvisioningIssueOrBuilder
        * 
* * string details = 2; - * * @return The details. */ java.lang.String getDetails(); /** - * - * *
        * Human readable explanation about the issue. Provided to help address
        * the configuration issues.
@@ -1968,31 +1699,27 @@ public interface ProvisioningIssueOrBuilder
        * 
* * string details = 2; - * * @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_ = ""; @@ -2000,15 +1727,16 @@ 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; } - private ProvisioningIssue( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2027,27 +1755,25 @@ private ProvisioningIssue( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); + case 8: { + int rawValue = input.readEnum(); - reason_ = rawValue; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + reason_ = rawValue; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - details_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + details_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2055,41 +1781,36 @@ private ProvisioningIssue( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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.
@@ -2101,8 +1822,6 @@ public enum Reason implements com.google.protobuf.ProtocolMessageEnum {
          */
         AUTHORIZATION_ISSUE(1),
         /**
-         *
-         *
          * 
          * Exceeded Certificate Authority quotas or internal rate limits of the
          * system. Provisioning may take longer to complete.
@@ -2114,11 +1833,11 @@ public enum Reason implements com.google.protobuf.ProtocolMessageEnum {
         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.
@@ -2130,8 +1849,6 @@ public enum Reason implements com.google.protobuf.ProtocolMessageEnum {
          */
         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.
@@ -2141,6 +1858,7 @@ public enum Reason implements com.google.protobuf.ProtocolMessageEnum {
          */
         public static final int RATE_LIMITED_VALUE = 2;
 
+
         public final int getNumber() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalArgumentException(
@@ -2165,53 +1883,49 @@ 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);
+                }
+              };
 
-        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() {
+        public final com.google.protobuf.Descriptors.EnumValueDescriptor
+            getValueDescriptor() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalStateException(
                 "Can't get the descriptor of an unrecognized enum value.");
           }
           return getDescriptor().getValues().get(ordinal());
         }
-
-        public final com.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;
@@ -2231,56 +1945,33 @@ private Reason(int value) {
       public static final int REASON_FIELD_NUMBER = 1;
       private int reason_;
       /**
-       *
-       *
        * 
        * Reason for provisioning failures.
        * 
* - * - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1; - * - * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1; * @return The enum numeric value on the wire for reason. */ - @java.lang.Override - public int getReasonValue() { + @java.lang.Override public int getReasonValue() { return reason_; } /** - * - * *
        * Reason for provisioning failures.
        * 
* - * - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1; - * - * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1; * @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_; /** - * - * *
        * Human readable explanation about the issue. Provided to help address
        * the configuration issues.
@@ -2288,7 +1979,6 @@ public int getReasonValue() {
        * 
* * string details = 2; - * * @return The details. */ @java.lang.Override @@ -2297,15 +1987,14 @@ 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; } } /** - * - * *
        * Human readable explanation about the issue. Provided to help address
        * the configuration issues.
@@ -2313,15 +2002,16 @@ public java.lang.String getDetails() {
        * 
* * string details = 2; - * * @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 { @@ -2330,7 +2020,6 @@ public com.google.protobuf.ByteString getDetailsBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2342,11 +2031,9 @@ 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_)) { @@ -2361,11 +2048,9 @@ 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_); @@ -2378,22 +2063,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2414,116 +2093,88 @@ 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 @@ -2533,53 +2184,44 @@ 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() + // Construct using com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -2591,25 +2233,19 @@ 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); } @@ -2617,13 +2253,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @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(); @@ -2634,59 +2265,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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()); } @@ -2709,15 +2327,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue - parsedMessage = null; + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate - .ProvisioningIssue) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2729,111 +2343,73 @@ public Builder mergeFrom( private int reason_ = 0; /** - * - * *
          * Reason for provisioning failures.
          * 
* - * - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1; - * - * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1; * @return The enum numeric value on the wire for reason. */ - @java.lang.Override - public int getReasonValue() { + @java.lang.Override public int getReasonValue() { return reason_; } /** - * - * *
          * Reason for provisioning failures.
          * 
* - * - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1; - * - * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1; * @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; } /** - * - * *
          * Reason for provisioning failures.
          * 
* - * - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1; - * - * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1; * @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; } /** - * - * *
          * Reason for provisioning failures.
          * 
* - * - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1; - * - * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1; * @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; } /** - * - * *
          * Reason for provisioning failures.
          * 
* - * - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1; - * - * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1; * @return This builder for chaining. */ public Builder clearReason() { - + reason_ = 0; onChanged(); return this; @@ -2841,8 +2417,6 @@ public Builder clearReason() { private java.lang.Object details_ = ""; /** - * - * *
          * Human readable explanation about the issue. Provided to help address
          * the configuration issues.
@@ -2850,13 +2424,13 @@ public Builder clearReason() {
          * 
* * string details = 2; - * * @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; @@ -2865,8 +2439,6 @@ public java.lang.String getDetails() { } } /** - * - * *
          * Human readable explanation about the issue. Provided to help address
          * the configuration issues.
@@ -2874,14 +2446,15 @@ public java.lang.String getDetails() {
          * 
* * string details = 2; - * * @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 { @@ -2889,8 +2462,6 @@ public com.google.protobuf.ByteString getDetailsBytes() { } } /** - * - * *
          * Human readable explanation about the issue. Provided to help address
          * the configuration issues.
@@ -2898,22 +2469,20 @@ public com.google.protobuf.ByteString getDetailsBytes() {
          * 
* * string details = 2; - * * @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; } /** - * - * *
          * Human readable explanation about the issue. Provided to help address
          * the configuration issues.
@@ -2921,18 +2490,15 @@ public Builder setDetails(java.lang.String value) {
          * 
* * string details = 2; - * * @return This builder for chaining. */ public Builder clearDetails() { - + details_ = getDefaultInstance().getDetails(); onChanged(); return this; } /** - * - * *
          * Human readable explanation about the issue. Provided to help address
          * the configuration issues.
@@ -2940,21 +2506,20 @@ public Builder clearDetails() {
          * 
* * string details = 2; - * * @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) { @@ -2967,36 +2532,30 @@ 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 { - return new ProvisioningIssue(input, extensionRegistry); - } - }; + 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 { + return new ProvisioningIssue(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3008,107 +2567,75 @@ 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(); /** - * - * *
        * State of the domain for managed certificate issuance.
        * 
* - * - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2; - * - * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
        * State of the domain for managed certificate issuance.
        * 
* - * - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2; - * - * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2; * @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(); /** - * - * *
        * Human readable explanation for reaching the state. Provided to help
        * address the configuration issues.
@@ -3116,13 +2643,10 @@ public interface AuthorizationAttemptInfoOrBuilder
        * 
* * string details = 4; - * * @return The details. */ java.lang.String getDetails(); /** - * - * *
        * Human readable explanation for reaching the state. Provided to help
        * address the configuration issues.
@@ -3130,33 +2654,28 @@ public interface AuthorizationAttemptInfoOrBuilder
        * 
* * string details = 4; - * * @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; @@ -3166,15 +2685,16 @@ 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; } - private AuthorizationAttemptInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -3193,41 +2713,37 @@ private AuthorizationAttemptInfo( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - domain_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + domain_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - state_ = rawValue; - break; - } - case 24: - { - int rawValue = input.readEnum(); + state_ = rawValue; + break; + } + case 24: { + int rawValue = input.readEnum(); - failureReason_ = rawValue; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + failureReason_ = rawValue; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - details_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + details_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3235,41 +2751,36 @@ private AuthorizationAttemptInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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.
@@ -3279,8 +2790,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
          */
         AUTHORIZING(1),
         /**
-         *
-         *
          * 
          * A managed certificate can be provisioned, no issues for this domain.
          * 
@@ -3289,8 +2798,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ AUTHORIZED(6), /** - * - * *
          * Attempt to authorize the domain failed. This prevents the Managed
          * Certificate from being issued.
@@ -3303,11 +2810,11 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
         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.
@@ -3317,8 +2824,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
          */
         public static final int AUTHORIZING_VALUE = 1;
         /**
-         *
-         *
          * 
          * A managed certificate can be provisioned, no issues for this domain.
          * 
@@ -3327,8 +2832,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AUTHORIZED_VALUE = 6; /** - * - * *
          * Attempt to authorize the domain failed. This prevents the Managed
          * Certificate from being issued.
@@ -3339,6 +2842,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
          */
         public static final int FAILED_VALUE = 7;
 
+
         public final int getNumber() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalArgumentException(
@@ -3363,55 +2867,50 @@ 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);
+                }
+              };
 
-        private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap =
-            new com.google.protobuf.Internal.EnumLiteMap() {
-              public State findValueByNumber(int number) {
-                return State.forNumber(number);
-              }
-            };
-
-        public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
+        public final com.google.protobuf.Descriptors.EnumValueDescriptor
+            getValueDescriptor() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalStateException(
                 "Can't get the descriptor of an unrecognized enum value.");
           }
           return getDescriptor().getValues().get(ordinal());
         }
-
-        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
+        public final com.google.protobuf.Descriptors.EnumDescriptor
+            getDescriptorForType() {
           return getDescriptor();
         }
-
-        public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
-          return com.google.cloud.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;
@@ -3429,15 +2928,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.
@@ -3447,8 +2946,6 @@ public enum FailureReason implements com.google.protobuf.ProtocolMessageEnum {
          */
         CONFIG(1),
         /**
-         *
-         *
          * 
          * Certificate issuance forbidden by an explicit CAA record for the
          * domain or a failure to check CAA records for the domain.
@@ -3458,8 +2955,6 @@ public enum FailureReason implements com.google.protobuf.ProtocolMessageEnum {
          */
         CAA(2),
         /**
-         *
-         *
          * 
          * Reached a CA or internal rate-limit for the domain,
          * e.g. for certificates per top-level private domain.
@@ -3471,11 +2966,11 @@ public enum FailureReason implements com.google.protobuf.ProtocolMessageEnum {
         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.
@@ -3485,8 +2980,6 @@ public enum FailureReason implements com.google.protobuf.ProtocolMessageEnum {
          */
         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.
@@ -3496,8 +2989,6 @@ public enum FailureReason implements com.google.protobuf.ProtocolMessageEnum {
          */
         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.
@@ -3507,6 +2998,7 @@ public enum FailureReason implements com.google.protobuf.ProtocolMessageEnum {
          */
         public static final int RATE_LIMITED_VALUE = 3;
 
+
         public final int getNumber() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalArgumentException(
@@ -3531,16 +3023,11 @@ 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;
           }
         }
 
@@ -3548,32 +3035,29 @@ 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);
+                }
+              };
 
-        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() {
+        public final com.google.protobuf.Descriptors.EnumValueDescriptor
+            getValueDescriptor() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalStateException(
                 "Can't get the descriptor of an unrecognized enum value.");
           }
           return getDescriptor().getValues().get(ordinal());
         }
-
-        public final com.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();
@@ -3582,7 +3066,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;
@@ -3602,14 +3086,11 @@ 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 @@ -3618,29 +3099,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 { @@ -3651,104 +3132,60 @@ public com.google.protobuf.ByteString getDomainBytes() { public static final int STATE_FIELD_NUMBER = 2; private int state_; /** - * - * *
        * State of the domain for managed certificate issuance.
        * 
* - * - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2; - * - * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
        * State of the domain for managed certificate issuance.
        * 
* - * - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2; - * - * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2; * @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_; /** - * - * *
        * Human readable explanation for reaching the state. Provided to help
        * address the configuration issues.
@@ -3756,7 +3193,6 @@ public int getFailureReasonValue() {
        * 
* * string details = 4; - * * @return The details. */ @java.lang.Override @@ -3765,15 +3201,14 @@ 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; } } /** - * - * *
        * Human readable explanation for reaching the state. Provided to help
        * address the configuration issues.
@@ -3781,15 +3216,16 @@ public java.lang.String getDetails() {
        * 
* * string details = 4; - * * @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 { @@ -3798,7 +3234,6 @@ public com.google.protobuf.ByteString getDetailsBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3810,20 +3245,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(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_)) { @@ -3841,17 +3271,13 @@ 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_); @@ -3864,25 +3290,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3907,117 +3327,88 @@ 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 @@ -4027,54 +3418,45 @@ 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() + // Construct using com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -4090,26 +3472,19 @@ 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); } @@ -4117,14 +3492,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @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_; @@ -4137,60 +3506,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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(); @@ -4220,16 +3575,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate - .AuthorizationAttemptInfo - parsedMessage = null; + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate - .AuthorizationAttemptInfo) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -4241,20 +3591,18 @@ 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; @@ -4263,21 +3611,20 @@ 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 { @@ -4285,61 +3632,54 @@ public com.google.protobuf.ByteString getDomainBytes() { } } /** - * - * *
          * 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; @@ -4347,111 +3687,73 @@ public Builder setDomainBytes(com.google.protobuf.ByteString value) { private int state_ = 0; /** - * - * *
          * State of the domain for managed certificate issuance.
          * 
* - * - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2; - * - * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2; * @return The enum numeric value on the wire for state. */ - @java.lang.Override - public int getStateValue() { + @java.lang.Override public int getStateValue() { return state_; } /** - * - * *
          * State of the domain for managed certificate issuance.
          * 
* - * - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2; - * - * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2; * @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; } /** - * - * *
          * State of the domain for managed certificate issuance.
          * 
* - * - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2; - * - * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2; * @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; } /** - * - * *
          * State of the domain for managed certificate issuance.
          * 
* - * - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2; - * - * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2; * @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; } /** - * - * *
          * State of the domain for managed certificate issuance.
          * 
* - * - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2; - * - * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -4459,111 +3761,73 @@ 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; @@ -4571,8 +3835,6 @@ public Builder clearFailureReason() { private java.lang.Object details_ = ""; /** - * - * *
          * Human readable explanation for reaching the state. Provided to help
          * address the configuration issues.
@@ -4580,13 +3842,13 @@ public Builder clearFailureReason() {
          * 
* * string details = 4; - * * @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; @@ -4594,9 +3856,7 @@ public java.lang.String getDetails() { return (java.lang.String) ref; } } - /** - * - * + /** *
          * Human readable explanation for reaching the state. Provided to help
          * address the configuration issues.
@@ -4604,14 +3864,15 @@ public java.lang.String getDetails() {
          * 
* * string details = 4; - * * @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 { @@ -4619,8 +3880,6 @@ public com.google.protobuf.ByteString getDetailsBytes() { } } /** - * - * *
          * Human readable explanation for reaching the state. Provided to help
          * address the configuration issues.
@@ -4628,22 +3887,20 @@ public com.google.protobuf.ByteString getDetailsBytes() {
          * 
* * string details = 4; - * * @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; } /** - * - * *
          * Human readable explanation for reaching the state. Provided to help
          * address the configuration issues.
@@ -4651,18 +3908,15 @@ public Builder setDetails(java.lang.String value) {
          * 
* * string details = 4; - * * @return This builder for chaining. */ public Builder clearDetails() { - + details_ = getDefaultInstance().getDetails(); onChanged(); return this; } /** - * - * *
          * Human readable explanation for reaching the state. Provided to help
          * address the configuration issues.
@@ -4670,21 +3924,20 @@ public Builder clearDetails() {
          * 
* * string details = 4; - * * @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) { @@ -4697,36 +3950,30 @@ 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 { - return new AuthorizationAttemptInfo(input, extensionRegistry); - } - }; + 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 { + return new AuthorizationAttemptInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4738,55 +3985,46 @@ 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 resolution.
      * 
* * 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 resolution.
      * 
* * 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 resolution.
      * 
* * 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. */ @@ -4794,67 +4032,51 @@ 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 resolution.
      * 
* * 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. */ @@ -4862,80 +4084,54 @@ 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 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_; /** - * - * *
      * Information about issues with provisioning a Managed Certificate.
      * 
* - * - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; - * - * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; * @return Whether the provisioningIssue field is set. */ @java.lang.Override @@ -4943,143 +4139,95 @@ public boolean hasProvisioningIssue() { return provisioningIssue_ != null; } /** - * - * *
      * Information about issues with provisioning a Managed Certificate.
      * 
* - * - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; - * - * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; * @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_; } /** - * - * *
      * Information about issues with provisioning a Managed Certificate.
      * 
* - * - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; - * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; */ @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< - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate - .AuthorizationAttemptInfo> - authorizationAttemptInfo_; + private java.util.List 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< - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate - .AuthorizationAttemptInfo> - getAuthorizationAttemptInfoList() { + public java.util.List 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< - ? extends - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate - .AuthorizationAttemptInfoOrBuilder> + public java.util.List 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; @@ -5091,7 +4239,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -5101,10 +4250,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io 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++) { @@ -5136,18 +4282,16 @@ 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)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -5157,23 +4301,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)) { 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 (!getDomainsList() + .equals(other.getDomainsList())) return false; + if (!getDnsAuthorizationsList() + .equals(other.getDnsAuthorizationsList())) 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -5209,95 +4355,87 @@ 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 @@ -5307,8 +4445,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Configuration and state of a Managed Certificate.
      * Certificate Manager provisions and renews Managed Certificates
@@ -5317,44 +4453,39 @@ 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()
+      // Construct using com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
           getAuthorizationAttemptInfoFieldBuilder();
         }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -5380,22 +4511,19 @@ 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);
         }
@@ -5404,8 +4532,7 @@ 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();
@@ -5425,8 +4552,7 @@ 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_;
@@ -5441,54 +4567,46 @@ 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_;
@@ -5533,10 +4651,9 @@ public Builder mergeFrom(
               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_);
             }
@@ -5561,9 +4678,7 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -5572,58 +4687,47 @@ public Builder mergeFrom(
         }
         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 resolution.
        * 
* * 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 resolution.
        * 
* * 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 resolution.
        * 
* * 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. */ @@ -5631,95 +4735,85 @@ 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 resolution.
        * 
* * 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 resolution.
        * 
* * 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 resolution.
        * 
* * 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 resolution.
        * 
* * 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 resolution.
        * 
* * repeated string domains = 1 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return This builder for chaining. */ public Builder clearDomains() { @@ -5729,81 +4823,63 @@ 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 resolution.
        * 
* * 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. */ @@ -5811,100 +4887,80 @@ 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() { @@ -5914,24 +4970,20 @@ 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(); @@ -5940,176 +4992,115 @@ public Builder addDnsAuthorizationsBytes(com.google.protobuf.ByteString value) { 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_; /** - * - * *
        * Information about issues with provisioning a Managed Certificate.
        * 
* - * - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; - * - * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; * @return Whether the provisioningIssue field is set. */ public boolean hasProvisioningIssue() { return provisioningIssueBuilder_ != null || provisioningIssue_ != null; } /** - * - * *
        * Information about issues with provisioning a Managed Certificate.
        * 
* - * - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; - * - * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; * @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(); } } /** - * - * *
        * Information about issues with provisioning a Managed Certificate.
        * 
* - * - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; - * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; */ - 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(); @@ -6123,20 +5114,14 @@ public Builder setProvisioningIssue( return this; } /** - * - * *
        * Information about issues with provisioning a Managed Certificate.
        * 
* - * - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; - * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; */ 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(); @@ -6147,26 +5132,17 @@ public Builder setProvisioningIssue( return this; } /** - * - * *
        * Information about issues with provisioning a Managed Certificate.
        * 
* - * - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; - * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; */ - 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; } @@ -6178,15 +5154,11 @@ public Builder mergeProvisioningIssue( return this; } /** - * - * *
        * Information about issues with provisioning a Managed Certificate.
        * 
* - * - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; - * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; */ public Builder clearProvisioningIssue() { if (provisioningIssueBuilder_ == null) { @@ -6200,120 +5172,74 @@ public Builder clearProvisioningIssue() { return this; } /** - * - * *
        * Information about issues with provisioning a Managed Certificate.
        * 
* - * - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; - * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; */ - 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(); } /** - * - * *
        * Information about issues with provisioning a Managed Certificate.
        * 
* - * - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; - * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; */ - 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_; } } /** - * - * *
        * Information about issues with provisioning a Managed Certificate.
        * 
* - * - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; - * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; */ 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< - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate - .AuthorizationAttemptInfo> - authorizationAttemptInfo_ = java.util.Collections.emptyList(); + } + private java.util.List authorizationAttemptInfo_ = + java.util.Collections.emptyList(); private void ensureAuthorizationAttemptInfoIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { - authorizationAttemptInfo_ = - new java.util.ArrayList< - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate - .AuthorizationAttemptInfo>(authorizationAttemptInfo_); + authorizationAttemptInfo_ = new java.util.ArrayList(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< - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate - .AuthorizationAttemptInfo> - getAuthorizationAttemptInfoList() { + public java.util.List getAuthorizationAttemptInfoList() { if (authorizationAttemptInfoBuilder_ == null) { return java.util.Collections.unmodifiableList(authorizationAttemptInfo_); } else { @@ -6321,16 +5247,12 @@ private void ensureAuthorizationAttemptInfoIsMutable() { } } /** - * - * *
        * 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) { @@ -6340,20 +5262,14 @@ 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 { @@ -6361,22 +5277,15 @@ 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 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(); @@ -6390,22 +5299,15 @@ 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()); @@ -6416,21 +5318,14 @@ 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(); @@ -6444,22 +5339,15 @@ 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 - value) { + int index, com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo value) { if (authorizationAttemptInfoBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -6473,21 +5361,15 @@ 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()); @@ -6498,22 +5380,15 @@ 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()); @@ -6524,26 +5399,19 @@ 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< - ? extends - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate - .AuthorizationAttemptInfo> - values) { + java.lang.Iterable 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); @@ -6551,16 +5419,12 @@ 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) { @@ -6573,16 +5437,12 @@ 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) { @@ -6595,60 +5455,42 @@ 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< - ? extends - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate - .AuthorizationAttemptInfoOrBuilder> - getAuthorizationAttemptInfoOrBuilderList() { + public java.util.List + getAuthorizationAttemptInfoOrBuilderList() { if (authorizationAttemptInfoBuilder_ != null) { return authorizationAttemptInfoBuilder_.getMessageOrBuilderList(); } else { @@ -6656,82 +5498,48 @@ public Builder removeAuthorizationAttemptInfo(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]; */ - 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< - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate - .AuthorizationAttemptInfo.Builder> - getAuthorizationAttemptInfoBuilderList() { + public java.util.List + 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(), @@ -6740,7 +5548,6 @@ public Builder removeAuthorizationAttemptInfo(int index) { } return authorizationAttemptInfoBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6753,33 +5560,30 @@ 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 { - return new ManagedCertificate(input, extensionRegistry); - } - }; + 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 { + return new ManagedCertificate(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6791,24 +5595,21 @@ 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; } @@ -6824,38 +5625,32 @@ 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 @@ -6864,30 +5659,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 { @@ -6898,14 +5693,11 @@ public com.google.protobuf.ByteString getNameBytes() { 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 @@ -6914,29 +5706,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 { @@ -6947,15 +5739,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { 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 @@ -6963,15 +5751,11 @@ 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 @@ -6979,14 +5763,11 @@ 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() { @@ -6996,15 +5777,11 @@ 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 @@ -7012,15 +5789,11 @@ 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 @@ -7028,14 +5801,11 @@ 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() { @@ -7043,23 +5813,24 @@ 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 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< + 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, + ""); } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -7068,30 +5839,28 @@ 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.
    * 
@@ -7099,12 +5868,11 @@ 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.
    * 
@@ -7112,16 +5880,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.
    * 
@@ -7129,11 +5897,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * 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(); } @@ -7142,15 +5911,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { 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 @@ -7158,56 +5923,42 @@ 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 @@ -7215,27 +5966,21 @@ 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.
    * 
@@ -7243,20 +5988,16 @@ 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).
@@ -7265,15 +6006,13 @@ public com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate get
    * 
* * 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).
@@ -7282,15 +6021,12 @@ public com.google.protobuf.ProtocolStringList getSanDnsnamesList() {
    * 
* * 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).
@@ -7299,7 +6035,6 @@ 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. */ @@ -7307,8 +6042,6 @@ 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).
@@ -7317,25 +6050,22 @@ 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 @@ -7344,29 +6074,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 { @@ -7377,15 +6107,11 @@ public com.google.protobuf.ByteString getPemCertificateBytes() { 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 @@ -7393,15 +6119,11 @@ 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 @@ -7409,14 +6131,11 @@ 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() { @@ -7426,47 +6145,31 @@ 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; @@ -7478,7 +6181,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -7488,11 +6192,14 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io 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)); @@ -7507,8 +6214,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io 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_); @@ -7526,25 +6232,26 @@ 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; @@ -7555,7 +6262,8 @@ 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_); @@ -7564,12 +6272,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -7579,39 +6287,48 @@ public int getSerializedSize() { @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: @@ -7673,146 +6390,139 @@ 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() @@ -7820,15 +6530,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -7867,9 +6578,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 @@ -7888,8 +6599,7 @@ 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_; @@ -7940,39 +6650,38 @@ 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; @@ -7980,8 +6689,7 @@ 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(); @@ -7996,7 +6704,8 @@ 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_; @@ -8018,20 +6727,17 @@ 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.unknownFields); onChanged(); @@ -8052,8 +6758,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.certificatemanager.v1.Certificate) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.certificatemanager.v1.Certificate) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -8062,12 +6767,12 @@ public Builder mergeFrom( } 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() { @@ -8081,21 +6786,19 @@ 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; @@ -8104,22 +6807,21 @@ 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 { @@ -8127,64 +6829,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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; @@ -8192,20 +6887,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { 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; @@ -8214,21 +6907,20 @@ 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 { @@ -8236,61 +6928,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * 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) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -8298,58 +6983,39 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The creation timestamp of 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) { @@ -8365,17 +7031,14 @@ 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(); @@ -8386,21 +7049,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal 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; } @@ -8412,15 +7071,11 @@ 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) { @@ -8434,64 +7089,48 @@ 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_; @@ -8499,58 +7138,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. The 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) { @@ -8566,17 +7186,14 @@ 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(); @@ -8587,21 +7204,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal 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; } @@ -8613,15 +7226,11 @@ 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) { @@ -8635,84 +7244,69 @@ 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 labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -8724,30 +7318,28 @@ 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.
      * 
@@ -8755,12 +7347,11 @@ 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.
      * 
@@ -8768,17 +7359,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(); + 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.
      * 
@@ -8786,11 +7376,12 @@ 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(); } @@ -8798,80 +7389,75 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Set of labels associated with 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 @@ -8879,48 +7465,35 @@ 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(); @@ -8934,19 +7507,14 @@ 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 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(); @@ -8957,29 +7525,18 @@ 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; } @@ -8995,15 +7552,11 @@ public Builder mergeSelfManaged( 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) { @@ -9022,96 +7575,67 @@ 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 @@ -9119,14 +7643,11 @@ 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 @@ -9135,27 +7656,22 @@ 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(); @@ -9169,8 +7685,6 @@ public Builder setManaged( return this; } /** - * - * *
      * If set, contains configuration and state of a managed certificate.
      * 
@@ -9178,8 +7692,7 @@ public Builder setManaged( * .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(); @@ -9190,26 +7703,18 @@ 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; } @@ -9225,8 +7730,6 @@ public Builder mergeManaged( return this; } /** - * - * *
      * If set, contains configuration and state of a managed certificate.
      * 
@@ -9250,21 +7753,16 @@ 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.
      * 
@@ -9272,21 +7770,17 @@ public Builder clearManaged() { * .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.
      * 
@@ -9294,44 +7788,32 @@ public Builder clearManaged() { * .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).
@@ -9340,15 +7822,13 @@ 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).
@@ -9357,15 +7837,12 @@ public com.google.protobuf.ProtocolStringList getSanDnsnamesList() {
      * 
* * 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).
@@ -9374,7 +7851,6 @@ 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. */ @@ -9382,8 +7858,6 @@ 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).
@@ -9392,16 +7866,14 @@ 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).
@@ -9410,23 +7882,21 @@ public com.google.protobuf.ByteString getSanDnsnamesBytes(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).
@@ -9435,22 +7905,20 @@ public Builder setSanDnsnames(int index, java.lang.String value) {
      * 
* * 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).
@@ -9459,19 +7927,18 @@ public Builder addSanDnsnames(java.lang.String value) {
      * 
* * 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).
@@ -9480,7 +7947,6 @@ public Builder addAllSanDnsnames(java.lang.Iterable values) {
      * 
* * repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearSanDnsnames() { @@ -9490,8 +7956,6 @@ 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).
@@ -9500,15 +7964,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(); @@ -9517,20 +7981,18 @@ public Builder addSanDnsnamesBytes(com.google.protobuf.ByteString value) { 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; @@ -9539,21 +8001,20 @@ 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 { @@ -9561,61 +8022,54 @@ public com.google.protobuf.ByteString getPemCertificateBytes() { } } /** - * - * *
      * 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; @@ -9623,58 +8077,39 @@ public Builder setPemCertificateBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp expireTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - expireTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> expireTimeBuilder_; /** - * - * *
      * 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) { @@ -9690,17 +8125,14 @@ 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(); @@ -9711,21 +8143,17 @@ public Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForVal 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; } @@ -9737,15 +8165,11 @@ 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) { @@ -9759,64 +8183,48 @@ 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_; @@ -9824,75 +8232,51 @@ 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. */ @@ -9900,33 +8284,28 @@ 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); } @@ -9936,12 +8315,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(); } @@ -9950,16 +8329,16 @@ 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 { - return new Certificate(input, extensionRegistry); - } - }; + 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 { + return new Certificate(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9974,4 +8353,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.certificatemanager.v1.Certificate getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerProto.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerProto.java new file mode 100644 index 0000000..7f60951 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerProto.java @@ -0,0 +1,863 @@ +// 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.goog" + + "le.cloud.certificatemanager.v1.Certifica" + + "teMap.LabelsEntry\022X\n\014gclb_targets\030\004 \003(\0132" + + "=.google.cloud.certificatemanager.v1.Cer" + + "tificateMap.GclbTargetB\003\340A\003\032\277\002\n\nGclbTarg" + + "et\022L\n\022target_https_proxy\030\001 \001(\tB.\372A+\n)com" + + "pute.googleapis.com/TargetHttpsProxiesH\000" + + "\022H\n\020target_ssl_proxy\030\003 \001(\tB,\372A)\n\'compute" + + ".googleapis.com/TargetSslProxiesH\000\022Z\n\nip" + + "_configs\030\002 \003(\0132F.google.cloud.certificat" + + "emanager.v1.CertificateMap.GclbTarget.Ip" + + "Config\032-\n\010IpConfig\022\022\n\nip_address\030\001 \001(\t\022\r" + + "\n\005ports\030\003 \003(\rB\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\336(\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\032U\312A" + + "!certificatemanager.googleapis.com\322A.htt" + + "ps://www.googleapis.com/auth/cloud-platf" + + "ormB\203\004\n&com.google.cloud.certificatemana" + + "ger.v1B\027CertificateManagerProtoP\001ZTgoogl" + + "e.golang.org/genproto/googleapis/cloud/c" + + "ertificatemanager/v1;certificatemanager\252" + + "\002\"Google.Cloud.CertificateManager.V1\312\002\"G" + + "oogle\\Cloud\\CertificateManager\\V1\352\002%Goog" + + "le::Cloud::CertificateManager::V1\352A|\n)co" + + "mpute.googleapis.com/TargetHttpsProxies\022" + + "Oprojects/{project}/locations/{location}" + + "/targetHttpsProxies/{target_https_proxy}" + + "\352Av\n\'compute.googleapis.com/TargetSslPro" + + "xies\022Kprojects/{project}/locations/{loca" + + "tion}/targetSslProxies/{target_ssl_proxy" + + "}b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.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", "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.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.longrunning.OperationsProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); + com.google.protobuf.TimestampProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMap.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMap.java similarity index 65% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMap.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMap.java index ea01f7f..2e4b783 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMap.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMap.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; @@ -45,15 +27,16 @@ 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; } - private CertificateMap( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,84 +56,73 @@ private CertificateMap( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 26: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = - com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); - break; + + break; + } + case 26: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 34: - { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - gclbTargets_ = - new java.util.ArrayList< - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget>(); - mutable_bitField0_ |= 0x00000002; - } - gclbTargets_.add( - input.readMessage( - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.parser(), - extensionRegistry)); - break; + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put( + labels__.getKey(), labels__.getValue()); + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + gclbTargets_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + gclbTargets_.add( + input.readMessage(com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.parser(), extensionRegistry)); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; + description_ = s; + break; + } + case 50: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 50: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -158,7 +130,8 @@ private CertificateMap( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) != 0)) { gclbTargets_ = java.util.Collections.unmodifiableList(gclbTargets_); @@ -167,227 +140,182 @@ private CertificateMap( makeExtensionsImmutable(); } } - - 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 { /** - * - * *
      * A name must be in the format
      * `projects/*/locations/*/targetHttpsProxies/*`.
      * 
* * string target_https_proxy = 1 [(.google.api.resource_reference) = { ... } - * * @return Whether the targetHttpsProxy field is set. */ boolean hasTargetHttpsProxy(); /** - * - * *
      * A name must be in the format
      * `projects/*/locations/*/targetHttpsProxies/*`.
      * 
* * string target_https_proxy = 1 [(.google.api.resource_reference) = { ... } - * * @return The targetHttpsProxy. */ java.lang.String getTargetHttpsProxy(); /** - * - * *
      * A name must be in the format
      * `projects/*/locations/*/targetHttpsProxies/*`.
      * 
* * string target_https_proxy = 1 [(.google.api.resource_reference) = { ... } - * * @return The bytes for targetHttpsProxy. */ - com.google.protobuf.ByteString getTargetHttpsProxyBytes(); + com.google.protobuf.ByteString + getTargetHttpsProxyBytes(); /** - * - * *
      * A name must be in the format
      * `projects/*/locations/*/targetSslProxies/*`.
      * 
* * string target_ssl_proxy = 3 [(.google.api.resource_reference) = { ... } - * * @return Whether the targetSslProxy field is set. */ boolean hasTargetSslProxy(); /** - * - * *
      * A name must be in the format
      * `projects/*/locations/*/targetSslProxies/*`.
      * 
* * string target_ssl_proxy = 3 [(.google.api.resource_reference) = { ... } - * * @return The targetSslProxy. */ java.lang.String getTargetSslProxy(); /** - * - * *
      * A name must be in the format
      * `projects/*/locations/*/targetSslProxies/*`.
      * 
* * string target_ssl_proxy = 3 [(.google.api.resource_reference) = { ... } - * * @return The bytes for targetSslProxy. */ - com.google.protobuf.ByteString getTargetSslProxyBytes(); + com.google.protobuf.ByteString + getTargetSslProxyBytes(); /** - * - * *
      * IP configurations for this Target Proxy where the
      * Certificate Map is serving.
      * 
* - * - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; - * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; */ - java.util.List + java.util.List getIpConfigsList(); /** - * - * *
      * IP configurations for this Target Proxy where the
      * Certificate Map is serving.
      * 
* - * - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; - * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; */ - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig getIpConfigs( - int index); + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig getIpConfigs(int index); /** - * - * *
      * IP configurations for this Target Proxy where the
      * Certificate Map is serving.
      * 
* - * - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; - * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; */ int getIpConfigsCount(); /** - * - * *
      * IP configurations for this Target Proxy where the
      * Certificate Map is serving.
      * 
* - * - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; - * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; */ - java.util.List< - ? extends - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfigOrBuilder> + java.util.List getIpConfigsOrBuilderList(); /** - * - * *
      * IP configurations for this Target Proxy where the
      * Certificate Map is serving.
      * 
* - * - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; - * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; */ - 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; } - private GclbTarget( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -407,43 +335,34 @@ private GclbTarget( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); - targetProxyCase_ = 1; - targetProxy_ = s; - break; - } - case 18: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - ipConfigs_ = - new java.util.ArrayList< - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget - .IpConfig>(); - mutable_bitField0_ |= 0x00000001; - } - ipConfigs_.add( - input.readMessage( - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig - .parser(), - extensionRegistry)); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - targetProxyCase_ = 3; - targetProxy_ = s; - break; + case 10: { + java.lang.String s = input.readStringRequireUtf8(); + targetProxyCase_ = 1; + targetProxy_ = s; + break; + } + case 18: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + ipConfigs_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + ipConfigs_.add( + input.readMessage(com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.parser(), extensionRegistry)); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + targetProxyCase_ = 3; + targetProxy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -451,7 +370,8 @@ private GclbTarget( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { ipConfigs_ = java.util.Collections.unmodifiableList(ipConfigs_); @@ -460,109 +380,88 @@ private GclbTarget( makeExtensionsImmutable(); } } - - 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 { /** - * - * *
        * An external IP address.
        * 
* * string ip_address = 1; - * * @return The ipAddress. */ java.lang.String getIpAddress(); /** - * - * *
        * An external IP address.
        * 
* * string ip_address = 1; - * * @return The bytes for ipAddress. */ - com.google.protobuf.ByteString getIpAddressBytes(); + com.google.protobuf.ByteString + getIpAddressBytes(); /** - * - * *
        * Ports.
        * 
* * repeated uint32 ports = 3; - * * @return A list containing the ports. */ java.util.List getPortsList(); /** - * - * *
        * Ports.
        * 
* * repeated uint32 ports = 3; - * * @return The count of ports. */ int getPortsCount(); /** - * - * *
        * Ports.
        * 
* * repeated uint32 ports = 3; - * * @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(); @@ -570,15 +469,16 @@ 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; } - private IpConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -598,43 +498,40 @@ private IpConfig( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - ipAddress_ = s; - break; + ipAddress_ = s; + break; + } + case 24: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + ports_ = newIntList(); + mutable_bitField0_ |= 0x00000001; } - case 24: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - ports_ = newIntList(); - mutable_bitField0_ |= 0x00000001; - } - ports_.addInt(input.readUInt32()); - break; + ports_.addInt(input.readUInt32()); + break; + } + case 26: { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { + ports_ = newIntList(); + mutable_bitField0_ |= 0x00000001; } - case 26: - { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { - ports_ = newIntList(); - mutable_bitField0_ |= 0x00000001; - } - while (input.getBytesUntilLimit() > 0) { - ports_.addInt(input.readUInt32()); - } - input.popLimit(limit); - break; + while (input.getBytesUntilLimit() > 0) { + ports_.addInt(input.readUInt32()); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + input.popLimit(limit); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -642,8 +539,8 @@ private IpConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { ports_.makeImmutable(); // C @@ -652,34 +549,27 @@ private IpConfig( makeExtensionsImmutable(); } } - - 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_; /** - * - * *
        * An external IP address.
        * 
* * string ip_address = 1; - * * @return The ipAddress. */ @java.lang.Override @@ -688,29 +578,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; } } /** - * - * *
        * An external IP address.
        * 
* * string ip_address = 1; - * * @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 { @@ -721,54 +611,44 @@ public com.google.protobuf.ByteString getIpAddressBytes() { public static final int PORTS_FIELD_NUMBER = 3; private com.google.protobuf.Internal.IntList ports_; /** - * - * *
        * Ports.
        * 
* * repeated uint32 ports = 3; - * * @return A list containing the ports. */ @java.lang.Override - public java.util.List getPortsList() { + public java.util.List + getPortsList() { return ports_; } /** - * - * *
        * Ports.
        * 
* * repeated uint32 ports = 3; - * * @return The count of ports. */ public int getPortsCount() { return ports_.size(); } /** - * - * *
        * Ports.
        * 
* * repeated uint32 ports = 3; - * * @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; @@ -780,7 +660,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); @@ -807,13 +688,14 @@ 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; } @@ -825,17 +707,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -858,103 +740,88 @@ 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 @@ -964,50 +831,44 @@ 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() + // Construct using com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1019,22 +880,19 @@ 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); } @@ -1042,10 +900,8 @@ 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)) { @@ -1061,55 +917,46 @@ 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(); @@ -1139,14 +986,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig parsedMessage = - null; + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1155,25 +999,22 @@ public Builder mergeFrom( } return this; } - private int bitField0_; private java.lang.Object ipAddress_ = ""; /** - * - * *
          * An external IP address.
          * 
* * string ip_address = 1; - * * @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; @@ -1182,21 +1023,20 @@ public java.lang.String getIpAddress() { } } /** - * - * *
          * An external IP address.
          * 
* * string ip_address = 1; - * * @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 { @@ -1204,113 +1044,96 @@ public com.google.protobuf.ByteString getIpAddressBytes() { } } /** - * - * *
          * An external IP address.
          * 
* * string ip_address = 1; - * * @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; } /** - * - * *
          * An external IP address.
          * 
* * string ip_address = 1; - * * @return This builder for chaining. */ public Builder clearIpAddress() { - + ipAddress_ = getDefaultInstance().getIpAddress(); onChanged(); return this; } /** - * - * *
          * An external IP address.
          * 
* * string ip_address = 1; - * * @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; - } + } } /** - * - * *
          * Ports.
          * 
* * repeated uint32 ports = 3; - * * @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_; } /** - * - * *
          * Ports.
          * 
* * repeated uint32 ports = 3; - * * @return The count of ports. */ public int getPortsCount() { return ports_.size(); } /** - * - * *
          * Ports.
          * 
* * repeated uint32 ports = 3; - * * @param index The index of the element to return. * @return The ports at the given index. */ @@ -1318,33 +1141,28 @@ public int getPorts(int index) { return ports_.getInt(index); } /** - * - * *
          * Ports.
          * 
* * repeated uint32 ports = 3; - * * @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; } /** - * - * *
          * Ports.
          * 
* * repeated uint32 ports = 3; - * * @param value The ports to add. * @return This builder for chaining. */ @@ -1354,33 +1172,29 @@ public Builder addPorts(int value) { onChanged(); return this; } - /** - * - * + /** *
          * Ports.
          * 
* * repeated uint32 ports = 3; - * * @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; } /** - * - * *
          * Ports.
          * 
* * repeated uint32 ports = 3; - * * @return This builder for chaining. */ public Builder clearPorts() { @@ -1389,7 +1203,6 @@ public Builder clearPorts() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1402,33 +1215,30 @@ 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 { - return new IpConfig(input, extensionRegistry); - } - }; + 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 { + return new IpConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1440,24 +1250,21 @@ 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; } @@ -1473,52 +1280,43 @@ 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; /** - * - * *
      * A name must be in the format
      * `projects/*/locations/*/targetHttpsProxies/*`.
      * 
* * string target_https_proxy = 1 [(.google.api.resource_reference) = { ... } - * * @return Whether the targetHttpsProxy field is set. */ public boolean hasTargetHttpsProxy() { return targetProxyCase_ == 1; } /** - * - * *
      * A name must be in the format
      * `projects/*/locations/*/targetHttpsProxies/*`.
      * 
* * string target_https_proxy = 1 [(.google.api.resource_reference) = { ... } - * * @return The targetHttpsProxy. */ public java.lang.String getTargetHttpsProxy() { @@ -1529,7 +1327,8 @@ 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; @@ -1538,25 +1337,24 @@ public java.lang.String getTargetHttpsProxy() { } } /** - * - * *
      * A name must be in the format
      * `projects/*/locations/*/targetHttpsProxies/*`.
      * 
* * string target_https_proxy = 1 [(.google.api.resource_reference) = { ... } - * * @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; } @@ -1568,30 +1366,24 @@ public com.google.protobuf.ByteString getTargetHttpsProxyBytes() { public static final int TARGET_SSL_PROXY_FIELD_NUMBER = 3; /** - * - * *
      * A name must be in the format
      * `projects/*/locations/*/targetSslProxies/*`.
      * 
* * string target_ssl_proxy = 3 [(.google.api.resource_reference) = { ... } - * * @return Whether the targetSslProxy field is set. */ public boolean hasTargetSslProxy() { return targetProxyCase_ == 3; } /** - * - * *
      * A name must be in the format
      * `projects/*/locations/*/targetSslProxies/*`.
      * 
* * string target_ssl_proxy = 3 [(.google.api.resource_reference) = { ... } - * * @return The targetSslProxy. */ public java.lang.String getTargetSslProxy() { @@ -1602,7 +1394,8 @@ 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; @@ -1611,25 +1404,24 @@ public java.lang.String getTargetSslProxy() { } } /** - * - * *
      * A name must be in the format
      * `projects/*/locations/*/targetSslProxies/*`.
      * 
* * string target_ssl_proxy = 3 [(.google.api.resource_reference) = { ... } - * * @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; } @@ -1640,98 +1432,71 @@ public com.google.protobuf.ByteString getTargetSslProxyBytes() { } public static final int IP_CONFIGS_FIELD_NUMBER = 2; - private java.util.List< - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig> - ipConfigs_; + private java.util.List ipConfigs_; /** - * - * *
      * IP configurations for this Target Proxy where the
      * Certificate Map is serving.
      * 
* - * - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; - * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; */ @java.lang.Override - public java.util.List - getIpConfigsList() { + public java.util.List getIpConfigsList() { return ipConfigs_; } /** - * - * *
      * IP configurations for this Target Proxy where the
      * Certificate Map is serving.
      * 
* - * - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; - * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; */ @java.lang.Override - public java.util.List< - ? extends - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfigOrBuilder> + public java.util.List getIpConfigsOrBuilderList() { return ipConfigs_; } /** - * - * *
      * IP configurations for this Target Proxy where the
      * Certificate Map is serving.
      * 
* - * - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; - * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; */ @java.lang.Override public int getIpConfigsCount() { return ipConfigs_.size(); } /** - * - * *
      * IP configurations for this Target Proxy where the
      * Certificate Map is serving.
      * 
* - * - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; - * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; */ @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); } /** - * - * *
      * IP configurations for this Target Proxy where the
      * Certificate Map is serving.
      * 
* - * - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; - * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; */ @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; @@ -1743,7 +1508,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -1766,7 +1532,8 @@ 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_); @@ -1779,22 +1546,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.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: @@ -1832,95 +1601,87 @@ 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 { + 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 @@ -1930,51 +1691,45 @@ 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() + // Construct using com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getIpConfigsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1990,16 +1745,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_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 @@ -2013,8 +1766,7 @@ 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_; @@ -2040,53 +1792,46 @@ 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()) { @@ -2105,34 +1850,30 @@ public Builder mergeFrom( 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.unknownFields); onChanged(); @@ -2153,9 +1894,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2164,12 +1903,12 @@ public Builder mergeFrom( } 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() { @@ -2182,15 +1921,12 @@ public Builder clearTargetProxy() { private int bitField0_; /** - * - * *
        * A name must be in the format
        * `projects/*/locations/*/targetHttpsProxies/*`.
        * 
* * string target_https_proxy = 1 [(.google.api.resource_reference) = { ... } - * * @return Whether the targetHttpsProxy field is set. */ @java.lang.Override @@ -2198,15 +1934,12 @@ public boolean hasTargetHttpsProxy() { return targetProxyCase_ == 1; } /** - * - * *
        * A name must be in the format
        * `projects/*/locations/*/targetHttpsProxies/*`.
        * 
* * string target_https_proxy = 1 [(.google.api.resource_reference) = { ... } - * * @return The targetHttpsProxy. */ @java.lang.Override @@ -2216,7 +1949,8 @@ 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; @@ -2227,26 +1961,25 @@ public java.lang.String getTargetHttpsProxy() { } } /** - * - * *
        * A name must be in the format
        * `projects/*/locations/*/targetHttpsProxies/*`.
        * 
* * string target_https_proxy = 1 [(.google.api.resource_reference) = { ... } - * * @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; } @@ -2256,37 +1989,32 @@ public com.google.protobuf.ByteString getTargetHttpsProxyBytes() { } } /** - * - * *
        * A name must be in the format
        * `projects/*/locations/*/targetHttpsProxies/*`.
        * 
* * string target_https_proxy = 1 [(.google.api.resource_reference) = { ... } - * * @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; } /** - * - * *
        * A name must be in the format
        * `projects/*/locations/*/targetHttpsProxies/*`.
        * 
* * string target_https_proxy = 1 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearTargetHttpsProxy() { @@ -2298,23 +2026,21 @@ public Builder clearTargetHttpsProxy() { return this; } /** - * - * *
        * A name must be in the format
        * `projects/*/locations/*/targetHttpsProxies/*`.
        * 
* * string target_https_proxy = 1 [(.google.api.resource_reference) = { ... } - * * @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(); @@ -2322,15 +2048,12 @@ public Builder setTargetHttpsProxyBytes(com.google.protobuf.ByteString value) { } /** - * - * *
        * A name must be in the format
        * `projects/*/locations/*/targetSslProxies/*`.
        * 
* * string target_ssl_proxy = 3 [(.google.api.resource_reference) = { ... } - * * @return Whether the targetSslProxy field is set. */ @java.lang.Override @@ -2338,15 +2061,12 @@ public boolean hasTargetSslProxy() { return targetProxyCase_ == 3; } /** - * - * *
        * A name must be in the format
        * `projects/*/locations/*/targetSslProxies/*`.
        * 
* * string target_ssl_proxy = 3 [(.google.api.resource_reference) = { ... } - * * @return The targetSslProxy. */ @java.lang.Override @@ -2356,7 +2076,8 @@ 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; @@ -2367,26 +2088,25 @@ public java.lang.String getTargetSslProxy() { } } /** - * - * *
        * A name must be in the format
        * `projects/*/locations/*/targetSslProxies/*`.
        * 
* * string target_ssl_proxy = 3 [(.google.api.resource_reference) = { ... } - * * @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; } @@ -2396,37 +2116,32 @@ public com.google.protobuf.ByteString getTargetSslProxyBytes() { } } /** - * - * *
        * A name must be in the format
        * `projects/*/locations/*/targetSslProxies/*`.
        * 
* * string target_ssl_proxy = 3 [(.google.api.resource_reference) = { ... } - * * @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; } /** - * - * *
        * A name must be in the format
        * `projects/*/locations/*/targetSslProxies/*`.
        * 
* * string target_ssl_proxy = 3 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearTargetSslProxy() { @@ -2438,64 +2153,48 @@ public Builder clearTargetSslProxy() { return this; } /** - * - * *
        * A name must be in the format
        * `projects/*/locations/*/targetSslProxies/*`.
        * 
* * string target_ssl_proxy = 3 [(.google.api.resource_reference) = { ... } - * * @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< - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig> - ipConfigs_ = java.util.Collections.emptyList(); - + private java.util.List ipConfigs_ = + java.util.Collections.emptyList(); private void ensureIpConfigsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - ipConfigs_ = - new java.util.ArrayList< - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig>( - ipConfigs_); + ipConfigs_ = new java.util.ArrayList(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_; /** - * - * *
        * IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; - * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; */ - public java.util.List< - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig> - getIpConfigsList() { + public java.util.List getIpConfigsList() { if (ipConfigsBuilder_ == null) { return java.util.Collections.unmodifiableList(ipConfigs_); } else { @@ -2503,16 +2202,12 @@ private void ensureIpConfigsIsMutable() { } } /** - * - * *
        * IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; - * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; */ public int getIpConfigsCount() { if (ipConfigsBuilder_ == null) { @@ -2522,19 +2217,14 @@ public int getIpConfigsCount() { } } /** - * - * *
        * IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; - * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; */ - 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 { @@ -2542,20 +2232,15 @@ public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig } } /** - * - * *
        * IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; - * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; */ 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(); @@ -2569,21 +2254,15 @@ public Builder setIpConfigs( return this; } /** - * - * *
        * IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; - * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; */ 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()); @@ -2594,19 +2273,14 @@ public Builder setIpConfigs( return this; } /** - * - * *
        * IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; - * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; */ - 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(); @@ -2620,20 +2294,15 @@ public Builder addIpConfigs( return this; } /** - * - * *
        * IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; - * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; */ 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(); @@ -2647,20 +2316,15 @@ public Builder addIpConfigs( return this; } /** - * - * *
        * IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; - * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; */ 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()); @@ -2671,21 +2335,15 @@ public Builder addIpConfigs( return this; } /** - * - * *
        * IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; - * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; */ 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()); @@ -2696,25 +2354,19 @@ public Builder addIpConfigs( return this; } /** - * - * *
        * IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; - * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; */ public Builder addAllIpConfigs( - java.lang.Iterable< - ? extends - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig> - values) { + java.lang.Iterable 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); @@ -2722,16 +2374,12 @@ public Builder addAllIpConfigs( return this; } /** - * - * *
        * IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; - * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; */ public Builder clearIpConfigs() { if (ipConfigsBuilder_ == null) { @@ -2744,16 +2392,12 @@ public Builder clearIpConfigs() { return this; } /** - * - * *
        * IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; - * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; */ public Builder removeIpConfigs(int index) { if (ipConfigsBuilder_ == null) { @@ -2766,58 +2410,42 @@ public Builder removeIpConfigs(int index) { return this; } /** - * - * *
        * IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; - * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; */ - 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); } /** - * - * *
        * IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; - * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; */ - 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); } } /** - * - * *
        * IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; - * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; */ - public java.util.List< - ? extends - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget - .IpConfigOrBuilder> - getIpConfigsOrBuilderList() { + public java.util.List + getIpConfigsOrBuilderList() { if (ipConfigsBuilder_ != null) { return ipConfigsBuilder_.getMessageOrBuilderList(); } else { @@ -2825,80 +2453,56 @@ public Builder removeIpConfigs(int index) { } } /** - * - * *
        * IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; - * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; */ - 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()); } /** - * - * *
        * IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; - * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; */ - 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()); } /** - * - * *
        * IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; - * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; */ - public java.util.List< - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.Builder> - getIpConfigsBuilderList() { + public java.util.List + 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) { @@ -2911,32 +2515,30 @@ 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 { - return new GclbTarget(input, extensionRegistry); - } - }; + 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 { + return new GclbTarget(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2948,17 +2550,15 @@ 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
@@ -2966,7 +2566,6 @@ public com.google.protobuf.Parser getParserForType() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -2975,15 +2574,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * A user-defined name of the Certificate Map. Certificate Map names must be
    * unique globally and match pattern
@@ -2991,15 +2589,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -3010,14 +2609,11 @@ public com.google.protobuf.ByteString getNameBytes() { 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 @@ -3026,29 +2622,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 { @@ -3059,15 +2655,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { 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 @@ -3075,15 +2667,11 @@ 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 @@ -3091,14 +2679,11 @@ 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() { @@ -3108,15 +2693,11 @@ 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 @@ -3124,15 +2705,11 @@ 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 @@ -3140,14 +2717,11 @@ 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() { @@ -3155,23 +2729,24 @@ 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 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< + 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, + ""); } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -3180,30 +2755,28 @@ 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.
    * 
@@ -3211,12 +2784,11 @@ 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.
    * 
@@ -3224,16 +2796,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.
    * 
@@ -3241,11 +2813,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * 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(); } @@ -3253,91 +2826,66 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } 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.
    * 
* - * - * 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.
    * 
* - * - * 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< - ? extends com.google.cloud.certificatemanager.v1.CertificateMap.GclbTargetOrBuilder> + public java.util.List getGclbTargetsOrBuilderList() { return gclbTargets_; } /** - * - * *
    * Output only. A list of GCLB targets which use this Certificate Map.
    * 
* - * - * 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.
    * 
* - * - * 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.
    * 
* - * - * 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; @@ -3349,15 +2897,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(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)); } @@ -3380,26 +2933,29 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3409,26 +2965,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3466,147 +3027,139 @@ 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() @@ -3614,17 +3167,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getGclbTargetsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3655,9 +3208,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 @@ -3676,8 +3229,7 @@ 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_; @@ -3710,39 +3262,38 @@ 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; @@ -3750,8 +3301,7 @@ 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(); @@ -3766,7 +3316,8 @@ 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()) { @@ -3785,10 +3336,9 @@ 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_); } @@ -3813,8 +3363,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.certificatemanager.v1.CertificateMap) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.certificatemanager.v1.CertificateMap) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3823,13 +3372,10 @@ public Builder mergeFrom( } 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
@@ -3837,13 +3383,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; @@ -3852,8 +3398,6 @@ public java.lang.String getName() { } } /** - * - * *
      * A user-defined name of the Certificate Map. Certificate Map names must be
      * unique globally and match pattern
@@ -3861,14 +3405,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -3876,8 +3421,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * A user-defined name of the Certificate Map. Certificate Map names must be
      * unique globally and match pattern
@@ -3885,22 +3428,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * A user-defined name of the Certificate Map. Certificate Map names must be
      * unique globally and match pattern
@@ -3908,18 +3449,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * A user-defined name of the Certificate Map. Certificate Map names must be
      * unique globally and match pattern
@@ -3927,16 +3465,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; @@ -3944,20 +3482,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { 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; @@ -3966,21 +3502,20 @@ 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 { @@ -3988,61 +3523,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * 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; @@ -4050,58 +3578,39 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The creation timestamp of 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) { @@ -4117,17 +3626,14 @@ 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(); @@ -4138,21 +3644,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal 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; } @@ -4164,15 +3666,11 @@ 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) { @@ -4186,64 +3684,48 @@ 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_; @@ -4251,58 +3733,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. The 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) { @@ -4318,17 +3781,14 @@ 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(); @@ -4339,21 +3799,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal 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; } @@ -4365,15 +3821,11 @@ 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) { @@ -4387,84 +3839,69 @@ 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 labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -4476,30 +3913,28 @@ 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.
      * 
@@ -4507,12 +3942,11 @@ 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.
      * 
@@ -4520,17 +3954,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(); + 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.
      * 
@@ -4538,11 +3971,12 @@ 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(); } @@ -4550,95 +3984,87 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Set of labels associated with 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< - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget>(gclbTargets_); + gclbTargets_ = new java.util.ArrayList(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.
      * 
* - * - * 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 { @@ -4646,15 +4072,11 @@ private void ensureGclbTargetsIsMutable() { } } /** - * - * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * 
* - * - * 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) { @@ -4664,18 +4086,13 @@ public int getGclbTargetsCount() { } } /** - * - * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * 
* - * - * 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 { @@ -4683,15 +4100,11 @@ public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget getGclbT } } /** - * - * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * 
* - * - * 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) { @@ -4708,19 +4121,14 @@ public Builder setGclbTargets( return this; } /** - * - * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * 
* - * - * 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()); @@ -4731,18 +4139,13 @@ public Builder setGclbTargets( return this; } /** - * - * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * 
* - * - * 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(); @@ -4756,15 +4159,11 @@ public Builder addGclbTargets( return this; } /** - * - * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * 
* - * - * 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) { @@ -4781,15 +4180,11 @@ public Builder addGclbTargets( return this; } /** - * - * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * 
* - * - * 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) { @@ -4803,19 +4198,14 @@ public Builder addGclbTargets( return this; } /** - * - * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * 
* - * - * 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()); @@ -4826,23 +4216,18 @@ public Builder addGclbTargets( return this; } /** - * - * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * 
* - * - * 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< - ? extends com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget> - values) { + java.lang.Iterable 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); @@ -4850,15 +4235,11 @@ public Builder addAllGclbTargets( return this; } /** - * - * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * 
* - * - * 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) { @@ -4871,15 +4252,11 @@ public Builder clearGclbTargets() { return this; } /** - * - * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * 
* - * - * 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) { @@ -4892,53 +4269,39 @@ public Builder removeGclbTargets(int index) { return this; } /** - * - * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * 
* - * - * 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.
      * 
* - * - * 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.
      * 
* - * - * 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< - ? extends com.google.cloud.certificatemanager.v1.CertificateMap.GclbTargetOrBuilder> - getGclbTargetsOrBuilderList() { + public java.util.List + getGclbTargetsOrBuilderList() { if (gclbTargetsBuilder_ != null) { return gclbTargetsBuilder_.getMessageOrBuilderList(); } else { @@ -4946,77 +4309,56 @@ public Builder removeGclbTargets(int index) { } } /** - * - * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * 
* - * - * 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.
      * 
* - * - * 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.
      * 
* - * - * 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); } @@ -5026,12 +4368,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(); } @@ -5040,16 +4382,16 @@ 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 { - return new CertificateMap(input, extensionRegistry); - } - }; + 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 { + return new CertificateMap(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5064,4 +4406,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.certificatemanager.v1.CertificateMap getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntry.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntry.java similarity index 69% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntry.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntry.java index c3e00de..9ad904b 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntry.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntry.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; @@ -46,15 +28,16 @@ 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; } - private CertificateMapEntry( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,101 +57,91 @@ private CertificateMapEntry( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); - } - - break; + + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); } - case 34: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = - com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); - break; + updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - matchCase_ = 5; - match_ = s; - break; + + break; + } + case 34: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - certificates_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - certificates_.add(s); - break; + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put( + labels__.getKey(), labels__.getValue()); + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + matchCase_ = 5; + match_ = s; + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + certificates_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - case 64: - { - int rawValue = input.readEnum(); + certificates_.add(s); + break; + } + case 64: { + int rawValue = input.readEnum(); - state_ = rawValue; - break; - } - case 74: - { - java.lang.String s = input.readStringRequireUtf8(); + state_ = rawValue; + break; + } + case 74: { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 80: - { - int rawValue = input.readEnum(); - matchCase_ = 10; - match_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + description_ = s; + break; + } + case 80: { + int rawValue = input.readEnum(); + matchCase_ = 10; + match_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -176,7 +149,8 @@ private CertificateMapEntry( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) != 0)) { certificates_ = certificates_.getUnmodifiableView(); @@ -185,36 +159,32 @@ private CertificateMapEntry( makeExtensionsImmutable(); } } - - 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.
@@ -222,10 +192,9 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
    *
    * 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.
      * 
@@ -234,8 +203,6 @@ public enum Matcher implements com.google.protobuf.ProtocolMessageEnum { */ 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.
@@ -248,8 +215,6 @@ public enum Matcher implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * A matcher has't been recognized.
      * 
@@ -258,8 +223,6 @@ public enum Matcher implements com.google.protobuf.ProtocolMessageEnum { */ 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.
@@ -269,6 +232,7 @@ public enum Matcher implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PRIMARY_VALUE = 1;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -293,49 +257,48 @@ 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);
+            }
+          };
 
-    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() {
+    public final com.google.protobuf.Descriptors.EnumValueDescriptor
+        getValueDescriptor() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalStateException(
             "Can't get the descriptor of an unrecognized enum value.");
       }
       return getDescriptor().getValues().get(ordinal());
     }
-
-    public final com.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;
@@ -354,16 +317,13 @@ 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;
     }
@@ -379,31 +339,26 @@ 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
@@ -411,7 +366,6 @@ public MatchCase getMatchCase() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -420,15 +374,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * A user-defined name of the Certificate Map Entry. Certificate Map Entry
    * names must be unique globally and match pattern
@@ -436,15 +389,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -455,14 +409,11 @@ public com.google.protobuf.ByteString getNameBytes() { 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 @@ -471,29 +422,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 { @@ -504,15 +455,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { 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 @@ -520,15 +467,11 @@ 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 @@ -536,14 +479,11 @@ 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() { @@ -553,15 +493,11 @@ 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 @@ -569,15 +505,11 @@ 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 @@ -585,14 +517,11 @@ 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() { @@ -600,23 +529,24 @@ 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 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() { + 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() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -625,30 +555,28 @@ 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.
    * 
@@ -656,12 +584,11 @@ 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.
    * 
@@ -669,16 +596,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.
    * 
@@ -686,11 +613,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * 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(); } @@ -699,8 +627,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { 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
@@ -708,15 +634,12 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
    * 
* * 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
@@ -724,7 +647,6 @@ public boolean hasHostname() {
    * 
* * string hostname = 5; - * * @return The hostname. */ public java.lang.String getHostname() { @@ -735,7 +657,8 @@ 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; @@ -744,8 +667,6 @@ 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
@@ -753,17 +674,18 @@ 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; } @@ -775,28 +697,22 @@ public com.google.protobuf.ByteString getHostnameBytes() { 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() { @@ -806,25 +722,19 @@ 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; } @@ -832,8 +742,6 @@ 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
@@ -841,15 +749,13 @@ 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
@@ -857,15 +763,12 @@ public com.google.protobuf.ProtocolStringList getCertificatesList() {
    * 
* * 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
@@ -873,7 +776,6 @@ 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. */ @@ -881,8 +783,6 @@ 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
@@ -890,58 +790,42 @@ 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; @@ -953,7 +837,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -963,17 +848,19 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io 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_)) { @@ -995,20 +882,22 @@ 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_); @@ -1021,17 +910,16 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1041,34 +929,41 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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: @@ -1124,147 +1019,139 @@ 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() @@ -1272,15 +1159,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1311,9 +1199,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 @@ -1332,8 +1220,7 @@ 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_; @@ -1370,39 +1257,38 @@ 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; @@ -1410,8 +1296,7 @@ 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(); @@ -1426,7 +1311,8 @@ 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_; @@ -1441,22 +1327,19 @@ 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.unknownFields); onChanged(); @@ -1477,8 +1360,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.certificatemanager.v1.CertificateMapEntry) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.certificatemanager.v1.CertificateMapEntry) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1487,12 +1369,12 @@ public Builder mergeFrom( } 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() { @@ -1506,8 +1388,6 @@ 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
@@ -1515,13 +1395,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; @@ -1530,8 +1410,6 @@ 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
@@ -1539,14 +1417,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1554,8 +1433,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * A user-defined name of the Certificate Map Entry. Certificate Map Entry
      * names must be unique globally and match pattern
@@ -1563,22 +1440,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * A user-defined name of the Certificate Map Entry. Certificate Map Entry
      * names must be unique globally and match pattern
@@ -1586,18 +1461,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * A user-defined name of the Certificate Map Entry. Certificate Map Entry
      * names must be unique globally and match pattern
@@ -1605,16 +1477,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; @@ -1622,20 +1494,18 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { 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; @@ -1644,21 +1514,20 @@ 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 { @@ -1666,61 +1535,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * 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; @@ -1728,58 +1590,39 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The creation timestamp of 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) { @@ -1795,17 +1638,14 @@ 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(); @@ -1816,21 +1656,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal 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; } @@ -1842,15 +1678,11 @@ 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) { @@ -1864,64 +1696,48 @@ 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_; @@ -1929,58 +1745,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. The 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) { @@ -1996,17 +1793,14 @@ 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(); @@ -2017,21 +1811,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal 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; } @@ -2043,15 +1833,11 @@ 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) { @@ -2065,84 +1851,69 @@ 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 labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -2154,30 +1925,28 @@ 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.
      * 
@@ -2185,12 +1954,11 @@ 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.
      * 
@@ -2198,17 +1966,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(); + 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.
      * 
@@ -2216,11 +1983,12 @@ 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(); } @@ -2228,67 +1996,68 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Set of labels associated with 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
@@ -2296,7 +2065,6 @@ public Builder putAllLabels(java.util.Map va
      * 
* * string hostname = 5; - * * @return Whether the hostname field is set. */ @java.lang.Override @@ -2304,8 +2072,6 @@ 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
@@ -2313,7 +2079,6 @@ public boolean hasHostname() {
      * 
* * string hostname = 5; - * * @return The hostname. */ @java.lang.Override @@ -2323,7 +2088,8 @@ 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; @@ -2334,8 +2100,6 @@ 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
@@ -2343,18 +2107,19 @@ 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; } @@ -2364,8 +2129,6 @@ public com.google.protobuf.ByteString getHostnameBytes() { } } /** - * - * *
      * A Hostname (FQDN, e.g. `example.com`) or a wildcard hostname expression
      * (`*.example.com`) for a set of hostnames with common suffix. Used as
@@ -2373,22 +2136,20 @@ public com.google.protobuf.ByteString getHostnameBytes() {
      * 
* * 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
@@ -2396,7 +2157,6 @@ public Builder setHostname(java.lang.String value) {
      * 
* * string hostname = 5; - * * @return This builder for chaining. */ public Builder clearHostname() { @@ -2408,8 +2168,6 @@ 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
@@ -2417,15 +2175,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(); @@ -2433,14 +2191,11 @@ public Builder setHostnameBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * 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 @@ -2448,14 +2203,11 @@ 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 @@ -2466,14 +2218,11 @@ 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. */ @@ -2484,43 +2233,33 @@ 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(); } @@ -2530,14 +2269,11 @@ public Builder setMatcher( 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() { @@ -2549,18 +2285,14 @@ 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
@@ -2568,15 +2300,13 @@ 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
@@ -2584,15 +2314,12 @@ public com.google.protobuf.ProtocolStringList getCertificatesList() {
      * 
* * 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
@@ -2600,7 +2327,6 @@ 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. */ @@ -2608,8 +2334,6 @@ 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
@@ -2617,16 +2341,14 @@ 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
@@ -2634,23 +2356,21 @@ public com.google.protobuf.ByteString getCertificatesBytes(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
@@ -2658,22 +2378,20 @@ public Builder setCertificates(int index, java.lang.String value) {
      * 
* * 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
@@ -2681,19 +2399,18 @@ public Builder addCertificates(java.lang.String value) {
      * 
* * 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
@@ -2701,7 +2418,6 @@ public Builder addAllCertificates(java.lang.Iterable values) {
      * 
* * repeated string certificates = 7 [(.google.api.resource_reference) = { ... } - * * @return This builder for chaining. */ public Builder clearCertificates() { @@ -2711,8 +2427,6 @@ 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
@@ -2720,15 +2434,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(); @@ -2737,75 +2451,51 @@ public Builder addCertificatesBytes(com.google.protobuf.ByteString value) { 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. */ @@ -2813,33 +2503,28 @@ 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); } @@ -2849,12 +2534,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(); } @@ -2863,16 +2548,16 @@ 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 { - return new CertificateMapEntry(input, extensionRegistry); - } - }; + 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 { + return new CertificateMapEntry(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2887,4 +2572,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.certificatemanager.v1.CertificateMapEntry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntryName.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntryName.java similarity index 100% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntryName.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntryName.java diff --git a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntryOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntryOrBuilder.java similarity index 78% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntryOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntryOrBuilder.java index ffc7eb9..5574376 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntryOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntryOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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
@@ -33,13 +15,10 @@ public interface CertificateMapEntryOrBuilder
    * 
* * 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
@@ -47,115 +26,86 @@ public interface CertificateMapEntryOrBuilder
    * 
* * 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.
    * 
@@ -164,31 +114,30 @@ public interface CertificateMapEntryOrBuilder */ 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.
    * 
@@ -197,24 +146,22 @@ public interface CertificateMapEntryOrBuilder */ /* 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
@@ -222,13 +169,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * 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
@@ -236,13 +180,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * 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
@@ -250,51 +191,40 @@ java.lang.String getLabelsOrDefault(
    * 
* * 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
@@ -302,13 +232,11 @@ java.lang.String getLabelsOrDefault(
    * 
* * 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
@@ -316,13 +244,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * 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
@@ -330,14 +255,11 @@ java.lang.String getLabelsOrDefault(
    * 
* * 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
@@ -345,37 +267,27 @@ java.lang.String getLabelsOrDefault(
    * 
* * 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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapName.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapName.java similarity index 100% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapName.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapName.java diff --git a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapOrBuilder.java similarity index 63% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapOrBuilder.java index 77f27d3..745728b 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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
@@ -33,13 +15,10 @@ public interface CertificateMapOrBuilder
    * 
* * 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
@@ -47,115 +26,86 @@ public interface CertificateMapOrBuilder
    * 
* * 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.
    * 
@@ -164,31 +114,30 @@ public interface CertificateMapOrBuilder */ 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.
    * 
@@ -197,82 +146,61 @@ public interface CertificateMapOrBuilder */ /* 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.
    * 
* - * - * 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.
    * 
* - * - * 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.
    * 
* - * - * 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.
    * 
* - * - * 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< - ? extends com.google.cloud.certificatemanager.v1.CertificateMap.GclbTargetOrBuilder> + java.util.List getGclbTargetsOrBuilderList(); /** - * - * *
    * Output only. A list of GCLB targets which use this Certificate Map.
    * 
* - * - * 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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateName.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateName.java similarity index 100% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateName.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateName.java diff --git a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateOrBuilder.java similarity index 76% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateOrBuilder.java index 440c627..a5be4a0 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateOrBuilder.java @@ -1,159 +1,109 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the 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.
    * 
@@ -162,31 +112,30 @@ public interface CertificateOrBuilder */ 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.
    * 
@@ -195,99 +144,76 @@ public interface CertificateOrBuilder */ /* 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).
@@ -296,13 +222,11 @@ java.lang.String getLabelsOrDefault(
    * 
* * 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).
@@ -311,13 +235,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * 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).
@@ -326,14 +247,11 @@ java.lang.String getLabelsOrDefault(
    * 
* * 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).
@@ -342,100 +260,74 @@ java.lang.String getLabelsOrDefault(
    * 
* * 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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequest.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequest.java similarity index 62% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequest.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequest.java index d22299d..17d9d08 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; @@ -45,15 +26,16 @@ 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; } - private CreateCertificateMapEntryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -72,44 +54,38 @@ private CreateCertificateMapEntryRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - certificateMapEntryId_ = s; - break; + certificateMapEntryId_ = s; + break; + } + case 26: { + com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder subBuilder = null; + if (certificateMapEntry_ != null) { + subBuilder = certificateMapEntry_.toBuilder(); } - case 26: - { - com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder subBuilder = null; - if (certificateMapEntry_ != null) { - subBuilder = certificateMapEntry_.toBuilder(); - } - certificateMapEntry_ = - input.readMessage( - com.google.cloud.certificatemanager.v1.CertificateMapEntry.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(certificateMapEntry_); - certificateMapEntry_ = subBuilder.buildPartial(); - } - - break; + certificateMapEntry_ = input.readMessage(com.google.cloud.certificatemanager.v1.CertificateMapEntry.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(certificateMapEntry_); + certificateMapEntry_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -117,42 +93,35 @@ private CreateCertificateMapEntryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -161,32 +130,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource of the 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 { @@ -197,14 +164,11 @@ public com.google.protobuf.ByteString getParentBytes() { 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 @@ -213,29 +177,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 { @@ -246,16 +210,11 @@ public com.google.protobuf.ByteString getCertificateMapEntryIdBytes() { 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 @@ -263,43 +222,30 @@ 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; @@ -311,7 +257,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -337,7 +284,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -347,19 +295,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -386,146 +336,134 @@ 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() + // Construct using com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -543,22 +481,19 @@ 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); } @@ -567,8 +502,7 @@ 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) { @@ -584,52 +518,46 @@ 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(); @@ -660,9 +588,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -674,23 +600,19 @@ 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; @@ -699,24 +621,21 @@ 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 { @@ -724,70 +643,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * 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; @@ -795,20 +701,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { 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; @@ -817,21 +721,20 @@ 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 { @@ -839,61 +742,54 @@ public com.google.protobuf.ByteString getCertificateMapEntryIdBytes() { } } /** - * - * *
      * 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; @@ -901,61 +797,41 @@ public Builder setCertificateMapEntryIdBytes(com.google.protobuf.ByteString valu 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(); @@ -969,15 +845,11 @@ 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 setCertificateMapEntry( com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder builderForValue) { @@ -991,25 +863,17 @@ 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; } @@ -1021,15 +885,11 @@ public Builder mergeCertificateMapEntry( 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) { @@ -1043,73 +903,55 @@ 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); } @@ -1119,33 +961,30 @@ 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 { - return new CreateCertificateMapEntryRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateCertificateMapEntryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1157,8 +996,9 @@ 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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequestOrBuilder.java similarity index 54% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequestOrBuilder.java index 4c7de28..bebd865 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequestOrBuilder.java @@ -1,123 +1,78 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequest.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequest.java similarity index 63% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequest.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequest.java index 2c676c5..c7785f7 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; @@ -44,15 +26,16 @@ 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; } - private CreateCertificateMapRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,44 +54,38 @@ private CreateCertificateMapRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - certificateMapId_ = s; - break; + certificateMapId_ = s; + break; + } + case 26: { + com.google.cloud.certificatemanager.v1.CertificateMap.Builder subBuilder = null; + if (certificateMap_ != null) { + subBuilder = certificateMap_.toBuilder(); } - case 26: - { - com.google.cloud.certificatemanager.v1.CertificateMap.Builder subBuilder = null; - if (certificateMap_ != null) { - subBuilder = certificateMap_.toBuilder(); - } - certificateMap_ = - input.readMessage( - com.google.cloud.certificatemanager.v1.CertificateMap.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(certificateMap_); - certificateMap_ = subBuilder.buildPartial(); - } - - break; + certificateMap_ = input.readMessage(com.google.cloud.certificatemanager.v1.CertificateMap.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(certificateMap_); + certificateMap_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,42 +93,35 @@ private CreateCertificateMapRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -160,32 +130,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource of the 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 { @@ -196,14 +164,11 @@ public com.google.protobuf.ByteString getParentBytes() { 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 @@ -212,29 +177,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 { @@ -245,16 +210,11 @@ public com.google.protobuf.ByteString getCertificateMapIdBytes() { 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 @@ -262,43 +222,30 @@ 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; @@ -310,7 +257,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -336,7 +284,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -346,19 +295,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -385,145 +336,134 @@ 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() + // Construct using com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -541,16 +481,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_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 @@ -564,8 +502,7 @@ 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) { @@ -581,51 +518,46 @@ 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(); @@ -656,9 +588,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -670,23 +600,19 @@ 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; @@ -695,24 +621,21 @@ 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 { @@ -720,70 +643,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * 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; @@ -791,20 +701,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { 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; @@ -813,21 +721,20 @@ 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 { @@ -835,61 +742,54 @@ public com.google.protobuf.ByteString getCertificateMapIdBytes() { } } /** - * - * *
      * 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; @@ -897,58 +797,39 @@ public Builder setCertificateMapIdBytes(com.google.protobuf.ByteString value) { 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) { @@ -964,15 +845,11 @@ 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) { @@ -986,24 +863,17 @@ 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; } @@ -1015,15 +885,11 @@ public Builder mergeCertificateMap( 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) { @@ -1037,73 +903,55 @@ 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); } @@ -1113,32 +961,30 @@ 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 { - return new CreateCertificateMapRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateCertificateMapRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1150,8 +996,9 @@ 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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequestOrBuilder.java similarity index 54% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequestOrBuilder.java index b0aebea..76308ca 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequestOrBuilder.java @@ -1,122 +1,78 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequest.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequest.java similarity index 64% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequest.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequest.java index 34ba417..288d554 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; @@ -44,15 +26,16 @@ 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; } - private CreateCertificateRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,44 +54,38 @@ private CreateCertificateRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - certificateId_ = s; - break; + certificateId_ = s; + break; + } + case 26: { + com.google.cloud.certificatemanager.v1.Certificate.Builder subBuilder = null; + if (certificate_ != null) { + subBuilder = certificate_.toBuilder(); } - case 26: - { - com.google.cloud.certificatemanager.v1.Certificate.Builder subBuilder = null; - if (certificate_ != null) { - subBuilder = certificate_.toBuilder(); - } - certificate_ = - input.readMessage( - com.google.cloud.certificatemanager.v1.Certificate.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(certificate_); - certificate_ = subBuilder.buildPartial(); - } - - break; + certificate_ = input.readMessage(com.google.cloud.certificatemanager.v1.Certificate.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(certificate_); + certificate_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,42 +93,35 @@ private CreateCertificateRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -160,32 +130,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource of the 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 { @@ -196,14 +164,11 @@ public com.google.protobuf.ByteString getParentBytes() { 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 @@ -212,29 +177,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 { @@ -245,16 +210,11 @@ public com.google.protobuf.ByteString getCertificateIdBytes() { 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 @@ -262,34 +222,23 @@ 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() { @@ -297,7 +246,6 @@ public com.google.cloud.certificatemanager.v1.CertificateOrBuilder getCertificat } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -309,7 +257,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -335,7 +284,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -345,19 +295,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -384,127 +336,117 @@ 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() @@ -512,15 +454,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -538,14 +481,13 @@ 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(); } @@ -560,8 +502,7 @@ 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) { @@ -577,50 +518,46 @@ 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(); @@ -651,9 +588,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.certificatemanager.v1.CreateCertificateRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.certificatemanager.v1.CreateCertificateRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -665,23 +600,19 @@ 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; @@ -690,24 +621,21 @@ 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 { @@ -715,70 +643,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * 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; @@ -786,20 +701,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { 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; @@ -808,21 +721,20 @@ 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 { @@ -830,61 +742,54 @@ public com.google.protobuf.ByteString getCertificateIdBytes() { } } /** - * - * *
      * 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; @@ -892,58 +797,39 @@ public Builder setCertificateIdBytes(com.google.protobuf.ByteString value) { 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) { @@ -959,15 +845,11 @@ 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) { @@ -981,23 +863,17 @@ 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; } @@ -1009,15 +885,11 @@ 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) { @@ -1031,71 +903,55 @@ 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); } @@ -1105,32 +961,30 @@ 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 { - return new CreateCertificateRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateCertificateRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1142,8 +996,9 @@ 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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequestOrBuilder.java similarity index 53% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequestOrBuilder.java index 9d1c9d3..bc0a7a7 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequestOrBuilder.java @@ -1,122 +1,78 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequest.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequest.java similarity index 62% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequest.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequest.java index 812e164..2780784 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; @@ -44,15 +26,16 @@ 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; } - private CreateDnsAuthorizationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,44 +54,38 @@ private CreateDnsAuthorizationRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - dnsAuthorizationId_ = s; - break; + dnsAuthorizationId_ = s; + break; + } + case 26: { + com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder subBuilder = null; + if (dnsAuthorization_ != null) { + subBuilder = dnsAuthorization_.toBuilder(); } - case 26: - { - com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder subBuilder = null; - if (dnsAuthorization_ != null) { - subBuilder = dnsAuthorization_.toBuilder(); - } - dnsAuthorization_ = - input.readMessage( - com.google.cloud.certificatemanager.v1.DnsAuthorization.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dnsAuthorization_); - dnsAuthorization_ = subBuilder.buildPartial(); - } - - break; + dnsAuthorization_ = input.readMessage(com.google.cloud.certificatemanager.v1.DnsAuthorization.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dnsAuthorization_); + dnsAuthorization_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -116,42 +93,35 @@ private CreateDnsAuthorizationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -160,32 +130,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The parent resource of the 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 { @@ -196,14 +164,11 @@ public com.google.protobuf.ByteString getParentBytes() { 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 @@ -212,29 +177,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 { @@ -245,16 +210,11 @@ public com.google.protobuf.ByteString getDnsAuthorizationIdBytes() { 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 @@ -262,43 +222,30 @@ 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; @@ -310,7 +257,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -336,7 +284,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -346,19 +295,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -385,145 +336,134 @@ 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() + // Construct using com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -541,16 +481,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_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 @@ -564,8 +502,7 @@ 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) { @@ -581,51 +518,46 @@ 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(); @@ -656,9 +588,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -670,23 +600,19 @@ 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; @@ -695,24 +621,21 @@ 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 { @@ -720,70 +643,57 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * 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; @@ -791,20 +701,18 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { 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; @@ -813,21 +721,20 @@ 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 { @@ -835,61 +742,54 @@ public com.google.protobuf.ByteString getDnsAuthorizationIdBytes() { } } /** - * - * *
      * 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; @@ -897,61 +797,41 @@ public Builder setDnsAuthorizationIdBytes(com.google.protobuf.ByteString value) 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(); @@ -965,15 +845,11 @@ 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 setDnsAuthorization( com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder builderForValue) { @@ -987,24 +863,17 @@ 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; } @@ -1016,15 +885,11 @@ public Builder mergeDnsAuthorization( 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) { @@ -1038,73 +903,55 @@ 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); } @@ -1114,32 +961,30 @@ 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 { - return new CreateDnsAuthorizationRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateDnsAuthorizationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1151,8 +996,9 @@ 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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequestOrBuilder.java similarity index 54% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequestOrBuilder.java index 86dafc8..0d75703 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequestOrBuilder.java @@ -1,122 +1,78 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequest.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequest.java similarity index 61% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequest.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequest.java index 4afacee..a0be544 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequest.java @@ -1,58 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - private DeleteCertificateMapEntryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -71,20 +53,19 @@ private DeleteCertificateMapEntryRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,42 +73,35 @@ private DeleteCertificateMapEntryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -136,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. 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 { @@ -170,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -182,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -206,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -234,146 +206,134 @@ 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() + // Construct using com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -383,22 +343,19 @@ 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); } @@ -407,8 +364,7 @@ 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; @@ -418,52 +374,46 @@ 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(); @@ -487,9 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -501,23 +449,19 @@ 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; @@ -526,24 +470,21 @@ 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 { @@ -551,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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); } @@ -631,33 +559,30 @@ 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 { - return new DeleteCertificateMapEntryRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteCertificateMapEntryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -669,8 +594,9 @@ 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/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequestOrBuilder.java new file mode 100644 index 0000000..40c29b6 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequestOrBuilder.java @@ -0,0 +1,31 @@ +// 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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequest.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequest.java similarity index 63% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequest.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequest.java index 5965c87..b296dd6 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - private DeleteCertificateMapRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteCertificateMapRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private DeleteCertificateMapRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. 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 { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,145 +206,134 @@ 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() + // Construct using com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -381,16 +343,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_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 @@ -404,8 +364,7 @@ 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; @@ -415,51 +374,46 @@ 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(); @@ -483,9 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -497,23 +449,19 @@ 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; @@ -522,24 +470,21 @@ 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 { @@ -547,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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); } @@ -627,32 +559,30 @@ 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 { - return new DeleteCertificateMapRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteCertificateMapRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -664,8 +594,9 @@ 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/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequestOrBuilder.java new file mode 100644 index 0000000..57ed965 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequestOrBuilder.java @@ -0,0 +1,31 @@ +// 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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequest.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequest.java similarity index 64% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequest.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequest.java index 13771ab..53be0a4 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - private DeleteCertificateRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteCertificateRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private DeleteCertificateRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. 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 { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ 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() @@ -361,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,14 +343,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.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(); } @@ -401,8 +364,7 @@ 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; @@ -412,50 +374,46 @@ 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(); @@ -479,9 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.certificatemanager.v1.DeleteCertificateRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.certificatemanager.v1.DeleteCertificateRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -493,23 +449,19 @@ 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; @@ -518,24 +470,21 @@ 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 { @@ -543,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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); } @@ -623,32 +559,30 @@ 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 { - return new DeleteCertificateRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteCertificateRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -660,8 +594,9 @@ 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/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequestOrBuilder.java new file mode 100644 index 0000000..698fa34 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequestOrBuilder.java @@ -0,0 +1,31 @@ +// 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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequest.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequest.java similarity index 63% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequest.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequest.java index 8e72523..c068f65 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - private DeleteDnsAuthorizationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private DeleteDnsAuthorizationRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private DeleteDnsAuthorizationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. 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 { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,145 +206,134 @@ 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() + // Construct using com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -381,16 +343,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_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 @@ -404,8 +364,7 @@ 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; @@ -415,51 +374,46 @@ 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(); @@ -483,9 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -497,23 +449,19 @@ 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; @@ -522,24 +470,21 @@ 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 { @@ -547,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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); } @@ -627,32 +559,30 @@ 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 { - return new DeleteDnsAuthorizationRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteDnsAuthorizationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -664,8 +594,9 @@ 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/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequestOrBuilder.java new file mode 100644 index 0000000..50e3216 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequestOrBuilder.java @@ -0,0 +1,31 @@ +// 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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorization.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorization.java similarity index 65% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorization.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorization.java index 715919b..28ee1c6 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorization.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorization.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/certificatemanager/v1/certificate_manager.proto package com.google.cloud.certificatemanager.v1; /** - * - * *
  * A DnsAuthorization resource describes a way to perform domain authorization
  * for certificate issuance.
@@ -28,16 +11,15 @@
  *
  * 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_ = "";
@@ -46,15 +28,16 @@ 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;
   }
-
   private DnsAuthorization(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,96 +57,83 @@ private DnsAuthorization(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (createTime_ != null) {
-                subBuilder = createTime_.toBuilder();
-              }
-              createTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(createTime_);
-                createTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (updateTime_ != null) {
-                subBuilder = updateTime_.toBuilder();
-              }
-              updateTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(updateTime_);
-                updateTime_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 26: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
             }
-          case 34:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                labels_ =
-                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
-                mutable_bitField0_ |= 0x00000001;
-              }
-              com.google.protobuf.MapEntry labels__ =
-                  input.readMessage(
-                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
-              break;
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
+            break;
+          }
+          case 34: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              labels_ = com.google.protobuf.MapField.newMapField(
+                  LabelsDefaultEntryHolder.defaultEntry);
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 50:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            com.google.protobuf.MapEntry
+            labels__ = input.readMessage(
+                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            labels_.getMutableMap().put(
+                labels__.getKey(), labels__.getValue());
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              domain_ = s;
-              break;
-            }
-          case 82:
-            {
-              com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord.Builder
-                  subBuilder = null;
-              if (dnsResourceRecord_ != null) {
-                subBuilder = dnsResourceRecord_.toBuilder();
-              }
-              dnsResourceRecord_ =
-                  input.readMessage(
-                      com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord
-                          .parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(dnsResourceRecord_);
-                dnsResourceRecord_ = subBuilder.buildPartial();
-              }
+            description_ = s;
+            break;
+          }
+          case 50: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              break;
+            domain_ = s;
+            break;
+          }
+          case 82: {
+            com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord.Builder subBuilder = null;
+            if (dnsResourceRecord_ != null) {
+              subBuilder = dnsResourceRecord_.toBuilder();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            dnsResourceRecord_ = input.readMessage(com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(dnsResourceRecord_);
+              dnsResourceRecord_ = subBuilder.buildPartial();
+            }
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -171,126 +141,107 @@ private DnsAuthorization(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.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
@@ -299,16 +250,15 @@ public interface DnsResourceRecordOrBuilder
    *
    * 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_ = "";
@@ -317,15 +267,16 @@ 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;
     }
-
     private DnsResourceRecord(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -344,34 +295,31 @@ private DnsResourceRecord(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+            case 10: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                name_ = s;
-                break;
-              }
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              name_ = s;
+              break;
+            }
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                type_ = s;
-                break;
-              }
-            case 26:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
+              type_ = s;
+              break;
+            }
+            case 26: {
+              java.lang.String s = input.readStringRequireUtf8();
 
-                data_ = s;
-                break;
-              }
-            default:
-              {
-                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                  done = true;
-                }
-                break;
+              data_ = s;
+              break;
+            }
+            default: {
+              if (!parseUnknownField(
+                  input, unknownFields, extensionRegistry, tag)) {
+                done = true;
               }
+              break;
+            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -379,41 +327,35 @@ private DnsResourceRecord(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(
+            e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.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 @@ -422,30 +364,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 { @@ -456,15 +398,12 @@ public com.google.protobuf.ByteString getNameBytes() { 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 @@ -473,30 +412,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 { @@ -507,14 +446,11 @@ public com.google.protobuf.ByteString getTypeBytes() { 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 @@ -523,29 +459,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 { @@ -554,7 +490,6 @@ public com.google.protobuf.ByteString getDataBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -566,7 +501,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -602,18 +538,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -636,101 +573,88 @@ 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 @@ -740,8 +664,6 @@ 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
@@ -750,42 +672,38 @@ 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()
+      // Construct using com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
-
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+        if (com.google.protobuf.GeneratedMessageV3
+                .alwaysUseFieldBuilders) {
+        }
       }
-
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -799,22 +717,19 @@ 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);
         }
@@ -822,10 +737,8 @@ 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_;
@@ -837,54 +750,46 @@ 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();
@@ -912,14 +817,11 @@ public Builder mergeFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord parsedMessage =
-            null;
+        com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord parsedMessage = null;
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage =
-              (com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord)
-                  e.getUnfinishedMessage();
+          parsedMessage = (com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord) e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -931,21 +833,19 @@ 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; @@ -954,22 +854,21 @@ 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 { @@ -977,64 +876,57 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * 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; @@ -1042,21 +934,19 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { 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; @@ -1065,22 +955,21 @@ 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 { @@ -1088,64 +977,57 @@ public com.google.protobuf.ByteString getTypeBytes() { } } /** - * - * *
        * 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; @@ -1153,20 +1035,18 @@ public Builder setTypeBytes(com.google.protobuf.ByteString value) { 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; @@ -1175,21 +1055,20 @@ 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 { @@ -1197,66 +1076,58 @@ public com.google.protobuf.ByteString getDataBytes() { } } /** - * - * *
        * 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) { @@ -1269,33 +1140,30 @@ 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 { - return new DnsResourceRecord(input, extensionRegistry); - } - }; + 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 { + return new DnsResourceRecord(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1307,17 +1175,15 @@ 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
@@ -1325,7 +1191,6 @@ public com.google.protobuf.Parser getParserForType() {
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -1334,15 +1199,14 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * A user-defined name of the dns authorization. DnsAuthorization names must
    * be unique globally and match pattern
@@ -1350,15 +1214,16 @@ public java.lang.String getName() {
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1369,15 +1234,11 @@ public com.google.protobuf.ByteString getNameBytes() { 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 @@ -1385,15 +1246,11 @@ 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 @@ -1401,14 +1258,11 @@ 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() { @@ -1418,15 +1272,11 @@ 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 @@ -1434,15 +1284,11 @@ 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 @@ -1450,14 +1296,11 @@ 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() { @@ -1465,23 +1308,24 @@ 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 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< + 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, + ""); } - - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -1490,30 +1334,28 @@ 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.
    * 
@@ -1521,12 +1363,11 @@ 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.
    * 
@@ -1534,16 +1375,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.
    * 
@@ -1551,11 +1392,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * 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(); } @@ -1565,14 +1407,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { 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 @@ -1581,29 +1420,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 { @@ -1614,18 +1453,13 @@ public com.google.protobuf.ByteString getDescriptionBytes() { 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 `example.com` can
    * be used to issue certificates for `example.com` and `*.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 @@ -1634,33 +1468,31 @@ 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 `example.com` can
    * be used to issue certificates for `example.com` and `*.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 { @@ -1669,19 +1501,13 @@ public com.google.protobuf.ByteString getDomainBytes() { } 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 @@ -1689,45 +1515,30 @@ 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; @@ -1739,7 +1550,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1749,8 +1561,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io 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_); } @@ -1773,20 +1589,22 @@ 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_); @@ -1795,7 +1613,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1805,29 +1624,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1868,104 +1693,96 @@ 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.
@@ -1973,43 +1790,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * 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()
@@ -2017,15 +1834,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2058,9 +1876,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
@@ -2079,8 +1897,7 @@ 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) {
@@ -2110,39 +1927,38 @@ 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;
@@ -2150,8 +1966,7 @@ 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();
@@ -2162,7 +1977,8 @@ 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();
@@ -2193,8 +2009,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.certificatemanager.v1.DnsAuthorization) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.certificatemanager.v1.DnsAuthorization) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -2203,13 +2018,10 @@ public Builder mergeFrom(
       }
       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
@@ -2217,13 +2029,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; @@ -2232,8 +2044,6 @@ public java.lang.String getName() { } } /** - * - * *
      * A user-defined name of the dns authorization. DnsAuthorization names must
      * be unique globally and match pattern
@@ -2241,14 +2051,15 @@ public java.lang.String getName() {
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2256,8 +2067,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * A user-defined name of the dns authorization. DnsAuthorization names must
      * be unique globally and match pattern
@@ -2265,22 +2074,20 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * A user-defined name of the dns authorization. DnsAuthorization names must
      * be unique globally and match pattern
@@ -2288,18 +2095,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * A user-defined name of the dns authorization. DnsAuthorization names must
      * be unique globally and match pattern
@@ -2307,16 +2111,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; @@ -2324,58 +2128,39 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * Output only. The 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) { @@ -2391,17 +2176,14 @@ 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(); @@ -2412,21 +2194,17 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal 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; } @@ -2438,15 +2216,11 @@ 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) { @@ -2460,64 +2234,48 @@ 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_; @@ -2525,58 +2283,39 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp updateTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - updateTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> updateTimeBuilder_; /** - * - * *
      * Output only. The 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) { @@ -2592,17 +2331,14 @@ 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(); @@ -2613,21 +2349,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal 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; } @@ -2639,15 +2371,11 @@ 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) { @@ -2661,84 +2389,69 @@ 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 labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField - internalGetMutableLabels() { - onChanged(); - ; + internalGetMutableLabels() { + onChanged();; if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -2750,30 +2463,28 @@ 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.
      * 
@@ -2781,12 +2492,11 @@ 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.
      * 
@@ -2794,17 +2504,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(); + 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.
      * 
@@ -2812,11 +2521,12 @@ 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(); } @@ -2824,80 +2534,81 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public Builder clearLabels() { - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Set of labels associated with 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; @@ -2906,21 +2617,20 @@ 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 { @@ -2928,61 +2638,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * 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; @@ -2990,24 +2693,20 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { 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 `example.com` can
      * be used to issue certificates for `example.com` and `*.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; @@ -3016,25 +2715,22 @@ 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 `example.com` can
      * be used to issue certificates for `example.com` and `*.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 { @@ -3042,138 +2738,102 @@ public com.google.protobuf.ByteString getDomainBytes() { } } /** - * - * *
      * Required. Immutable. A domain which is being authorized. A DnsAuthorization resource covers a
      * single domain and its wildcard, e.g. authorization for `example.com` can
      * be used to issue certificates for `example.com` and `*.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 `example.com` can
      * be used to issue certificates for `example.com` and `*.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 `example.com` can
      * be used to issue certificates for `example.com` and `*.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(); @@ -3187,19 +2847,14 @@ 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 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(); @@ -3210,25 +2865,17 @@ 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; } @@ -3240,15 +2887,11 @@ public Builder mergeDnsResourceRecord( 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) { @@ -3262,74 +2905,55 @@ 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); } @@ -3339,12 +2963,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(); } @@ -3353,16 +2977,16 @@ 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 { - return new DnsAuthorization(input, extensionRegistry); - } - }; + 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 { + return new DnsAuthorization(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3377,4 +3001,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.certificatemanager.v1.DnsAuthorization getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationName.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationName.java similarity index 100% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationName.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationName.java diff --git a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationOrBuilder.java similarity index 66% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationOrBuilder.java index ebd4e88..19bc86e 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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
@@ -33,13 +15,10 @@ public interface DnsAuthorizationOrBuilder
    * 
* * 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
@@ -47,90 +26,66 @@ public interface DnsAuthorizationOrBuilder
    * 
* * 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.
    * 
@@ -139,31 +94,30 @@ public interface DnsAuthorizationOrBuilder */ 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.
    * 
@@ -172,118 +126,89 @@ public interface DnsAuthorizationOrBuilder */ /* 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 `example.com` can
    * be used to issue certificates for `example.com` and `*.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 `example.com` can
    * be used to issue certificates for `example.com` and `*.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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequest.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequest.java similarity index 63% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequest.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequest.java index fb97a16..1d92b8b 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - private GetCertificateMapEntryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetCertificateMapEntryRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private GetCertificateMapEntryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. 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 { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,145 +206,134 @@ 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() + // Construct using com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -381,16 +343,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_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 @@ -404,8 +364,7 @@ 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; @@ -415,51 +374,46 @@ 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(); @@ -483,9 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -497,23 +449,19 @@ 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; @@ -522,24 +470,21 @@ 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 { @@ -547,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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); } @@ -627,32 +559,30 @@ 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 { - return new GetCertificateMapEntryRequest(input, extensionRegistry); - } - }; + 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 { + return new GetCertificateMapEntryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -664,8 +594,9 @@ 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/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequestOrBuilder.java new file mode 100644 index 0000000..6fd9bf9 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequestOrBuilder.java @@ -0,0 +1,31 @@ +// 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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequest.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequest.java similarity index 64% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequest.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequest.java index 6705ffe..d768eda 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - private GetCertificateMapRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetCertificateMapRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private GetCertificateMapRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. 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 { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ 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() @@ -361,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,14 +343,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.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(); } @@ -401,8 +364,7 @@ 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; @@ -412,50 +374,46 @@ 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(); @@ -479,9 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.certificatemanager.v1.GetCertificateMapRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.certificatemanager.v1.GetCertificateMapRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -493,23 +449,19 @@ 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; @@ -518,24 +470,21 @@ 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 { @@ -543,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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); } @@ -623,32 +559,30 @@ 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 { - return new GetCertificateMapRequest(input, extensionRegistry); - } - }; + 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 { + return new GetCertificateMapRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -660,8 +594,9 @@ 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/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequestOrBuilder.java new file mode 100644 index 0000000..f98e3a0 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequestOrBuilder.java @@ -0,0 +1,31 @@ +// 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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequest.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequest.java similarity index 65% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequest.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequest.java index 849bed9..42e0a7e 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - private GetCertificateRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetCertificateRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private GetCertificateRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. 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 { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,127 +206,117 @@ 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() @@ -361,15 +324,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -379,14 +343,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.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(); } @@ -401,8 +364,7 @@ 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; @@ -412,39 +374,38 @@ 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; @@ -452,9 +413,7 @@ 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(); @@ -478,8 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.certificatemanager.v1.GetCertificateRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.certificatemanager.v1.GetCertificateRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -491,23 +449,19 @@ 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; @@ -516,24 +470,21 @@ 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 { @@ -541,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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); } @@ -621,13 +559,12 @@ 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(); } @@ -636,16 +573,16 @@ 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 { - return new GetCertificateRequest(input, extensionRegistry); - } - }; + 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 { + return new GetCertificateRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -660,4 +597,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.certificatemanager.v1.GetCertificateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequestOrBuilder.java new file mode 100644 index 0000000..20d2f35 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequestOrBuilder.java @@ -0,0 +1,31 @@ +// 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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequest.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequest.java similarity index 63% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequest.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequest.java index 248d5a5..e872b8f 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequest.java @@ -1,57 +1,40 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - private GetDnsAuthorizationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -70,20 +53,19 @@ private GetDnsAuthorizationRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + name_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,42 +73,35 @@ private GetDnsAuthorizationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -135,32 +110,30 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. 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 { @@ -169,7 +142,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -181,7 +153,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -205,15 +178,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -233,145 +206,134 @@ 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() + // Construct using com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -381,14 +343,13 @@ 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(); } @@ -403,8 +364,7 @@ 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; @@ -414,50 +374,46 @@ 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(); @@ -481,9 +437,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -495,23 +449,19 @@ 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; @@ -520,24 +470,21 @@ 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 { @@ -545,77 +492,64 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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); } @@ -625,32 +559,30 @@ 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 { - return new GetDnsAuthorizationRequest(input, extensionRegistry); - } - }; + 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 { + return new GetDnsAuthorizationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -662,8 +594,9 @@ 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/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequestOrBuilder.java new file mode 100644 index 0000000..c28e69a --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequestOrBuilder.java @@ -0,0 +1,31 @@ +// 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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequest.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequest.java similarity index 69% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequest.java index e0623b7..db14057 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequest.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; @@ -47,15 +28,16 @@ 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; } - private ListCertificateMapEntriesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,46 +56,42 @@ private ListCertificateMapEntriesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -121,43 +99,36 @@ private ListCertificateMapEntriesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -166,33 +137,31 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The 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 { @@ -203,8 +172,6 @@ public com.google.protobuf.ByteString getParentBytes() { 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.
@@ -213,7 +180,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -224,8 +190,6 @@ 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
@@ -234,7 +198,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -243,15 +206,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The value returned by the last `ListCertificateMapEntriesResponse`.
    * Indicates that this is a continuation of a prior
@@ -260,15 +222,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -279,14 +242,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * Filter expression to restrict the returned Certificate Map Entries.
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -295,29 +255,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 { @@ -328,8 +288,6 @@ public com.google.protobuf.ByteString getFilterBytes() { 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.
@@ -337,7 +295,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * string order_by = 5; - * * @return The orderBy. */ @java.lang.Override @@ -346,15 +303,14 @@ 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.
@@ -362,15 +318,16 @@ 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 { @@ -379,7 +336,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -391,7 +347,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -420,7 +377,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -439,19 +397,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -479,146 +441,134 @@ 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() + // Construct using com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -636,22 +586,19 @@ 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); } @@ -660,8 +607,7 @@ 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_; @@ -675,52 +621,46 @@ 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(); @@ -759,9 +699,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -773,24 +711,20 @@ 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; @@ -799,25 +733,22 @@ 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 { @@ -825,82 +756,67 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * 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.
@@ -909,7 +825,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -917,8 +832,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum number of certificate map entries to return. The service may return
      * fewer than this value.
@@ -927,19 +840,16 @@ 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.
@@ -948,11 +858,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -960,8 +869,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * The value returned by the last `ListCertificateMapEntriesResponse`.
      * Indicates that this is a continuation of a prior
@@ -970,13 +877,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; @@ -985,8 +892,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The value returned by the last `ListCertificateMapEntriesResponse`.
      * Indicates that this is a continuation of a prior
@@ -995,14 +900,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -1010,8 +916,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The value returned by the last `ListCertificateMapEntriesResponse`.
      * Indicates that this is a continuation of a prior
@@ -1020,22 +924,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The value returned by the last `ListCertificateMapEntriesResponse`.
      * Indicates that this is a continuation of a prior
@@ -1044,18 +946,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The value returned by the last `ListCertificateMapEntriesResponse`.
      * Indicates that this is a continuation of a prior
@@ -1064,16 +963,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; @@ -1081,20 +980,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { 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; @@ -1103,21 +1000,20 @@ 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 { @@ -1125,61 +1021,54 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * 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; @@ -1187,8 +1076,6 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { 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.
@@ -1196,13 +1083,13 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; @@ -1211,8 +1098,6 @@ 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.
@@ -1220,14 +1105,15 @@ 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 { @@ -1235,8 +1121,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * A list of Certificate Map Entry field names used to specify
      * the order of the returned results. The default sorting order is ascending.
@@ -1244,22 +1128,20 @@ public com.google.protobuf.ByteString getOrderByBytes() {
      * 
* * 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.
@@ -1267,18 +1149,15 @@ public Builder setOrderBy(java.lang.String value) {
      * 
* * 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.
@@ -1286,23 +1165,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); } @@ -1312,33 +1191,30 @@ 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 { - return new ListCertificateMapEntriesRequest(input, extensionRegistry); - } - }; + 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 { + return new ListCertificateMapEntriesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1350,8 +1226,9 @@ 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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequestOrBuilder.java similarity index 71% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequestOrBuilder.java index 78933c7..ff4bf82 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequestOrBuilder.java @@ -1,64 +1,37 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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.
@@ -67,14 +40,11 @@ public interface ListCertificateMapEntriesRequestOrBuilder
    * 
* * 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
@@ -83,13 +53,10 @@ public interface ListCertificateMapEntriesRequestOrBuilder
    * 
* * 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
@@ -98,39 +65,32 @@ public interface ListCertificateMapEntriesRequestOrBuilder
    * 
* * 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.
@@ -138,13 +98,10 @@ public interface ListCertificateMapEntriesRequestOrBuilder
    * 
* * 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.
@@ -152,8 +109,8 @@ public interface ListCertificateMapEntriesRequestOrBuilder
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponse.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponse.java similarity index 65% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponse.java index c054772..9d024c9 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponse.java @@ -1,43 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; @@ -46,15 +27,16 @@ 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; } - private ListCertificateMapEntriesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,44 +56,37 @@ private ListCertificateMapEntriesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - certificateMapEntries_ = - new java.util.ArrayList< - com.google.cloud.certificatemanager.v1.CertificateMapEntry>(); - mutable_bitField0_ |= 0x00000001; - } - certificateMapEntries_.add( - input.readMessage( - com.google.cloud.certificatemanager.v1.CertificateMapEntry.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + certificateMapEntries_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + certificateMapEntries_.add( + input.readMessage(com.google.cloud.certificatemanager.v1.CertificateMapEntry.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - unreachable_.add(s); - break; + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -119,7 +94,8 @@ private ListCertificateMapEntriesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { certificateMapEntries_ = java.util.Collections.unmodifiableList(certificateMapEntries_); @@ -131,111 +107,82 @@ private ListCertificateMapEntriesResponse( makeExtensionsImmutable(); } } - - 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< - ? extends com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder> + public java.util.List 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
@@ -243,7 +190,6 @@ public com.google.cloud.certificatemanager.v1.CertificateMapEntry getCertificate
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -252,15 +198,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * 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
@@ -268,15 +213,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -287,42 +233,34 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { 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. */ @@ -330,23 +268,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -358,7 +293,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -378,9 +314,8 @@ 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_); @@ -401,18 +336,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -440,148 +376,135 @@ 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() + // Construct using com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getCertificateMapEntriesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -599,22 +522,19 @@ 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); } @@ -623,8 +543,7 @@ 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)) { @@ -649,52 +568,46 @@ 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()) { @@ -713,10 +626,9 @@ public Builder mergeFrom( 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_); } @@ -755,9 +667,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -766,40 +676,28 @@ public Builder mergeFrom( } 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 { @@ -807,15 +705,11 @@ private void ensureCertificateMapEntriesIsMutable() { } } /** - * - * *
      * 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) { @@ -825,18 +719,13 @@ 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 { @@ -844,15 +733,11 @@ 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) { @@ -869,19 +754,14 @@ 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()); @@ -892,18 +772,13 @@ 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(); @@ -917,15 +792,11 @@ 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 value) { @@ -942,15 +813,11 @@ 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) { @@ -964,19 +831,14 @@ 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()); @@ -987,22 +849,18 @@ 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); @@ -1010,15 +868,11 @@ 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) { @@ -1031,15 +885,11 @@ 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) { @@ -1052,53 +902,39 @@ 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< - ? extends com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder> - getCertificateMapEntriesOrBuilderList() { + public java.util.List + getCertificateMapEntriesOrBuilderList() { if (certificateMapEntriesBuilder_ != null) { return certificateMapEntriesBuilder_.getMessageOrBuilderList(); } else { @@ -1106,67 +942,45 @@ public Builder removeCertificateMapEntries(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; */ - 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(), @@ -1178,8 +992,6 @@ public Builder removeCertificateMapEntries(int index) { 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
@@ -1187,13 +999,13 @@ public Builder removeCertificateMapEntries(int index) {
      * 
* * 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; @@ -1202,8 +1014,6 @@ 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
@@ -1211,14 +1021,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1226,8 +1037,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * 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
@@ -1235,22 +1044,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * 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
@@ -1258,18 +1065,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * 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
@@ -1277,67 +1081,57 @@ 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. */ @@ -1345,90 +1139,80 @@ 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() { @@ -1438,30 +1222,28 @@ 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); } @@ -1471,33 +1253,30 @@ 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 { - return new ListCertificateMapEntriesResponse(input, extensionRegistry); - } - }; + 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 { + return new ListCertificateMapEntriesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1509,8 +1288,9 @@ 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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponseOrBuilder.java similarity index 63% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponseOrBuilder.java index 262d3b5..88651e5 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponseOrBuilder.java @@ -1,95 +1,57 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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
@@ -97,13 +59,10 @@ public interface ListCertificateMapEntriesResponseOrBuilder
    * 
* * 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
@@ -111,59 +70,49 @@ public interface ListCertificateMapEntriesResponseOrBuilder
    * 
* * 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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequest.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequest.java similarity index 70% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequest.java index e61ecba..28b2fc6 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; @@ -46,15 +28,16 @@ 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; } - private ListCertificateMapsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListCertificateMapsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,42 +99,35 @@ private ListCertificateMapsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -164,32 +136,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The project and location from which 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 { @@ -200,14 +170,11 @@ public com.google.protobuf.ByteString getParentBytes() { 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 @@ -218,8 +185,6 @@ 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
@@ -227,7 +192,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -236,15 +200,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The value returned by the last `ListCertificateMapsResponse`. Indicates
    * that this is a continuation of a prior `ListCertificateMaps` call, and that
@@ -252,15 +215,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -271,14 +235,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * Filter expression to restrict the Certificates Maps returned.
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -287,29 +248,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 { @@ -320,8 +281,6 @@ public com.google.protobuf.ByteString getFilterBytes() { 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
@@ -329,7 +288,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * string order_by = 5; - * * @return The orderBy. */ @java.lang.Override @@ -338,15 +296,14 @@ 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
@@ -354,15 +311,16 @@ 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 { @@ -371,7 +329,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -383,7 +340,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -412,7 +370,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -431,19 +390,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -471,145 +434,134 @@ 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() + // Construct using com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -627,14 +579,13 @@ 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(); } @@ -649,8 +600,7 @@ 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_; @@ -664,50 +614,46 @@ 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(); @@ -746,9 +692,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -760,23 +704,19 @@ 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; @@ -785,24 +725,21 @@ 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 { @@ -810,85 +747,69 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * 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 @@ -896,36 +817,30 @@ 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; @@ -933,8 +848,6 @@ 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
@@ -942,13 +855,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; @@ -957,8 +870,6 @@ 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
@@ -966,14 +877,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -981,8 +893,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The value returned by the last `ListCertificateMapsResponse`. Indicates
      * that this is a continuation of a prior `ListCertificateMaps` call, and that
@@ -990,22 +900,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The value returned by the last `ListCertificateMapsResponse`. Indicates
      * that this is a continuation of a prior `ListCertificateMaps` call, and that
@@ -1013,18 +921,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The value returned by the last `ListCertificateMapsResponse`. Indicates
      * that this is a continuation of a prior `ListCertificateMaps` call, and that
@@ -1032,16 +937,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; @@ -1049,20 +954,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { 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; @@ -1071,21 +974,20 @@ 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 { @@ -1093,61 +995,54 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * 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; @@ -1155,8 +1050,6 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { 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
@@ -1164,13 +1057,13 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; @@ -1179,8 +1072,6 @@ 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
@@ -1188,14 +1079,15 @@ 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 { @@ -1203,8 +1095,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * A list of Certificate Map field names used to specify the order of the
      * returned results. The default sorting order is ascending. To specify
@@ -1212,22 +1102,20 @@ public com.google.protobuf.ByteString getOrderByBytes() {
      * 
* * 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
@@ -1235,18 +1123,15 @@ public Builder setOrderBy(java.lang.String value) {
      * 
* * 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
@@ -1254,23 +1139,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); } @@ -1280,32 +1165,30 @@ 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 { - return new ListCertificateMapsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListCertificateMapsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1317,8 +1200,9 @@ 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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequestOrBuilder.java similarity index 68% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequestOrBuilder.java index 42e3148..502e3b3 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequestOrBuilder.java @@ -1,75 +1,45 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the 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
@@ -77,13 +47,10 @@ public interface ListCertificateMapsRequestOrBuilder
    * 
* * 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
@@ -91,39 +58,32 @@ public interface ListCertificateMapsRequestOrBuilder
    * 
* * 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
@@ -131,13 +91,10 @@ public interface ListCertificateMapsRequestOrBuilder
    * 
* * 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
@@ -145,8 +102,8 @@ public interface ListCertificateMapsRequestOrBuilder
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponse.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponse.java similarity index 72% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponse.java index e5447d4..186afc9 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; @@ -45,15 +27,16 @@ 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; } - private ListCertificateMapsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,44 +56,37 @@ private ListCertificateMapsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - certificateMaps_ = - new java.util.ArrayList< - com.google.cloud.certificatemanager.v1.CertificateMap>(); - mutable_bitField0_ |= 0x00000001; - } - certificateMaps_.add( - input.readMessage( - com.google.cloud.certificatemanager.v1.CertificateMap.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + certificateMaps_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + certificateMaps_.add( + input.readMessage(com.google.cloud.certificatemanager.v1.CertificateMap.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - unreachable_.add(s); - break; + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -118,7 +94,8 @@ private ListCertificateMapsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { certificateMaps_ = java.util.Collections.unmodifiableList(certificateMaps_); @@ -130,27 +107,22 @@ private ListCertificateMapsResponse( makeExtensionsImmutable(); } } - - 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.
    * 
@@ -158,13 +130,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * 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.
    * 
@@ -172,13 +141,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * 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.
    * 
@@ -190,8 +157,6 @@ public int getCertificateMapsCount() { return certificateMaps_.size(); } /** - * - * *
    * A list of certificate maps for the parent resource.
    * 
@@ -203,8 +168,6 @@ public com.google.cloud.certificatemanager.v1.CertificateMap getCertificateMaps( return certificateMaps_.get(index); } /** - * - * *
    * A list of certificate maps for the parent resource.
    * 
@@ -220,8 +183,6 @@ 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
@@ -229,7 +190,6 @@ public com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder getCertifi
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -238,15 +198,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * 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
@@ -254,15 +213,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -273,42 +233,34 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { 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. */ @@ -316,23 +268,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -344,7 +293,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -364,7 +314,8 @@ 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_); @@ -385,17 +336,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -423,147 +376,135 @@ 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() + // Construct using com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getCertificateMapsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -581,16 +522,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_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 @@ -604,8 +543,7 @@ 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)) { @@ -630,51 +568,46 @@ 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()) { @@ -693,10 +626,9 @@ public Builder mergeFrom( 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_); } @@ -735,9 +667,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -746,39 +676,28 @@ public Builder mergeFrom( } 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 { @@ -786,14 +705,11 @@ private void ensureCertificateMapsIsMutable() { } } /** - * - * *
      * 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) { @@ -803,14 +719,11 @@ 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) { @@ -820,14 +733,11 @@ 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) { @@ -844,14 +754,11 @@ 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) { @@ -865,14 +772,11 @@ 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) { @@ -888,14 +792,11 @@ 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) { @@ -912,14 +813,11 @@ 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) { @@ -933,14 +831,11 @@ 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) { @@ -954,21 +849,18 @@ 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); @@ -976,14 +868,11 @@ 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) { @@ -996,14 +885,11 @@ 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) { @@ -1016,49 +902,39 @@ 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 { @@ -1066,62 +942,45 @@ public com.google.cloud.certificatemanager.v1.CertificateMap.Builder getCertific } } /** - * - * *
      * 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(), @@ -1133,8 +992,6 @@ 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
@@ -1142,13 +999,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; @@ -1157,8 +1014,6 @@ 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
@@ -1166,14 +1021,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1181,8 +1037,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * 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
@@ -1190,22 +1044,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * 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
@@ -1213,18 +1065,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * 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
@@ -1232,67 +1081,57 @@ 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. */ @@ -1300,90 +1139,80 @@ 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() { @@ -1393,30 +1222,28 @@ 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); } @@ -1426,32 +1253,30 @@ 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 { - return new ListCertificateMapsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListCertificateMapsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1463,8 +1288,9 @@ 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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponseOrBuilder.java similarity index 76% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponseOrBuilder.java index 8682547..97dd907 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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.
    * 
@@ -44,8 +25,6 @@ public interface ListCertificateMapsResponseOrBuilder */ com.google.cloud.certificatemanager.v1.CertificateMap getCertificateMaps(int index); /** - * - * *
    * A list of certificate maps for the parent resource.
    * 
@@ -54,19 +33,15 @@ public interface ListCertificateMapsResponseOrBuilder */ 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.
    * 
@@ -77,8 +52,6 @@ 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
@@ -86,13 +59,10 @@ 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
@@ -100,59 +70,49 @@ 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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequest.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequest.java similarity index 70% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequest.java index 08841c2..bcf9b85 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; @@ -46,15 +28,16 @@ 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; } - private ListCertificatesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListCertificatesRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,42 +99,35 @@ private ListCertificatesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -164,32 +136,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The project and location from which 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 { @@ -200,14 +170,11 @@ public com.google.protobuf.ByteString getParentBytes() { 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 @@ -218,8 +185,6 @@ 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
@@ -227,7 +192,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -236,15 +200,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The value returned by the last `ListCertificatesResponse`. Indicates that
    * this is a continuation of a prior `ListCertificates` call, and that the
@@ -252,15 +215,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -271,14 +235,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * Filter expression to restrict the Certificates returned.
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -287,29 +248,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 { @@ -320,8 +281,6 @@ public com.google.protobuf.ByteString getFilterBytes() { 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
@@ -329,7 +288,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * string order_by = 5; - * * @return The orderBy. */ @java.lang.Override @@ -338,15 +296,14 @@ 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
@@ -354,15 +311,16 @@ 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 { @@ -371,7 +329,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -383,7 +340,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -412,7 +370,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -431,19 +390,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -471,127 +434,117 @@ 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() @@ -599,15 +552,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -625,14 +579,13 @@ 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(); } @@ -647,8 +600,7 @@ 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_; @@ -662,39 +614,38 @@ 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; @@ -702,9 +653,7 @@ 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(); @@ -743,9 +692,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.certificatemanager.v1.ListCertificatesRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.certificatemanager.v1.ListCertificatesRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -757,23 +704,19 @@ 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; @@ -782,24 +725,21 @@ 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 { @@ -807,85 +747,69 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * 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 @@ -893,36 +817,30 @@ 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; @@ -930,8 +848,6 @@ 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
@@ -939,13 +855,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; @@ -954,8 +870,6 @@ 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
@@ -963,14 +877,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -978,8 +893,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The value returned by the last `ListCertificatesResponse`. Indicates that
      * this is a continuation of a prior `ListCertificates` call, and that the
@@ -987,22 +900,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The value returned by the last `ListCertificatesResponse`. Indicates that
      * this is a continuation of a prior `ListCertificates` call, and that the
@@ -1010,18 +921,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The value returned by the last `ListCertificatesResponse`. Indicates that
      * this is a continuation of a prior `ListCertificates` call, and that the
@@ -1029,16 +937,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; @@ -1046,20 +954,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { 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; @@ -1068,21 +974,20 @@ 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 { @@ -1090,61 +995,54 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * 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; @@ -1152,8 +1050,6 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { 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
@@ -1161,13 +1057,13 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; @@ -1176,8 +1072,6 @@ 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
@@ -1185,14 +1079,15 @@ 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 { @@ -1200,8 +1095,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * A list of Certificate field names used to specify the order of the returned
      * results. The default sorting order is ascending. To specify descending
@@ -1209,22 +1102,20 @@ public com.google.protobuf.ByteString getOrderByBytes() {
      * 
* * 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
@@ -1232,18 +1123,15 @@ public Builder setOrderBy(java.lang.String value) {
      * 
* * 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
@@ -1251,23 +1139,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); } @@ -1277,32 +1165,30 @@ 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 { - return new ListCertificatesRequest(input, extensionRegistry); - } - }; + 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 { + return new ListCertificatesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1314,8 +1200,9 @@ 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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequestOrBuilder.java similarity index 68% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequestOrBuilder.java index 48ed00e..41dbbd5 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequestOrBuilder.java @@ -1,75 +1,45 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the 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
@@ -77,13 +47,10 @@ public interface ListCertificatesRequestOrBuilder
    * 
* * 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
@@ -91,39 +58,32 @@ public interface ListCertificatesRequestOrBuilder
    * 
* * 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
@@ -131,13 +91,10 @@ public interface ListCertificatesRequestOrBuilder
    * 
* * 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
@@ -145,8 +102,8 @@ public interface ListCertificatesRequestOrBuilder
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponse.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponse.java similarity index 74% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponse.java index 514575f..588770b 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; @@ -45,15 +27,16 @@ 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; } - private ListCertificatesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,43 +56,37 @@ private ListCertificatesResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - certificates_ = - new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; - } - certificates_.add( - input.readMessage( - com.google.cloud.certificatemanager.v1.Certificate.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + certificates_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + certificates_.add( + input.readMessage(com.google.cloud.certificatemanager.v1.Certificate.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - unreachable_.add(s); - break; + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -117,7 +94,8 @@ private ListCertificatesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { certificates_ = java.util.Collections.unmodifiableList(certificates_); @@ -129,27 +107,22 @@ private ListCertificatesResponse( makeExtensionsImmutable(); } } - - 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.
    * 
@@ -161,8 +134,6 @@ public java.util.List getCer return certificates_; } /** - * - * *
    * A list of certificates for the parent resource.
    * 
@@ -170,13 +141,11 @@ 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.
    * 
@@ -188,8 +157,6 @@ public int getCertificatesCount() { return certificates_.size(); } /** - * - * *
    * A list of certificates for the parent resource.
    * 
@@ -201,8 +168,6 @@ public com.google.cloud.certificatemanager.v1.Certificate getCertificates(int in return certificates_.get(index); } /** - * - * *
    * A list of certificates for the parent resource.
    * 
@@ -218,8 +183,6 @@ 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
@@ -227,7 +190,6 @@ public com.google.cloud.certificatemanager.v1.CertificateOrBuilder getCertificat
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -236,15 +198,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * 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
@@ -252,15 +213,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -271,42 +233,34 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { 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. */ @@ -314,23 +268,20 @@ 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; @@ -342,7 +293,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -362,7 +314,8 @@ 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_); @@ -383,17 +336,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -421,127 +376,117 @@ 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() @@ -549,17 +494,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getCertificatesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -577,14 +522,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.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(); } @@ -599,8 +543,7 @@ 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)) { @@ -625,50 +568,46 @@ 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()) { @@ -687,10 +626,9 @@ public Builder mergeFrom( 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_); } @@ -729,9 +667,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.certificatemanager.v1.ListCertificatesResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.certificatemanager.v1.ListCertificatesResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -740,38 +676,28 @@ public Builder mergeFrom( } 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 { @@ -779,8 +705,6 @@ private void ensureCertificatesIsMutable() { } } /** - * - * *
      * A list of certificates for the parent resource.
      * 
@@ -795,8 +719,6 @@ public int getCertificatesCount() { } } /** - * - * *
      * A list of certificates for the parent resource.
      * 
@@ -811,8 +733,6 @@ public com.google.cloud.certificatemanager.v1.Certificate getCertificates(int in } } /** - * - * *
      * A list of certificates for the parent resource.
      * 
@@ -834,8 +754,6 @@ public Builder setCertificates( return this; } /** - * - * *
      * A list of certificates for the parent resource.
      * 
@@ -854,8 +772,6 @@ public Builder setCertificates( return this; } /** - * - * *
      * A list of certificates for the parent resource.
      * 
@@ -876,8 +792,6 @@ public Builder addCertificates(com.google.cloud.certificatemanager.v1.Certificat return this; } /** - * - * *
      * A list of certificates for the parent resource.
      * 
@@ -899,8 +813,6 @@ public Builder addCertificates( return this; } /** - * - * *
      * A list of certificates for the parent resource.
      * 
@@ -919,8 +831,6 @@ public Builder addCertificates( return this; } /** - * - * *
      * A list of certificates for the parent resource.
      * 
@@ -939,8 +849,6 @@ public Builder addCertificates( return this; } /** - * - * *
      * A list of certificates for the parent resource.
      * 
@@ -951,7 +859,8 @@ 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); @@ -959,8 +868,6 @@ public Builder addAllCertificates( return this; } /** - * - * *
      * A list of certificates for the parent resource.
      * 
@@ -978,8 +885,6 @@ public Builder clearCertificates() { return this; } /** - * - * *
      * A list of certificates for the parent resource.
      * 
@@ -997,8 +902,6 @@ public Builder removeCertificates(int index) { return this; } /** - * - * *
      * A list of certificates for the parent resource.
      * 
@@ -1010,8 +913,6 @@ public com.google.cloud.certificatemanager.v1.Certificate.Builder getCertificate return getCertificatesFieldBuilder().getBuilder(index); } /** - * - * *
      * A list of certificates for the parent resource.
      * 
@@ -1021,22 +922,19 @@ 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 { @@ -1044,8 +942,6 @@ public com.google.cloud.certificatemanager.v1.CertificateOrBuilder getCertificat } } /** - * - * *
      * A list of certificates for the parent resource.
      * 
@@ -1053,12 +949,10 @@ 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.
      * 
@@ -1067,36 +961,30 @@ 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_; @@ -1104,8 +992,6 @@ 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
@@ -1113,13 +999,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; @@ -1128,8 +1014,6 @@ 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
@@ -1137,14 +1021,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1152,8 +1037,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * 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
@@ -1161,22 +1044,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * 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
@@ -1184,18 +1065,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * 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
@@ -1203,67 +1081,57 @@ 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. */ @@ -1271,90 +1139,80 @@ 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() { @@ -1364,30 +1222,28 @@ 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); } @@ -1397,32 +1253,30 @@ 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 { - return new ListCertificatesResponse(input, extensionRegistry); - } - }; + 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 { + return new ListCertificatesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1434,8 +1288,9 @@ 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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponseOrBuilder.java similarity index 75% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponseOrBuilder.java index ef36a57..f5fdc75 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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.
    * 
@@ -44,8 +25,6 @@ public interface ListCertificatesResponseOrBuilder */ com.google.cloud.certificatemanager.v1.Certificate getCertificates(int index); /** - * - * *
    * A list of certificates for the parent resource.
    * 
@@ -54,30 +33,25 @@ public interface ListCertificatesResponseOrBuilder */ 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
@@ -85,13 +59,10 @@ public interface ListCertificatesResponseOrBuilder
    * 
* * 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
@@ -99,59 +70,49 @@ public interface ListCertificatesResponseOrBuilder
    * 
* * 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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequest.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequest.java similarity index 69% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequest.java index 8c0cd6b..e08b527 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequest.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; @@ -46,15 +28,16 @@ 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; } - private ListDnsAuthorizationsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,46 +56,42 @@ private ListDnsAuthorizationsRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - parent_ = s; - break; - } - case 16: - { - pageSize_ = input.readInt32(); - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: { - pageToken_ = s; - break; - } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); + pageSize_ = input.readInt32(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + filter_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + orderBy_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,42 +99,35 @@ private ListDnsAuthorizationsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -164,32 +136,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. The project and location from which 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 { @@ -200,14 +170,11 @@ public com.google.protobuf.ByteString getParentBytes() { 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 @@ -218,8 +185,6 @@ 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
@@ -227,7 +192,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -236,15 +200,14 @@ public java.lang.String getPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; } } /** - * - * *
    * The value returned by the last `ListDnsAuthorizationsResponse`. Indicates
    * that this is a continuation of a prior `ListDnsAuthorizations` call, and
@@ -252,15 +215,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -271,14 +235,11 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int FILTER_FIELD_NUMBER = 4; private volatile java.lang.Object filter_; /** - * - * *
    * Filter expression to restrict the Dns Authorizations returned.
    * 
* * string filter = 4; - * * @return The filter. */ @java.lang.Override @@ -287,29 +248,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 { @@ -320,8 +281,6 @@ public com.google.protobuf.ByteString getFilterBytes() { 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
@@ -329,7 +288,6 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * 
* * string order_by = 5; - * * @return The orderBy. */ @java.lang.Override @@ -338,15 +296,14 @@ 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
@@ -354,15 +311,16 @@ 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 { @@ -371,7 +329,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -383,7 +340,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -412,7 +370,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); @@ -431,19 +390,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -471,145 +434,134 @@ 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() + // Construct using com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -627,16 +579,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_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 @@ -650,8 +600,7 @@ 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_; @@ -665,51 +614,46 @@ 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(); @@ -748,9 +692,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -762,23 +704,19 @@ 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; @@ -787,24 +725,21 @@ 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 { @@ -812,85 +747,69 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * 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 @@ -898,36 +817,30 @@ 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; @@ -935,8 +848,6 @@ 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
@@ -944,13 +855,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; @@ -959,8 +870,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The value returned by the last `ListDnsAuthorizationsResponse`. Indicates
      * that this is a continuation of a prior `ListDnsAuthorizations` call, and
@@ -968,14 +877,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -983,8 +893,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The value returned by the last `ListDnsAuthorizationsResponse`. Indicates
      * that this is a continuation of a prior `ListDnsAuthorizations` call, and
@@ -992,22 +900,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * The value returned by the last `ListDnsAuthorizationsResponse`. Indicates
      * that this is a continuation of a prior `ListDnsAuthorizations` call, and
@@ -1015,18 +921,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * The value returned by the last `ListDnsAuthorizationsResponse`. Indicates
      * that this is a continuation of a prior `ListDnsAuthorizations` call, and
@@ -1034,16 +937,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; @@ -1051,20 +954,18 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { 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; @@ -1073,21 +974,20 @@ 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 { @@ -1095,61 +995,54 @@ public com.google.protobuf.ByteString getFilterBytes() { } } /** - * - * *
      * 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; @@ -1157,8 +1050,6 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { 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
@@ -1166,13 +1057,13 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; @@ -1181,8 +1072,6 @@ 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
@@ -1190,14 +1079,15 @@ 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 { @@ -1205,8 +1095,6 @@ public com.google.protobuf.ByteString getOrderByBytes() { } } /** - * - * *
      * A list of Dns Authorization field names used to specify the order of the
      * returned results. The default sorting order is ascending. To specify
@@ -1214,22 +1102,20 @@ public com.google.protobuf.ByteString getOrderByBytes() {
      * 
* * 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
@@ -1237,18 +1123,15 @@ public Builder setOrderBy(java.lang.String value) {
      * 
* * 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
@@ -1256,23 +1139,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); } @@ -1282,32 +1165,30 @@ 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 { - return new ListDnsAuthorizationsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListDnsAuthorizationsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1319,8 +1200,9 @@ 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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequestOrBuilder.java similarity index 68% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequestOrBuilder.java index 6fec350..792ce0c 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequestOrBuilder.java @@ -1,75 +1,45 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the 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
@@ -77,13 +47,10 @@ public interface ListDnsAuthorizationsRequestOrBuilder
    * 
* * 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
@@ -91,39 +58,32 @@ public interface ListDnsAuthorizationsRequestOrBuilder
    * 
* * 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
@@ -131,13 +91,10 @@ public interface ListDnsAuthorizationsRequestOrBuilder
    * 
* * 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
@@ -145,8 +102,8 @@ public interface ListDnsAuthorizationsRequestOrBuilder
    * 
* * string order_by = 5; - * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString getOrderByBytes(); + com.google.protobuf.ByteString + getOrderByBytes(); } diff --git a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponse.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponse.java similarity index 70% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponse.java index cf50b11..cf83f88 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponse.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; @@ -45,15 +27,16 @@ 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; } - private ListDnsAuthorizationsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,44 +56,37 @@ private ListDnsAuthorizationsResponse( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dnsAuthorizations_ = - new java.util.ArrayList< - com.google.cloud.certificatemanager.v1.DnsAuthorization>(); - mutable_bitField0_ |= 0x00000001; - } - dnsAuthorizations_.add( - input.readMessage( - com.google.cloud.certificatemanager.v1.DnsAuthorization.parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dnsAuthorizations_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + dnsAuthorizations_.add( + input.readMessage(com.google.cloud.certificatemanager.v1.DnsAuthorization.parser(), extensionRegistry)); + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; - } - unreachable_.add(s); - break; + nextPageToken_ = s; + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + unreachable_.add(s); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -118,7 +94,8 @@ private ListDnsAuthorizationsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { dnsAuthorizations_ = java.util.Collections.unmodifiableList(dnsAuthorizations_); @@ -130,104 +107,82 @@ private ListDnsAuthorizationsResponse( makeExtensionsImmutable(); } } - - 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
@@ -235,7 +190,6 @@ public com.google.cloud.certificatemanager.v1.DnsAuthorization getDnsAuthorizati
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -244,15 +198,14 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * 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
@@ -260,15 +213,16 @@ public java.lang.String getNextPageToken() {
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -279,42 +233,34 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { 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. */ @@ -322,23 +268,20 @@ public java.lang.String getUnreachable(int index) { return unreachable_.get(index); } /** - * - * *
    * Locations that could not be reached.
    * 
* * repeated string unreachable = 3; - * * @param index The index of the value to return. * @return The bytes of the unreachable at the given index. */ - public com.google.protobuf.ByteString getUnreachableBytes(int index) { + public com.google.protobuf.ByteString + getUnreachableBytes(int index) { return unreachable_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -350,7 +293,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -370,8 +314,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_); @@ -392,17 +336,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -430,147 +376,135 @@ 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() + // Construct using com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getDnsAuthorizationsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -588,16 +522,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_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 @@ -611,8 +543,7 @@ 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)) { @@ -637,51 +568,46 @@ 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()) { @@ -700,10 +626,9 @@ public Builder mergeFrom( 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_); } @@ -742,9 +667,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -753,39 +676,28 @@ public Builder mergeFrom( } 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 { @@ -793,14 +705,11 @@ private void ensureDnsAuthorizationsIsMutable() { } } /** - * - * *
      * 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) { @@ -810,14 +719,11 @@ 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) { @@ -827,14 +733,11 @@ 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) { @@ -851,18 +754,14 @@ 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()); @@ -873,17 +772,13 @@ 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(); @@ -897,14 +792,11 @@ 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 value) { @@ -921,14 +813,11 @@ 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) { @@ -942,18 +831,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( - 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()); @@ -964,21 +849,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 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); @@ -986,14 +868,11 @@ 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) { @@ -1006,14 +885,11 @@ 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) { @@ -1026,50 +902,39 @@ 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< - ? extends com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder> - getDnsAuthorizationsOrBuilderList() { + public java.util.List + getDnsAuthorizationsOrBuilderList() { if (dnsAuthorizationsBuilder_ != null) { return dnsAuthorizationsBuilder_.getMessageOrBuilderList(); } else { @@ -1077,62 +942,45 @@ public Builder removeDnsAuthorizations(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; */ - 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(), @@ -1144,8 +992,6 @@ public Builder removeDnsAuthorizations(int index) { 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
@@ -1153,13 +999,13 @@ public Builder removeDnsAuthorizations(int index) {
      * 
* * 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; @@ -1168,8 +1014,6 @@ 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
@@ -1177,14 +1021,15 @@ public java.lang.String getNextPageToken() {
      * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - public com.google.protobuf.ByteString getNextPageTokenBytes() { + public com.google.protobuf.ByteString + getNextPageTokenBytes() { java.lang.Object ref = nextPageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); nextPageToken_ = b; return b; } else { @@ -1192,8 +1037,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * 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
@@ -1201,22 +1044,20 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; onChanged(); return this; } /** - * - * *
      * 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
@@ -1224,18 +1065,15 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); onChanged(); return this; } /** - * - * *
      * 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
@@ -1243,67 +1081,57 @@ 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. */ @@ -1311,90 +1139,80 @@ 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() { @@ -1404,30 +1222,28 @@ 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); } @@ -1437,32 +1253,30 @@ 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 { - return new ListDnsAuthorizationsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListDnsAuthorizationsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1474,8 +1288,9 @@ 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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponseOrBuilder.java similarity index 72% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponseOrBuilder.java index 8d9973a..66639da 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponseOrBuilder.java @@ -1,90 +1,57 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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
@@ -92,13 +59,10 @@ 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
@@ -106,59 +70,49 @@ 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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/LocationName.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/LocationName.java similarity index 100% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/LocationName.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/LocationName.java diff --git a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadata.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadata.java similarity index 73% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadata.java index 855a21f..0b74af0 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadata.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = ""; @@ -46,15 +28,16 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,76 +56,68 @@ private OperationMetadata( case 0: done = true; break; - case 10: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - - break; + createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); } - case 26: - { - java.lang.String s = input.readStringRequireUtf8(); - target_ = s; - break; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); } - case 34: - { - java.lang.String s = input.readStringRequireUtf8(); - - verb_ = s; - break; + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - statusMessage_ = s; - break; - } - case 48: - { - requestedCancellation_ = input.readBool(); - break; - } - case 58: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 26: { + java.lang.String s = input.readStringRequireUtf8(); - apiVersion_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + target_ = s; + break; + } + case 34: { + java.lang.String s = input.readStringRequireUtf8(); + + verb_ = s; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); + + statusMessage_ = s; + break; + } + case 48: { + + requestedCancellation_ = input.readBool(); + break; + } + case 58: { + java.lang.String s = input.readStringRequireUtf8(); + + apiVersion_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -150,39 +125,34 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -190,14 +160,11 @@ public boolean hasCreateTime() { return createTime_ != null; } /** - * - * *
    * The time the operation was created.
    * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return The createTime. */ @java.lang.Override @@ -205,8 +172,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time the operation was created.
    * 
@@ -221,14 +186,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -236,14 +198,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -251,8 +210,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time the operation finished running.
    * 
@@ -267,14 +224,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int TARGET_FIELD_NUMBER = 3; private volatile java.lang.Object target_; /** - * - * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; - * * @return The target. */ @java.lang.Override @@ -283,29 +237,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 { @@ -316,14 +270,11 @@ public com.google.protobuf.ByteString getTargetBytes() { public static final int VERB_FIELD_NUMBER = 4; private volatile java.lang.Object verb_; /** - * - * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; - * * @return The verb. */ @java.lang.Override @@ -332,29 +283,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 { @@ -365,14 +316,11 @@ public com.google.protobuf.ByteString getVerbBytes() { 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 @@ -381,29 +329,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 { @@ -414,8 +362,6 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { 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
@@ -424,7 +370,6 @@ public com.google.protobuf.ByteString getStatusMessageBytes() {
    * 
* * bool requested_cancellation = 6; - * * @return The requestedCancellation. */ @java.lang.Override @@ -435,14 +380,11 @@ 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 @@ -451,29 +393,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 { @@ -482,7 +424,6 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -494,7 +435,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -526,10 +468,12 @@ public int getSerializedSize() { size = 0; if (createTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCreateTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(target_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, target_); @@ -541,7 +485,8 @@ 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_); @@ -554,27 +499,33 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -601,7 +552,8 @@ public int hashCode() { hash = (37 * hash) + STATUS_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getStatusMessage().hashCode(); hash = (37 * hash) + REQUESTED_CANCELLATION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getRequestedCancellation()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getRequestedCancellation()); hash = (37 * hash) + API_VERSION_FIELD_NUMBER; hash = (53 * hash) + getApiVersion().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); @@ -610,127 +562,117 @@ 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() @@ -738,15 +680,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -776,9 +719,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 @@ -797,8 +740,7 @@ 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 { @@ -822,39 +764,38 @@ 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; @@ -862,8 +803,7 @@ 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()); } @@ -908,8 +848,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.certificatemanager.v1.OperationMetadata) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.certificatemanager.v1.OperationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -921,47 +860,34 @@ public Builder mergeFrom( private com.google.protobuf.Timestamp createTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - createTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> createTimeBuilder_; /** - * - * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return createTimeBuilder_ != null || createTime_ != null; } /** - * - * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; - * * @return The createTime. */ public com.google.protobuf.Timestamp getCreateTime() { if (createTimeBuilder_ == null) { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } else { return createTimeBuilder_.getMessage(); } } /** - * - * *
      * The time the operation was created.
      * 
@@ -982,15 +908,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation was created.
      * 
* * .google.protobuf.Timestamp create_time = 1; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); onChanged(); @@ -1001,8 +926,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -1013,7 +936,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; } @@ -1025,8 +948,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -1045,8 +966,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The time the operation was created.
      * 
@@ -1054,13 +973,11 @@ public Builder clearCreateTime() { * .google.protobuf.Timestamp create_time = 1; */ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { - + onChanged(); return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time the operation was created.
      * 
@@ -1071,14 +988,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { if (createTimeBuilder_ != null) { return createTimeBuilder_.getMessageOrBuilder(); } else { - return createTime_ == null - ? com.google.protobuf.Timestamp.getDefaultInstance() - : createTime_; + return createTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } } /** - * - * *
      * The time the operation was created.
      * 
@@ -1086,17 +1000,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_time = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getCreateTimeFieldBuilder() { if (createTimeBuilder_ == null) { - createTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getCreateTime(), getParentForChildren(), isClean()); + createTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getCreateTime(), + getParentForChildren(), + isClean()); createTime_ = null; } return createTimeBuilder_; @@ -1104,33 +1015,24 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return endTimeBuilder_ != null || endTime_ != null; } /** - * - * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1141,8 +1043,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1163,15 +1063,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation finished running.
      * 
* * .google.protobuf.Timestamp end_time = 2; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); onChanged(); @@ -1182,8 +1081,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1194,7 +1091,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; } @@ -1206,8 +1103,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1226,8 +1121,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1235,13 +1128,11 @@ public Builder clearEndTime() { * .google.protobuf.Timestamp end_time = 2; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - + onChanged(); return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1252,12 +1143,11 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * The time the operation finished running.
      * 
@@ -1265,17 +1155,14 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { * .google.protobuf.Timestamp end_time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; @@ -1283,20 +1170,18 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private java.lang.Object target_ = ""; /** - * - * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; - * * @return The target. */ public java.lang.String getTarget() { java.lang.Object ref = target_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); target_ = s; return s; @@ -1305,21 +1190,20 @@ public java.lang.String getTarget() { } } /** - * - * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; - * * @return The bytes for target. */ - public com.google.protobuf.ByteString getTargetBytes() { + public com.google.protobuf.ByteString + getTargetBytes() { java.lang.Object ref = target_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); target_ = b; return b; } else { @@ -1327,61 +1211,54 @@ public com.google.protobuf.ByteString getTargetBytes() { } } /** - * - * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; - * * @param value The target to set. * @return This builder for chaining. */ - public Builder setTarget(java.lang.String value) { + public Builder setTarget( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + target_ = value; onChanged(); return this; } /** - * - * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; - * * @return This builder for chaining. */ public Builder clearTarget() { - + target_ = getDefaultInstance().getTarget(); onChanged(); return this; } /** - * - * *
      * Server-defined resource path for the target of the operation.
      * 
* * string target = 3; - * * @param value The bytes for target to set. * @return This builder for chaining. */ - public Builder setTargetBytes(com.google.protobuf.ByteString value) { + public Builder setTargetBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + target_ = value; onChanged(); return this; @@ -1389,20 +1266,18 @@ public Builder setTargetBytes(com.google.protobuf.ByteString value) { private java.lang.Object verb_ = ""; /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @return The verb. */ public java.lang.String getVerb() { java.lang.Object ref = verb_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); verb_ = s; return s; @@ -1411,21 +1286,20 @@ public java.lang.String getVerb() { } } /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @return The bytes for verb. */ - public com.google.protobuf.ByteString getVerbBytes() { + public com.google.protobuf.ByteString + getVerbBytes() { java.lang.Object ref = verb_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); verb_ = b; return b; } else { @@ -1433,61 +1307,54 @@ public com.google.protobuf.ByteString getVerbBytes() { } } /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @param value The verb to set. * @return This builder for chaining. */ - public Builder setVerb(java.lang.String value) { + public Builder setVerb( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + verb_ = value; onChanged(); return this; } /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @return This builder for chaining. */ public Builder clearVerb() { - + verb_ = getDefaultInstance().getVerb(); onChanged(); return this; } /** - * - * *
      * Name of the verb executed by the operation.
      * 
* * string verb = 4; - * * @param value The bytes for verb to set. * @return This builder for chaining. */ - public Builder setVerbBytes(com.google.protobuf.ByteString value) { + public Builder setVerbBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + verb_ = value; onChanged(); return this; @@ -1495,20 +1362,18 @@ public Builder setVerbBytes(com.google.protobuf.ByteString value) { 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; @@ -1517,21 +1382,20 @@ 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 { @@ -1539,70 +1403,61 @@ public com.google.protobuf.ByteString getStatusMessageBytes() { } } /** - * - * *
      * 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
@@ -1611,7 +1466,6 @@ public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) {
      * 
* * bool requested_cancellation = 6; - * * @return The requestedCancellation. */ @java.lang.Override @@ -1619,8 +1473,6 @@ public boolean getRequestedCancellation() { return requestedCancellation_; } /** - * - * *
      * Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1629,19 +1481,16 @@ 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
@@ -1650,11 +1499,10 @@ public Builder setRequestedCancellation(boolean value) {
      * 
* * bool requested_cancellation = 6; - * * @return This builder for chaining. */ public Builder clearRequestedCancellation() { - + requestedCancellation_ = false; onChanged(); return this; @@ -1662,20 +1510,18 @@ 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; @@ -1684,21 +1530,20 @@ 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 { @@ -1706,68 +1551,61 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } } /** - * - * *
      * 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); } @@ -1777,12 +1615,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(); } @@ -1791,16 +1629,16 @@ 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 { - return new OperationMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1815,4 +1653,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.certificatemanager.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadataOrBuilder.java similarity index 76% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadataOrBuilder.java index a4039e6..700b847 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadataOrBuilder.java @@ -1,55 +1,31 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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.
    * 
@@ -59,32 +35,24 @@ public interface OperationMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The time the operation finished running.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The time the operation finished running.
    * 
@@ -94,83 +62,66 @@ public interface OperationMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; - * * @return The target. */ java.lang.String getTarget(); /** - * - * *
    * Server-defined resource path for the target of the operation.
    * 
* * string target = 3; - * * @return The bytes for target. */ - com.google.protobuf.ByteString getTargetBytes(); + com.google.protobuf.ByteString + getTargetBytes(); /** - * - * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; - * * @return The verb. */ java.lang.String getVerb(); /** - * - * *
    * Name of the verb executed by the operation.
    * 
* * string verb = 4; - * * @return The bytes for verb. */ - com.google.protobuf.ByteString getVerbBytes(); + com.google.protobuf.ByteString + getVerbBytes(); /** - * - * *
    * Human-readable status of the operation, if any.
    * 
* * string status_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
@@ -179,33 +130,27 @@ public interface OperationMetadataOrBuilder
    * 
* * 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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ServingState.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ServingState.java similarity index 66% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ServingState.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ServingState.java index 9037a15..61fbe1d 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ServingState.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ServingState.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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.
    * 
@@ -39,8 +21,6 @@ public enum ServingState implements com.google.protobuf.ProtocolMessageEnum { */ SERVING_STATE_UNSPECIFIED(0), /** - * - * *
    * The configuration is serving.
    * 
@@ -49,8 +29,6 @@ public enum ServingState implements com.google.protobuf.ProtocolMessageEnum { */ ACTIVE(1), /** - * - * *
    * Update is in progress. Some frontends may serve this configuration.
    * 
@@ -62,8 +40,6 @@ public enum ServingState implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * The status is undefined.
    * 
@@ -72,8 +48,6 @@ public enum ServingState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SERVING_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * The configuration is serving.
    * 
@@ -82,8 +56,6 @@ public enum ServingState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTIVE_VALUE = 1; /** - * - * *
    * Update is in progress. Some frontends may serve this configuration.
    * 
@@ -92,6 +64,7 @@ public enum ServingState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PENDING_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -116,51 +89,49 @@ 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 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< + 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() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.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; @@ -176,3 +147,4 @@ private ServingState(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.certificatemanager.v1.ServingState) } + diff --git a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequest.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequest.java similarity index 62% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequest.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequest.java index c89e727..cbb92d3 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequest.java @@ -1,56 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - private UpdateCertificateMapEntryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -69,45 +52,39 @@ private UpdateCertificateMapEntryRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder subBuilder = null; - if (certificateMapEntry_ != null) { - subBuilder = certificateMapEntry_.toBuilder(); - } - certificateMapEntry_ = - input.readMessage( - com.google.cloud.certificatemanager.v1.CertificateMapEntry.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(certificateMapEntry_); - certificateMapEntry_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder subBuilder = null; + if (certificateMapEntry_ != null) { + subBuilder = certificateMapEntry_.toBuilder(); + } + certificateMapEntry_ = input.readMessage(com.google.cloud.certificatemanager.v1.CertificateMapEntry.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(certificateMapEntry_); + certificateMapEntry_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -115,41 +92,34 @@ private UpdateCertificateMapEntryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -157,55 +127,39 @@ 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 @@ -213,17 +167,13 @@ 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 @@ -231,16 +181,13 @@ 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() { @@ -248,7 +195,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -260,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (certificateMapEntry_ != null) { output.writeMessage(1, getCertificateMapEntry()); } @@ -277,10 +224,12 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -290,21 +239,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -331,146 +281,134 @@ 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() + // Construct using com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -490,22 +428,19 @@ 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); } @@ -514,8 +449,7 @@ 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 { @@ -534,52 +468,46 @@ 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()); } @@ -605,9 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -619,61 +545,41 @@ 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(); @@ -687,15 +593,11 @@ 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 setCertificateMapEntry( com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder builderForValue) { @@ -709,25 +611,17 @@ 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; } @@ -739,15 +633,11 @@ public Builder mergeCertificateMapEntry( 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) { @@ -761,66 +651,48 @@ 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_; @@ -828,61 +700,45 @@ public Builder clearCertificateMapEntry() { 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) { @@ -898,18 +754,16 @@ 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(); @@ -920,22 +774,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal 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; } @@ -947,16 +798,13 @@ 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) { @@ -970,74 +818,61 @@ 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); } @@ -1047,33 +882,30 @@ 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 { - return new UpdateCertificateMapEntryRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateCertificateMapEntryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1085,8 +917,9 @@ 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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequestOrBuilder.java similarity index 59% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequestOrBuilder.java index 8276f48..2ebbfb7 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequestOrBuilder.java @@ -1,111 +1,69 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequest.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequest.java similarity index 63% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequest.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequest.java index 5ef3685..36af60a 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - private UpdateCertificateMapRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,45 +52,39 @@ private UpdateCertificateMapRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.certificatemanager.v1.CertificateMap.Builder subBuilder = null; - if (certificateMap_ != null) { - subBuilder = certificateMap_.toBuilder(); - } - certificateMap_ = - input.readMessage( - com.google.cloud.certificatemanager.v1.CertificateMap.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(certificateMap_); - certificateMap_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.certificatemanager.v1.CertificateMap.Builder subBuilder = null; + if (certificateMap_ != null) { + subBuilder = certificateMap_.toBuilder(); + } + certificateMap_ = input.readMessage(com.google.cloud.certificatemanager.v1.CertificateMap.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(certificateMap_); + certificateMap_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,41 +92,34 @@ private UpdateCertificateMapRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -156,55 +127,39 @@ 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 @@ -212,17 +167,13 @@ 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 @@ -230,16 +181,13 @@ 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() { @@ -247,7 +195,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -259,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (certificateMap_ != null) { output.writeMessage(1, getCertificateMap()); } @@ -276,10 +224,12 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -289,21 +239,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -330,145 +281,134 @@ 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() + // Construct using com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -488,16 +428,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_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 @@ -511,8 +449,7 @@ 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 { @@ -531,51 +468,46 @@ 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()); } @@ -601,9 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -615,58 +545,39 @@ 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) { @@ -682,15 +593,11 @@ 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) { @@ -704,24 +611,17 @@ 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; } @@ -733,15 +633,11 @@ public Builder mergeCertificateMap( 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) { @@ -755,66 +651,48 @@ 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_; @@ -822,61 +700,45 @@ public Builder clearCertificateMap() { 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) { @@ -892,18 +754,16 @@ 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(); @@ -914,22 +774,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal 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; } @@ -941,16 +798,13 @@ 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) { @@ -964,74 +818,61 @@ 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); } @@ -1041,32 +882,30 @@ 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 { - return new UpdateCertificateMapRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateCertificateMapRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1078,8 +917,9 @@ 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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequestOrBuilder.java similarity index 60% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequestOrBuilder.java index afd435e..097d394 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequestOrBuilder.java @@ -1,110 +1,69 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequest.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequest.java similarity index 64% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequest.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequest.java index ec066dc..06cd2e0 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - private UpdateCertificateRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,45 +52,39 @@ private UpdateCertificateRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.certificatemanager.v1.Certificate.Builder subBuilder = null; - if (certificate_ != null) { - subBuilder = certificate_.toBuilder(); - } - certificate_ = - input.readMessage( - com.google.cloud.certificatemanager.v1.Certificate.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(certificate_); - certificate_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.certificatemanager.v1.Certificate.Builder subBuilder = null; + if (certificate_ != null) { + subBuilder = certificate_.toBuilder(); + } + certificate_ = input.readMessage(com.google.cloud.certificatemanager.v1.Certificate.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(certificate_); + certificate_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,41 +92,34 @@ private UpdateCertificateRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -156,34 +127,23 @@ 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() { @@ -193,17 +153,13 @@ 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 @@ -211,17 +167,13 @@ 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 @@ -229,16 +181,13 @@ 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() { @@ -246,7 +195,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -258,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (certificate_ != null) { output.writeMessage(1, getCertificate()); } @@ -275,10 +224,12 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -288,21 +239,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -329,127 +281,117 @@ 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() @@ -457,15 +399,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -485,14 +428,13 @@ 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(); } @@ -507,8 +449,7 @@ 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 { @@ -527,50 +468,46 @@ 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()); } @@ -596,9 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.certificatemanager.v1.UpdateCertificateRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.certificatemanager.v1.UpdateCertificateRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -610,58 +545,39 @@ 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) { @@ -677,15 +593,11 @@ 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) { @@ -699,23 +611,17 @@ 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; } @@ -727,15 +633,11 @@ 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) { @@ -749,64 +651,48 @@ 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_; @@ -814,61 +700,45 @@ 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) { @@ -884,18 +754,16 @@ 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(); @@ -906,22 +774,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal 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; } @@ -933,16 +798,13 @@ 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) { @@ -956,74 +818,61 @@ 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); } @@ -1033,32 +882,30 @@ 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 { - return new UpdateCertificateRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateCertificateRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1070,8 +917,9 @@ 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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequestOrBuilder.java similarity index 60% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequestOrBuilder.java index 40983ec..9f93868 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequestOrBuilder.java @@ -1,110 +1,69 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequest.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequest.java similarity index 63% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequest.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequest.java index 67cee5d..f6d09b8 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequest.java @@ -1,55 +1,39 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } - private UpdateDnsAuthorizationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -68,45 +52,39 @@ private UpdateDnsAuthorizationRequest( case 0: done = true; break; - case 10: - { - com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder subBuilder = null; - if (dnsAuthorization_ != null) { - subBuilder = dnsAuthorization_.toBuilder(); - } - dnsAuthorization_ = - input.readMessage( - com.google.cloud.certificatemanager.v1.DnsAuthorization.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dnsAuthorization_); - dnsAuthorization_ = subBuilder.buildPartial(); - } - - break; + case 10: { + com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder subBuilder = null; + if (dnsAuthorization_ != null) { + subBuilder = dnsAuthorization_.toBuilder(); + } + dnsAuthorization_ = input.readMessage(com.google.cloud.certificatemanager.v1.DnsAuthorization.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dnsAuthorization_); + dnsAuthorization_ = subBuilder.buildPartial(); } - case 18: - { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = - input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); - } - break; + break; + } + case 18: { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); } + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -114,41 +92,34 @@ private UpdateDnsAuthorizationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.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 @@ -156,55 +127,39 @@ 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 @@ -212,17 +167,13 @@ 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 @@ -230,16 +181,13 @@ 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() { @@ -247,7 +195,6 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -259,7 +206,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (dnsAuthorization_ != null) { output.writeMessage(1, getDnsAuthorization()); } @@ -276,10 +224,12 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -289,21 +239,22 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -330,145 +281,134 @@ 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() + // Construct using com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -488,16 +428,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_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 @@ -511,8 +449,7 @@ 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 { @@ -531,51 +468,46 @@ 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()); } @@ -601,9 +533,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -615,61 +545,41 @@ 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(); @@ -683,15 +593,11 @@ 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 setDnsAuthorization( com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder builderForValue) { @@ -705,24 +611,17 @@ 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; } @@ -734,15 +633,11 @@ public Builder mergeDnsAuthorization( 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) { @@ -756,66 +651,48 @@ 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_; @@ -823,61 +700,45 @@ public Builder clearDnsAuthorization() { 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) { @@ -893,18 +754,16 @@ 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(); @@ -915,22 +774,19 @@ public Builder setUpdateMask(com.google.protobuf.FieldMask.Builder builderForVal 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; } @@ -942,16 +798,13 @@ 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) { @@ -965,74 +818,61 @@ 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); } @@ -1042,32 +882,30 @@ 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 { - return new UpdateDnsAuthorizationRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateDnsAuthorizationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1079,8 +917,9 @@ 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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequestOrBuilder.java similarity index 60% rename from proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequestOrBuilder.java index 7a82c9b..ff81c77 100644 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequestOrBuilder.java @@ -1,110 +1,69 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/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/proto-google-cloud-certificate-manager-v1/src/main/proto/google/cloud/certificatemanager/v1/certificate_manager.proto b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/proto/google/cloud/certificatemanager/v1/certificate_manager.proto similarity index 100% rename from proto-google-cloud-certificate-manager-v1/src/main/proto/google/cloud/certificatemanager/v1/certificate_manager.proto rename to owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/proto/google/cloud/certificatemanager/v1/certificate_manager.proto diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider.java similarity index 94% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider.java index 558d330..0e9585c 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider.java @@ -16,8 +16,7 @@ package com.google.cloud.certificatemanager.v1.samples; -// [START -// certificatemanager_v1_generated_certificatemanagerclient_create_setcredentialsprovider_sync] +// [START certificatemanager_v1_generated_certificatemanagerclient_create_setcredentialsprovider_sync] import com.google.api.gax.core.FixedCredentialsProvider; import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.CertificateManagerSettings; diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider1.java similarity index 88% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider1.java index f8e9129..df67f68 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider1.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider1.java @@ -16,8 +16,7 @@ package com.google.cloud.certificatemanager.v1.samples; -// [START -// certificatemanager_v1_generated_certificatemanagerclient_create_setcredentialsprovider1_sync] +// [START certificatemanager_v1_generated_certificatemanagerclient_create_setcredentialsprovider1_sync] import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.CertificateManagerSettings; @@ -39,5 +38,4 @@ public static void syncCreateSetCredentialsProvider1() throws Exception { CertificateManagerClient.create(certificateManagerSettings); } } -// [END -// certificatemanager_v1_generated_certificatemanagerclient_create_setcredentialsprovider1_sync] +// [END certificatemanager_v1_generated_certificatemanagerclient_create_setcredentialsprovider1_sync] diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetEndpoint.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetEndpoint.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/AsyncCreateCertificate.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/AsyncCreateCertificate.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/AsyncCreateCertificate.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/AsyncCreateCertificate.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/AsyncCreateCertificateLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/AsyncCreateCertificateLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/AsyncCreateCertificateLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/AsyncCreateCertificateLRO.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificate.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificate.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificate.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificate.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateLocationnameCertificateString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateLocationnameCertificateString.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateLocationnameCertificateString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateLocationnameCertificateString.java index 0db8dce..1bfd835 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateLocationnameCertificateString.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateLocationnameCertificateString.java @@ -16,8 +16,7 @@ package com.google.cloud.certificatemanager.v1.samples; -// [START -// certificatemanager_v1_generated_certificatemanagerclient_createcertificate_locationnamecertificatestring_sync] +// [START certificatemanager_v1_generated_certificatemanagerclient_createcertificate_locationnamecertificatestring_sync] import com.google.cloud.certificatemanager.v1.Certificate; import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.LocationName; @@ -40,5 +39,4 @@ public static void syncCreateCertificateLocationnameCertificateString() throws E } } } -// [END -// certificatemanager_v1_generated_certificatemanagerclient_createcertificate_locationnamecertificatestring_sync] +// [END certificatemanager_v1_generated_certificatemanagerclient_createcertificate_locationnamecertificatestring_sync] diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateStringCertificateString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateStringCertificateString.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateStringCertificateString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateStringCertificateString.java index 9f3feb7..d2cda8d 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateStringCertificateString.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateStringCertificateString.java @@ -16,8 +16,7 @@ package com.google.cloud.certificatemanager.v1.samples; -// [START -// certificatemanager_v1_generated_certificatemanagerclient_createcertificate_stringcertificatestring_sync] +// [START certificatemanager_v1_generated_certificatemanagerclient_createcertificate_stringcertificatestring_sync] import com.google.cloud.certificatemanager.v1.Certificate; import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.LocationName; @@ -40,5 +39,4 @@ public static void syncCreateCertificateStringCertificateString() throws Excepti } } } -// [END -// certificatemanager_v1_generated_certificatemanagerclient_createcertificate_stringcertificatestring_sync] +// [END certificatemanager_v1_generated_certificatemanagerclient_createcertificate_stringcertificatestring_sync] diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/AsyncCreateCertificateMap.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/AsyncCreateCertificateMap.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/AsyncCreateCertificateMap.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/AsyncCreateCertificateMap.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/AsyncCreateCertificateMapLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/AsyncCreateCertificateMapLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/AsyncCreateCertificateMapLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/AsyncCreateCertificateMapLRO.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMap.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMap.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMap.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMap.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapLocationnameCertificatemapString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapLocationnameCertificatemapString.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapLocationnameCertificatemapString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapLocationnameCertificatemapString.java index bee91e3..50ac822 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapLocationnameCertificatemapString.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapLocationnameCertificatemapString.java @@ -16,8 +16,7 @@ package com.google.cloud.certificatemanager.v1.samples; -// [START -// certificatemanager_v1_generated_certificatemanagerclient_createcertificatemap_locationnamecertificatemapstring_sync] +// [START certificatemanager_v1_generated_certificatemanagerclient_createcertificatemap_locationnamecertificatemapstring_sync] import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.CertificateMap; import com.google.cloud.certificatemanager.v1.LocationName; @@ -42,5 +41,4 @@ public static void syncCreateCertificateMapLocationnameCertificatemapString() th } } } -// [END -// certificatemanager_v1_generated_certificatemanagerclient_createcertificatemap_locationnamecertificatemapstring_sync] +// [END certificatemanager_v1_generated_certificatemanagerclient_createcertificatemap_locationnamecertificatemapstring_sync] diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapStringCertificatemapString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapStringCertificatemapString.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapStringCertificatemapString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapStringCertificatemapString.java index 2bdd962..2d27d6b 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapStringCertificatemapString.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapStringCertificatemapString.java @@ -16,8 +16,7 @@ package com.google.cloud.certificatemanager.v1.samples; -// [START -// certificatemanager_v1_generated_certificatemanagerclient_createcertificatemap_stringcertificatemapstring_sync] +// [START certificatemanager_v1_generated_certificatemanagerclient_createcertificatemap_stringcertificatemapstring_sync] import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.CertificateMap; import com.google.cloud.certificatemanager.v1.LocationName; @@ -42,5 +41,4 @@ public static void syncCreateCertificateMapStringCertificatemapString() throws E } } } -// [END -// certificatemanager_v1_generated_certificatemanagerclient_createcertificatemap_stringcertificatemapstring_sync] +// [END certificatemanager_v1_generated_certificatemanagerclient_createcertificatemap_stringcertificatemapstring_sync] diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/AsyncCreateCertificateMapEntry.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/AsyncCreateCertificateMapEntry.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/AsyncCreateCertificateMapEntry.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/AsyncCreateCertificateMapEntry.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/AsyncCreateCertificateMapEntryLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/AsyncCreateCertificateMapEntryLRO.java similarity index 91% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/AsyncCreateCertificateMapEntryLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/AsyncCreateCertificateMapEntryLRO.java index 7d89969..234063e 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/AsyncCreateCertificateMapEntryLRO.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/AsyncCreateCertificateMapEntryLRO.java @@ -16,8 +16,7 @@ package com.google.cloud.certificatemanager.v1.samples; -// [START -// certificatemanager_v1_generated_certificatemanagerclient_createcertificatemapentry_lro_async] +// [START certificatemanager_v1_generated_certificatemanagerclient_createcertificatemapentry_lro_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.CertificateMapEntry; @@ -49,5 +48,4 @@ public static void asyncCreateCertificateMapEntryLRO() throws Exception { } } } -// [END -// certificatemanager_v1_generated_certificatemanagerclient_createcertificatemapentry_lro_async] +// [END certificatemanager_v1_generated_certificatemanagerclient_createcertificatemapentry_lro_async] diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntry.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntry.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntry.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntry.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryCertificatemapnameCertificatemapentryString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryCertificatemapnameCertificatemapentryString.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryCertificatemapnameCertificatemapentryString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryCertificatemapnameCertificatemapentryString.java index 549930b..af695bd 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryCertificatemapnameCertificatemapentryString.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryCertificatemapnameCertificatemapentryString.java @@ -16,8 +16,7 @@ package com.google.cloud.certificatemanager.v1.samples; -// [START -// certificatemanager_v1_generated_certificatemanagerclient_createcertificatemapentry_certificatemapnamecertificatemapentrystring_sync] +// [START certificatemanager_v1_generated_certificatemanagerclient_createcertificatemapentry_certificatemapnamecertificatemapentrystring_sync] import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.CertificateMapEntry; import com.google.cloud.certificatemanager.v1.CertificateMapName; @@ -44,5 +43,4 @@ public static void syncCreateCertificateMapEntryCertificatemapnameCertificatemap } } } -// [END -// certificatemanager_v1_generated_certificatemanagerclient_createcertificatemapentry_certificatemapnamecertificatemapentrystring_sync] +// [END certificatemanager_v1_generated_certificatemanagerclient_createcertificatemapentry_certificatemapnamecertificatemapentrystring_sync] diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryStringCertificatemapentryString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryStringCertificatemapentryString.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryStringCertificatemapentryString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryStringCertificatemapentryString.java index 61c82f8..bcd75e4 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryStringCertificatemapentryString.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryStringCertificatemapentryString.java @@ -16,8 +16,7 @@ package com.google.cloud.certificatemanager.v1.samples; -// [START -// certificatemanager_v1_generated_certificatemanagerclient_createcertificatemapentry_stringcertificatemapentrystring_sync] +// [START certificatemanager_v1_generated_certificatemanagerclient_createcertificatemapentry_stringcertificatemapentrystring_sync] import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.CertificateMapEntry; import com.google.cloud.certificatemanager.v1.CertificateMapName; @@ -44,5 +43,4 @@ public static void syncCreateCertificateMapEntryStringCertificatemapentryString( } } } -// [END -// certificatemanager_v1_generated_certificatemanagerclient_createcertificatemapentry_stringcertificatemapentrystring_sync] +// [END certificatemanager_v1_generated_certificatemanagerclient_createcertificatemapentry_stringcertificatemapentrystring_sync] diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/AsyncCreateDnsAuthorization.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/AsyncCreateDnsAuthorization.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/AsyncCreateDnsAuthorization.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/AsyncCreateDnsAuthorization.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/AsyncCreateDnsAuthorizationLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/AsyncCreateDnsAuthorizationLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/AsyncCreateDnsAuthorizationLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/AsyncCreateDnsAuthorizationLRO.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorization.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorization.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorization.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorization.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationLocationnameDnsauthorizationString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationLocationnameDnsauthorizationString.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationLocationnameDnsauthorizationString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationLocationnameDnsauthorizationString.java index 47ba7f0..47d298d 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationLocationnameDnsauthorizationString.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationLocationnameDnsauthorizationString.java @@ -16,8 +16,7 @@ package com.google.cloud.certificatemanager.v1.samples; -// [START -// certificatemanager_v1_generated_certificatemanagerclient_creatednsauthorization_locationnamednsauthorizationstring_sync] +// [START certificatemanager_v1_generated_certificatemanagerclient_creatednsauthorization_locationnamednsauthorizationstring_sync] import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.DnsAuthorization; import com.google.cloud.certificatemanager.v1.LocationName; @@ -43,5 +42,4 @@ public static void syncCreateDnsAuthorizationLocationnameDnsauthorizationString( } } } -// [END -// certificatemanager_v1_generated_certificatemanagerclient_creatednsauthorization_locationnamednsauthorizationstring_sync] +// [END certificatemanager_v1_generated_certificatemanagerclient_creatednsauthorization_locationnamednsauthorizationstring_sync] diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationStringDnsauthorizationString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationStringDnsauthorizationString.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationStringDnsauthorizationString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationStringDnsauthorizationString.java index 954069d..2c0dc4e 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationStringDnsauthorizationString.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationStringDnsauthorizationString.java @@ -16,8 +16,7 @@ package com.google.cloud.certificatemanager.v1.samples; -// [START -// certificatemanager_v1_generated_certificatemanagerclient_creatednsauthorization_stringdnsauthorizationstring_sync] +// [START certificatemanager_v1_generated_certificatemanagerclient_creatednsauthorization_stringdnsauthorizationstring_sync] import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.DnsAuthorization; import com.google.cloud.certificatemanager.v1.LocationName; @@ -42,5 +41,4 @@ public static void syncCreateDnsAuthorizationStringDnsauthorizationString() thro } } } -// [END -// certificatemanager_v1_generated_certificatemanagerclient_creatednsauthorization_stringdnsauthorizationstring_sync] +// [END certificatemanager_v1_generated_certificatemanagerclient_creatednsauthorization_stringdnsauthorizationstring_sync] diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/AsyncDeleteCertificate.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/AsyncDeleteCertificate.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/AsyncDeleteCertificate.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/AsyncDeleteCertificate.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/AsyncDeleteCertificateLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/AsyncDeleteCertificateLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/AsyncDeleteCertificateLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/AsyncDeleteCertificateLRO.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificate.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificate.java similarity index 98% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificate.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificate.java index 778be33..d93cc36 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificate.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificate.java @@ -20,6 +20,7 @@ import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.CertificateName; import com.google.cloud.certificatemanager.v1.DeleteCertificateRequest; +import com.google.protobuf.Empty; public class SyncDeleteCertificate { diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateCertificatename.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateCertificatename.java similarity index 85% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateCertificatename.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateCertificatename.java index 251f49f..1178762 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateCertificatename.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateCertificatename.java @@ -16,10 +16,10 @@ package com.google.cloud.certificatemanager.v1.samples; -// [START -// certificatemanager_v1_generated_certificatemanagerclient_deletecertificate_certificatename_sync] +// [START certificatemanager_v1_generated_certificatemanagerclient_deletecertificate_certificatename_sync] import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.CertificateName; +import com.google.protobuf.Empty; public class SyncDeleteCertificateCertificatename { @@ -36,5 +36,4 @@ public static void syncDeleteCertificateCertificatename() throws Exception { } } } -// [END -// certificatemanager_v1_generated_certificatemanagerclient_deletecertificate_certificatename_sync] +// [END certificatemanager_v1_generated_certificatemanagerclient_deletecertificate_certificatename_sync] diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateString.java similarity index 97% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateString.java index 53e57b4..f8ccb75 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateString.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateString.java @@ -19,6 +19,7 @@ // [START certificatemanager_v1_generated_certificatemanagerclient_deletecertificate_string_sync] import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.CertificateName; +import com.google.protobuf.Empty; public class SyncDeleteCertificateString { diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/AsyncDeleteCertificateMap.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/AsyncDeleteCertificateMap.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/AsyncDeleteCertificateMap.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/AsyncDeleteCertificateMap.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/AsyncDeleteCertificateMapLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/AsyncDeleteCertificateMapLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/AsyncDeleteCertificateMapLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/AsyncDeleteCertificateMapLRO.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMap.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMap.java similarity index 98% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMap.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMap.java index c30d206..2acf914 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMap.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMap.java @@ -20,6 +20,7 @@ import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.CertificateMapName; import com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest; +import com.google.protobuf.Empty; public class SyncDeleteCertificateMap { diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapCertificatemapname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapCertificatemapname.java similarity index 85% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapCertificatemapname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapCertificatemapname.java index 78faeeb..219db6f 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapCertificatemapname.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapCertificatemapname.java @@ -16,10 +16,10 @@ package com.google.cloud.certificatemanager.v1.samples; -// [START -// certificatemanager_v1_generated_certificatemanagerclient_deletecertificatemap_certificatemapname_sync] +// [START certificatemanager_v1_generated_certificatemanagerclient_deletecertificatemap_certificatemapname_sync] import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.CertificateMapName; +import com.google.protobuf.Empty; public class SyncDeleteCertificateMapCertificatemapname { @@ -37,5 +37,4 @@ public static void syncDeleteCertificateMapCertificatemapname() throws Exception } } } -// [END -// certificatemanager_v1_generated_certificatemanagerclient_deletecertificatemap_certificatemapname_sync] +// [END certificatemanager_v1_generated_certificatemanagerclient_deletecertificatemap_certificatemapname_sync] diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapString.java similarity index 97% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapString.java index 61ef763..7863a34 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapString.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapString.java @@ -19,6 +19,7 @@ // [START certificatemanager_v1_generated_certificatemanagerclient_deletecertificatemap_string_sync] import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.CertificateMapName; +import com.google.protobuf.Empty; public class SyncDeleteCertificateMapString { diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/AsyncDeleteCertificateMapEntry.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/AsyncDeleteCertificateMapEntry.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/AsyncDeleteCertificateMapEntry.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/AsyncDeleteCertificateMapEntry.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/AsyncDeleteCertificateMapEntryLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/AsyncDeleteCertificateMapEntryLRO.java similarity index 90% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/AsyncDeleteCertificateMapEntryLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/AsyncDeleteCertificateMapEntryLRO.java index 559f489..17b2c88 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/AsyncDeleteCertificateMapEntryLRO.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/AsyncDeleteCertificateMapEntryLRO.java @@ -16,8 +16,7 @@ package com.google.cloud.certificatemanager.v1.samples; -// [START -// certificatemanager_v1_generated_certificatemanagerclient_deletecertificatemapentry_lro_async] +// [START certificatemanager_v1_generated_certificatemanagerclient_deletecertificatemapentry_lro_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.CertificateMapEntryName; @@ -49,5 +48,4 @@ public static void asyncDeleteCertificateMapEntryLRO() throws Exception { } } } -// [END -// certificatemanager_v1_generated_certificatemanagerclient_deletecertificatemapentry_lro_async] +// [END certificatemanager_v1_generated_certificatemanagerclient_deletecertificatemapentry_lro_async] diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntry.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntry.java similarity index 98% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntry.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntry.java index 5f288ed..9cef3a5 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntry.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntry.java @@ -20,6 +20,7 @@ import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.CertificateMapEntryName; import com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest; +import com.google.protobuf.Empty; public class SyncDeleteCertificateMapEntry { diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryCertificatemapentryname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryCertificatemapentryname.java similarity index 85% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryCertificatemapentryname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryCertificatemapentryname.java index b91e9f2..746f819 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryCertificatemapentryname.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryCertificatemapentryname.java @@ -16,10 +16,10 @@ package com.google.cloud.certificatemanager.v1.samples; -// [START -// certificatemanager_v1_generated_certificatemanagerclient_deletecertificatemapentry_certificatemapentryname_sync] +// [START certificatemanager_v1_generated_certificatemanagerclient_deletecertificatemapentry_certificatemapentryname_sync] import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.CertificateMapEntryName; +import com.google.protobuf.Empty; public class SyncDeleteCertificateMapEntryCertificatemapentryname { @@ -38,5 +38,4 @@ public static void syncDeleteCertificateMapEntryCertificatemapentryname() throws } } } -// [END -// certificatemanager_v1_generated_certificatemanagerclient_deletecertificatemapentry_certificatemapentryname_sync] +// [END certificatemanager_v1_generated_certificatemanagerclient_deletecertificatemapentry_certificatemapentryname_sync] diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryString.java similarity index 86% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryString.java index 494048f..063e36c 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryString.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryString.java @@ -16,10 +16,10 @@ package com.google.cloud.certificatemanager.v1.samples; -// [START -// certificatemanager_v1_generated_certificatemanagerclient_deletecertificatemapentry_string_sync] +// [START certificatemanager_v1_generated_certificatemanagerclient_deletecertificatemapentry_string_sync] import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.CertificateMapEntryName; +import com.google.protobuf.Empty; public class SyncDeleteCertificateMapEntryString { @@ -39,5 +39,4 @@ public static void syncDeleteCertificateMapEntryString() throws Exception { } } } -// [END -// certificatemanager_v1_generated_certificatemanagerclient_deletecertificatemapentry_string_sync] +// [END certificatemanager_v1_generated_certificatemanagerclient_deletecertificatemapentry_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/AsyncDeleteDnsAuthorization.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/AsyncDeleteDnsAuthorization.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/AsyncDeleteDnsAuthorization.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/AsyncDeleteDnsAuthorization.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/AsyncDeleteDnsAuthorizationLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/AsyncDeleteDnsAuthorizationLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/AsyncDeleteDnsAuthorizationLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/AsyncDeleteDnsAuthorizationLRO.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorization.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorization.java similarity index 98% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorization.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorization.java index 6732f72..ec13e36 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorization.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorization.java @@ -20,6 +20,7 @@ import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest; import com.google.cloud.certificatemanager.v1.DnsAuthorizationName; +import com.google.protobuf.Empty; public class SyncDeleteDnsAuthorization { diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationDnsauthorizationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationDnsauthorizationname.java similarity index 85% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationDnsauthorizationname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationDnsauthorizationname.java index 2980333..1462e23 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationDnsauthorizationname.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationDnsauthorizationname.java @@ -16,10 +16,10 @@ package com.google.cloud.certificatemanager.v1.samples; -// [START -// certificatemanager_v1_generated_certificatemanagerclient_deletednsauthorization_dnsauthorizationname_sync] +// [START certificatemanager_v1_generated_certificatemanagerclient_deletednsauthorization_dnsauthorizationname_sync] import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.DnsAuthorizationName; +import com.google.protobuf.Empty; public class SyncDeleteDnsAuthorizationDnsauthorizationname { @@ -37,5 +37,4 @@ public static void syncDeleteDnsAuthorizationDnsauthorizationname() throws Excep } } } -// [END -// certificatemanager_v1_generated_certificatemanagerclient_deletednsauthorization_dnsauthorizationname_sync] +// [END certificatemanager_v1_generated_certificatemanagerclient_deletednsauthorization_dnsauthorizationname_sync] diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationString.java similarity index 91% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationString.java index 7eed663..e6a37ed 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationString.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationString.java @@ -16,10 +16,10 @@ package com.google.cloud.certificatemanager.v1.samples; -// [START -// certificatemanager_v1_generated_certificatemanagerclient_deletednsauthorization_string_sync] +// [START certificatemanager_v1_generated_certificatemanagerclient_deletednsauthorization_string_sync] import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.DnsAuthorizationName; +import com.google.protobuf.Empty; public class SyncDeleteDnsAuthorizationString { diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/AsyncGetCertificate.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/AsyncGetCertificate.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/AsyncGetCertificate.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/AsyncGetCertificate.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificate.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificate.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificate.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificate.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificateCertificatename.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificateCertificatename.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificateCertificatename.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificateCertificatename.java index b9a8670..a144ccf 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificateCertificatename.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificateCertificatename.java @@ -16,8 +16,7 @@ package com.google.cloud.certificatemanager.v1.samples; -// [START -// certificatemanager_v1_generated_certificatemanagerclient_getcertificate_certificatename_sync] +// [START certificatemanager_v1_generated_certificatemanagerclient_getcertificate_certificatename_sync] import com.google.cloud.certificatemanager.v1.Certificate; import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.CertificateName; @@ -37,5 +36,4 @@ public static void syncGetCertificateCertificatename() throws Exception { } } } -// [END -// certificatemanager_v1_generated_certificatemanagerclient_getcertificate_certificatename_sync] +// [END certificatemanager_v1_generated_certificatemanagerclient_getcertificate_certificatename_sync] diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificateString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificateString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificateString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificateString.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/AsyncGetCertificateMap.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/AsyncGetCertificateMap.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/AsyncGetCertificateMap.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/AsyncGetCertificateMap.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMap.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMap.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMap.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMap.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMapCertificatemapname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMapCertificatemapname.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMapCertificatemapname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMapCertificatemapname.java index 5e832e4..faa764f 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMapCertificatemapname.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMapCertificatemapname.java @@ -16,8 +16,7 @@ package com.google.cloud.certificatemanager.v1.samples; -// [START -// certificatemanager_v1_generated_certificatemanagerclient_getcertificatemap_certificatemapname_sync] +// [START certificatemanager_v1_generated_certificatemanagerclient_getcertificatemap_certificatemapname_sync] import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.CertificateMap; import com.google.cloud.certificatemanager.v1.CertificateMapName; @@ -38,5 +37,4 @@ public static void syncGetCertificateMapCertificatemapname() throws Exception { } } } -// [END -// certificatemanager_v1_generated_certificatemanagerclient_getcertificatemap_certificatemapname_sync] +// [END certificatemanager_v1_generated_certificatemanagerclient_getcertificatemap_certificatemapname_sync] diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMapString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMapString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMapString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMapString.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/AsyncGetCertificateMapEntry.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/AsyncGetCertificateMapEntry.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/AsyncGetCertificateMapEntry.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/AsyncGetCertificateMapEntry.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntry.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntry.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntry.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntry.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryCertificatemapentryname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryCertificatemapentryname.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryCertificatemapentryname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryCertificatemapentryname.java index 634cc7c..93b5654 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryCertificatemapentryname.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryCertificatemapentryname.java @@ -16,8 +16,7 @@ package com.google.cloud.certificatemanager.v1.samples; -// [START -// certificatemanager_v1_generated_certificatemanagerclient_getcertificatemapentry_certificatemapentryname_sync] +// [START certificatemanager_v1_generated_certificatemanagerclient_getcertificatemapentry_certificatemapentryname_sync] import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.CertificateMapEntry; import com.google.cloud.certificatemanager.v1.CertificateMapEntryName; @@ -39,5 +38,4 @@ public static void syncGetCertificateMapEntryCertificatemapentryname() throws Ex } } } -// [END -// certificatemanager_v1_generated_certificatemanagerclient_getcertificatemapentry_certificatemapentryname_sync] +// [END certificatemanager_v1_generated_certificatemanagerclient_getcertificatemapentry_certificatemapentryname_sync] diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryString.java similarity index 94% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryString.java index c926ee7..54087bb 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryString.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryString.java @@ -16,8 +16,7 @@ package com.google.cloud.certificatemanager.v1.samples; -// [START -// certificatemanager_v1_generated_certificatemanagerclient_getcertificatemapentry_string_sync] +// [START certificatemanager_v1_generated_certificatemanagerclient_getcertificatemapentry_string_sync] import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.CertificateMapEntry; import com.google.cloud.certificatemanager.v1.CertificateMapEntryName; diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/AsyncGetDnsAuthorization.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/AsyncGetDnsAuthorization.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/AsyncGetDnsAuthorization.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/AsyncGetDnsAuthorization.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorization.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorization.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorization.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorization.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorizationDnsauthorizationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorizationDnsauthorizationname.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorizationDnsauthorizationname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorizationDnsauthorizationname.java index 577f142..9e51242 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorizationDnsauthorizationname.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorizationDnsauthorizationname.java @@ -16,8 +16,7 @@ package com.google.cloud.certificatemanager.v1.samples; -// [START -// certificatemanager_v1_generated_certificatemanagerclient_getdnsauthorization_dnsauthorizationname_sync] +// [START certificatemanager_v1_generated_certificatemanagerclient_getdnsauthorization_dnsauthorizationname_sync] import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.DnsAuthorization; import com.google.cloud.certificatemanager.v1.DnsAuthorizationName; @@ -38,5 +37,4 @@ public static void syncGetDnsAuthorizationDnsauthorizationname() throws Exceptio } } } -// [END -// certificatemanager_v1_generated_certificatemanagerclient_getdnsauthorization_dnsauthorizationname_sync] +// [END certificatemanager_v1_generated_certificatemanagerclient_getdnsauthorization_dnsauthorizationname_sync] diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorizationString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorizationString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorizationString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorizationString.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/AsyncListCertificateMapEntries.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/AsyncListCertificateMapEntries.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/AsyncListCertificateMapEntries.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/AsyncListCertificateMapEntries.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/AsyncListCertificateMapEntriesPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/AsyncListCertificateMapEntriesPaged.java similarity index 92% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/AsyncListCertificateMapEntriesPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/AsyncListCertificateMapEntriesPaged.java index 376f660..60be8cd 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/AsyncListCertificateMapEntriesPaged.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/AsyncListCertificateMapEntriesPaged.java @@ -16,8 +16,7 @@ package com.google.cloud.certificatemanager.v1.samples; -// [START -// certificatemanager_v1_generated_certificatemanagerclient_listcertificatemapentries_paged_async] +// [START certificatemanager_v1_generated_certificatemanagerclient_listcertificatemapentries_paged_async] import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.CertificateMapEntry; import com.google.cloud.certificatemanager.v1.CertificateMapName; @@ -60,5 +59,4 @@ public static void asyncListCertificateMapEntriesPaged() throws Exception { } } } -// [END -// certificatemanager_v1_generated_certificatemanagerclient_listcertificatemapentries_paged_async] +// [END certificatemanager_v1_generated_certificatemanagerclient_listcertificatemapentries_paged_async] diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntries.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntries.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntries.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntries.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesCertificatemapname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesCertificatemapname.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesCertificatemapname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesCertificatemapname.java index da4caa1..3789eb5 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesCertificatemapname.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesCertificatemapname.java @@ -16,8 +16,7 @@ package com.google.cloud.certificatemanager.v1.samples; -// [START -// certificatemanager_v1_generated_certificatemanagerclient_listcertificatemapentries_certificatemapname_sync] +// [START certificatemanager_v1_generated_certificatemanagerclient_listcertificatemapentries_certificatemapname_sync] import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.CertificateMapEntry; import com.google.cloud.certificatemanager.v1.CertificateMapName; @@ -41,5 +40,4 @@ public static void syncListCertificateMapEntriesCertificatemapname() throws Exce } } } -// [END -// certificatemanager_v1_generated_certificatemanagerclient_listcertificatemapentries_certificatemapname_sync] +// [END certificatemanager_v1_generated_certificatemanagerclient_listcertificatemapentries_certificatemapname_sync] diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesString.java similarity index 88% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesString.java index 360ea56..1f02921 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesString.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesString.java @@ -16,8 +16,7 @@ package com.google.cloud.certificatemanager.v1.samples; -// [START -// certificatemanager_v1_generated_certificatemanagerclient_listcertificatemapentries_string_sync] +// [START certificatemanager_v1_generated_certificatemanagerclient_listcertificatemapentries_string_sync] import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.CertificateMapEntry; import com.google.cloud.certificatemanager.v1.CertificateMapName; @@ -41,5 +40,4 @@ public static void syncListCertificateMapEntriesString() throws Exception { } } } -// [END -// certificatemanager_v1_generated_certificatemanagerclient_listcertificatemapentries_string_sync] +// [END certificatemanager_v1_generated_certificatemanagerclient_listcertificatemapentries_string_sync] diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/AsyncListCertificateMaps.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/AsyncListCertificateMaps.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/AsyncListCertificateMaps.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/AsyncListCertificateMaps.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/AsyncListCertificateMapsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/AsyncListCertificateMapsPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/AsyncListCertificateMapsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/AsyncListCertificateMapsPaged.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMaps.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMaps.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMaps.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMaps.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMapsLocationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMapsLocationname.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMapsLocationname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMapsLocationname.java index 603fa84..8f97803 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMapsLocationname.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMapsLocationname.java @@ -16,8 +16,7 @@ package com.google.cloud.certificatemanager.v1.samples; -// [START -// certificatemanager_v1_generated_certificatemanagerclient_listcertificatemaps_locationname_sync] +// [START certificatemanager_v1_generated_certificatemanagerclient_listcertificatemaps_locationname_sync] import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.CertificateMap; import com.google.cloud.certificatemanager.v1.LocationName; @@ -40,5 +39,4 @@ public static void syncListCertificateMapsLocationname() throws Exception { } } } -// [END -// certificatemanager_v1_generated_certificatemanagerclient_listcertificatemaps_locationname_sync] +// [END certificatemanager_v1_generated_certificatemanagerclient_listcertificatemaps_locationname_sync] diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMapsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMapsString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMapsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMapsString.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/AsyncListCertificates.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/AsyncListCertificates.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/AsyncListCertificates.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/AsyncListCertificates.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/AsyncListCertificatesPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/AsyncListCertificatesPaged.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/AsyncListCertificatesPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/AsyncListCertificatesPaged.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificates.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificates.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificates.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificates.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificatesLocationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificatesLocationname.java similarity index 93% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificatesLocationname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificatesLocationname.java index 41f513d..48c0c97 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificatesLocationname.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificatesLocationname.java @@ -16,8 +16,7 @@ package com.google.cloud.certificatemanager.v1.samples; -// [START -// certificatemanager_v1_generated_certificatemanagerclient_listcertificates_locationname_sync] +// [START certificatemanager_v1_generated_certificatemanagerclient_listcertificates_locationname_sync] import com.google.cloud.certificatemanager.v1.Certificate; import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.LocationName; diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificatesString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificatesString.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificatesString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificatesString.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/AsyncListDnsAuthorizations.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/AsyncListDnsAuthorizations.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/AsyncListDnsAuthorizations.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/AsyncListDnsAuthorizations.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/AsyncListDnsAuthorizationsPaged.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/AsyncListDnsAuthorizationsPaged.java similarity index 96% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/AsyncListDnsAuthorizationsPaged.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/AsyncListDnsAuthorizationsPaged.java index ea2429b..dacdd19 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/AsyncListDnsAuthorizationsPaged.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/AsyncListDnsAuthorizationsPaged.java @@ -16,8 +16,7 @@ package com.google.cloud.certificatemanager.v1.samples; -// [START -// certificatemanager_v1_generated_certificatemanagerclient_listdnsauthorizations_paged_async] +// [START certificatemanager_v1_generated_certificatemanagerclient_listdnsauthorizations_paged_async] import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.DnsAuthorization; import com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest; diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizations.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizations.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizations.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizations.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsLocationname.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsLocationname.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsLocationname.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsLocationname.java index 7ede22f..ecb863d 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsLocationname.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsLocationname.java @@ -16,8 +16,7 @@ package com.google.cloud.certificatemanager.v1.samples; -// [START -// certificatemanager_v1_generated_certificatemanagerclient_listdnsauthorizations_locationname_sync] +// [START certificatemanager_v1_generated_certificatemanagerclient_listdnsauthorizations_locationname_sync] import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.DnsAuthorization; import com.google.cloud.certificatemanager.v1.LocationName; @@ -40,5 +39,4 @@ public static void syncListDnsAuthorizationsLocationname() throws Exception { } } } -// [END -// certificatemanager_v1_generated_certificatemanagerclient_listdnsauthorizations_locationname_sync] +// [END certificatemanager_v1_generated_certificatemanagerclient_listdnsauthorizations_locationname_sync] diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsString.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsString.java similarity index 94% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsString.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsString.java index 12ca6ea..478e883 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsString.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsString.java @@ -16,8 +16,7 @@ package com.google.cloud.certificatemanager.v1.samples; -// [START -// certificatemanager_v1_generated_certificatemanagerclient_listdnsauthorizations_string_sync] +// [START certificatemanager_v1_generated_certificatemanagerclient_listdnsauthorizations_string_sync] import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.DnsAuthorization; import com.google.cloud.certificatemanager.v1.LocationName; diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/AsyncUpdateCertificate.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/AsyncUpdateCertificate.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/AsyncUpdateCertificate.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/AsyncUpdateCertificate.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/AsyncUpdateCertificateLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/AsyncUpdateCertificateLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/AsyncUpdateCertificateLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/AsyncUpdateCertificateLRO.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/SyncUpdateCertificate.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/SyncUpdateCertificate.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/SyncUpdateCertificate.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/SyncUpdateCertificate.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/SyncUpdateCertificateCertificateFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/SyncUpdateCertificateCertificateFieldmask.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/SyncUpdateCertificateCertificateFieldmask.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/SyncUpdateCertificateCertificateFieldmask.java index c7bdcd9..fb730db 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/SyncUpdateCertificateCertificateFieldmask.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/SyncUpdateCertificateCertificateFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.certificatemanager.v1.samples; -// [START -// certificatemanager_v1_generated_certificatemanagerclient_updatecertificate_certificatefieldmask_sync] +// [START certificatemanager_v1_generated_certificatemanagerclient_updatecertificate_certificatefieldmask_sync] import com.google.cloud.certificatemanager.v1.Certificate; import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.protobuf.FieldMask; @@ -39,5 +38,4 @@ public static void syncUpdateCertificateCertificateFieldmask() throws Exception } } } -// [END -// certificatemanager_v1_generated_certificatemanagerclient_updatecertificate_certificatefieldmask_sync] +// [END certificatemanager_v1_generated_certificatemanagerclient_updatecertificate_certificatefieldmask_sync] diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/AsyncUpdateCertificateMap.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/AsyncUpdateCertificateMap.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/AsyncUpdateCertificateMap.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/AsyncUpdateCertificateMap.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/AsyncUpdateCertificateMapLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/AsyncUpdateCertificateMapLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/AsyncUpdateCertificateMapLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/AsyncUpdateCertificateMapLRO.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/SyncUpdateCertificateMap.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/SyncUpdateCertificateMap.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/SyncUpdateCertificateMap.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/SyncUpdateCertificateMap.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/SyncUpdateCertificateMapCertificatemapFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/SyncUpdateCertificateMapCertificatemapFieldmask.java similarity index 87% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/SyncUpdateCertificateMapCertificatemapFieldmask.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/SyncUpdateCertificateMapCertificatemapFieldmask.java index 18e6f61..a5fdf73 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/SyncUpdateCertificateMapCertificatemapFieldmask.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/SyncUpdateCertificateMapCertificatemapFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.certificatemanager.v1.samples; -// [START -// certificatemanager_v1_generated_certificatemanagerclient_updatecertificatemap_certificatemapfieldmask_sync] +// [START certificatemanager_v1_generated_certificatemanagerclient_updatecertificatemap_certificatemapfieldmask_sync] import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.CertificateMap; import com.google.protobuf.FieldMask; @@ -39,5 +38,4 @@ public static void syncUpdateCertificateMapCertificatemapFieldmask() throws Exce } } } -// [END -// certificatemanager_v1_generated_certificatemanagerclient_updatecertificatemap_certificatemapfieldmask_sync] +// [END certificatemanager_v1_generated_certificatemanagerclient_updatecertificatemap_certificatemapfieldmask_sync] diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/AsyncUpdateCertificateMapEntry.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/AsyncUpdateCertificateMapEntry.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/AsyncUpdateCertificateMapEntry.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/AsyncUpdateCertificateMapEntry.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/AsyncUpdateCertificateMapEntryLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/AsyncUpdateCertificateMapEntryLRO.java similarity index 90% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/AsyncUpdateCertificateMapEntryLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/AsyncUpdateCertificateMapEntryLRO.java index 9f55524..ef6f5dc 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/AsyncUpdateCertificateMapEntryLRO.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/AsyncUpdateCertificateMapEntryLRO.java @@ -16,8 +16,7 @@ package com.google.cloud.certificatemanager.v1.samples; -// [START -// certificatemanager_v1_generated_certificatemanagerclient_updatecertificatemapentry_lro_async] +// [START certificatemanager_v1_generated_certificatemanagerclient_updatecertificatemapentry_lro_async] import com.google.api.gax.longrunning.OperationFuture; import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.CertificateMapEntry; @@ -47,5 +46,4 @@ public static void asyncUpdateCertificateMapEntryLRO() throws Exception { } } } -// [END -// certificatemanager_v1_generated_certificatemanagerclient_updatecertificatemapentry_lro_async] +// [END certificatemanager_v1_generated_certificatemanagerclient_updatecertificatemapentry_lro_async] diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/SyncUpdateCertificateMapEntry.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/SyncUpdateCertificateMapEntry.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/SyncUpdateCertificateMapEntry.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/SyncUpdateCertificateMapEntry.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/SyncUpdateCertificateMapEntryCertificatemapentryFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/SyncUpdateCertificateMapEntryCertificatemapentryFieldmask.java similarity index 86% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/SyncUpdateCertificateMapEntryCertificatemapentryFieldmask.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/SyncUpdateCertificateMapEntryCertificatemapentryFieldmask.java index 597e397..a84fdd7 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/SyncUpdateCertificateMapEntryCertificatemapentryFieldmask.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/SyncUpdateCertificateMapEntryCertificatemapentryFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.certificatemanager.v1.samples; -// [START -// certificatemanager_v1_generated_certificatemanagerclient_updatecertificatemapentry_certificatemapentryfieldmask_sync] +// [START certificatemanager_v1_generated_certificatemanagerclient_updatecertificatemapentry_certificatemapentryfieldmask_sync] import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.CertificateMapEntry; import com.google.protobuf.FieldMask; @@ -41,5 +40,4 @@ public static void syncUpdateCertificateMapEntryCertificatemapentryFieldmask() t } } } -// [END -// certificatemanager_v1_generated_certificatemanagerclient_updatecertificatemapentry_certificatemapentryfieldmask_sync] +// [END certificatemanager_v1_generated_certificatemanagerclient_updatecertificatemapentry_certificatemapentryfieldmask_sync] diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/AsyncUpdateDnsAuthorization.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/AsyncUpdateDnsAuthorization.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/AsyncUpdateDnsAuthorization.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/AsyncUpdateDnsAuthorization.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/AsyncUpdateDnsAuthorizationLRO.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/AsyncUpdateDnsAuthorizationLRO.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/AsyncUpdateDnsAuthorizationLRO.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/AsyncUpdateDnsAuthorizationLRO.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/SyncUpdateDnsAuthorization.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/SyncUpdateDnsAuthorization.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/SyncUpdateDnsAuthorization.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/SyncUpdateDnsAuthorization.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/SyncUpdateDnsAuthorizationDnsauthorizationFieldmask.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/SyncUpdateDnsAuthorizationDnsauthorizationFieldmask.java similarity index 86% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/SyncUpdateDnsAuthorizationDnsauthorizationFieldmask.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/SyncUpdateDnsAuthorizationDnsauthorizationFieldmask.java index bfc172a..11d884f 100644 --- a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/SyncUpdateDnsAuthorizationDnsauthorizationFieldmask.java +++ b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/SyncUpdateDnsAuthorizationDnsauthorizationFieldmask.java @@ -16,8 +16,7 @@ package com.google.cloud.certificatemanager.v1.samples; -// [START -// certificatemanager_v1_generated_certificatemanagerclient_updatednsauthorization_dnsauthorizationfieldmask_sync] +// [START certificatemanager_v1_generated_certificatemanagerclient_updatednsauthorization_dnsauthorizationfieldmask_sync] import com.google.cloud.certificatemanager.v1.CertificateManagerClient; import com.google.cloud.certificatemanager.v1.DnsAuthorization; import com.google.protobuf.FieldMask; @@ -39,5 +38,4 @@ public static void syncUpdateDnsAuthorizationDnsauthorizationFieldmask() throws } } } -// [END -// certificatemanager_v1_generated_certificatemanagerclient_updatednsauthorization_dnsauthorizationfieldmask_sync] +// [END certificatemanager_v1_generated_certificatemanagerclient_updatednsauthorization_dnsauthorizationfieldmask_sync] diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagersettings/getcertificate/SyncGetCertificate.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagersettings/getcertificate/SyncGetCertificate.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagersettings/getcertificate/SyncGetCertificate.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagersettings/getcertificate/SyncGetCertificate.java diff --git a/samples/snippets/generated/com/google/cloud/certificatemanager/v1/stub/certificatemanagerstubsettings/getcertificate/SyncGetCertificate.java b/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/stub/certificatemanagerstubsettings/getcertificate/SyncGetCertificate.java similarity index 100% rename from samples/snippets/generated/com/google/cloud/certificatemanager/v1/stub/certificatemanagerstubsettings/getcertificate/SyncGetCertificate.java rename to owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/stub/certificatemanagerstubsettings/getcertificate/SyncGetCertificate.java diff --git a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerProto.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerProto.java deleted file mode 100644 index 6282899..0000000 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerProto.java +++ /dev/null @@ -1,975 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/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.goog" - + "le.cloud.certificatemanager.v1.Certifica" - + "teMap.LabelsEntry\022X\n\014gclb_targets\030\004 \003(\0132" - + "=.google.cloud.certificatemanager.v1.Cer" - + "tificateMap.GclbTargetB\003\340A\003\032\277\002\n\nGclbTarg" - + "et\022L\n\022target_https_proxy\030\001 \001(\tB.\372A+\n)com" - + "pute.googleapis.com/TargetHttpsProxiesH\000" - + "\022H\n\020target_ssl_proxy\030\003 \001(\tB,\372A)\n\'compute" - + ".googleapis.com/TargetSslProxiesH\000\022Z\n\nip" - + "_configs\030\002 \003(\0132F.google.cloud.certificat" - + "emanager.v1.CertificateMap.GclbTarget.Ip" - + "Config\032-\n\010IpConfig\022\022\n\nip_address\030\001 \001(\t\022\r" - + "\n\005ports\030\003 \003(\rB\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\336(\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\032U\312A" - + "!certificatemanager.googleapis.com\322A.htt" - + "ps://www.googleapis.com/auth/cloud-platf" - + "ormB\203\004\n&com.google.cloud.certificatemana" - + "ger.v1B\027CertificateManagerProtoP\001ZTgoogl" - + "e.golang.org/genproto/googleapis/cloud/c" - + "ertificatemanager/v1;certificatemanager\252" - + "\002\"Google.Cloud.CertificateManager.V1\312\002\"G" - + "oogle\\Cloud\\CertificateManager\\V1\352\002%Goog" - + "le::Cloud::CertificateManager::V1\352A|\n)co" - + "mpute.googleapis.com/TargetHttpsProxies\022" - + "Oprojects/{project}/locations/{location}" - + "/targetHttpsProxies/{target_https_proxy}" - + "\352Av\n\'compute.googleapis.com/TargetSslPro" - + "xies\022Kprojects/{project}/locations/{loca" - + "tion}/targetSslProxies/{target_ssl_proxy" - + "}b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.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", - "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.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequestOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequestOrBuilder.java deleted file mode 100644 index 3f25d2e..0000000 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequestOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequestOrBuilder.java deleted file mode 100644 index a7216a2..0000000 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequestOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequestOrBuilder.java deleted file mode 100644 index a879384..0000000 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequestOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequestOrBuilder.java deleted file mode 100644 index 84ba26f..0000000 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequestOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequestOrBuilder.java deleted file mode 100644 index c92150b..0000000 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequestOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequestOrBuilder.java deleted file mode 100644 index 7031a2c..0000000 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequestOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequestOrBuilder.java deleted file mode 100644 index 36f7ef8..0000000 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequestOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequestOrBuilder.java deleted file mode 100644 index 180ac93..0000000 --- a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequestOrBuilder.java +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/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(); -} From 0fd496f82ebc8a1b83a0c56b0432ae4037a8b174 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 27 Jun 2022 21:33:44 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .../v1/CertificateManagerClient.java | 88 +- .../v1/CertificateManagerSettings.java | 22 +- .../certificatemanager/v1/gapic_metadata.json | 0 .../certificatemanager/v1/package-info.java | 6 +- .../v1/stub/CertificateManagerStub.java | 0 .../stub/CertificateManagerStubSettings.java | 57 +- ...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 .../v1/CertificateManagerGrpc.java | 2783 +++++++++ .../v1/CertificateManagerGrpc.java | 2035 ------- .../v1/CertificateManagerProto.java | 863 --- ...teCertificateMapEntryRequestOrBuilder.java | 31 - .../DeleteCertificateMapRequestOrBuilder.java | 31 - .../v1/DeleteCertificateRequestOrBuilder.java | 31 - ...eleteDnsAuthorizationRequestOrBuilder.java | 31 - ...etCertificateMapEntryRequestOrBuilder.java | 31 - .../v1/GetCertificateMapRequestOrBuilder.java | 31 - .../v1/GetCertificateRequestOrBuilder.java | 31 - .../GetDnsAuthorizationRequestOrBuilder.java | 31 - .../certificatemanager/v1/Certificate.java | 5353 +++++++++++------ .../v1/CertificateManagerProto.java | 975 +++ .../certificatemanager/v1/CertificateMap.java | 2590 +++++--- .../v1/CertificateMapEntry.java | 1419 +++-- .../v1/CertificateMapEntryName.java | 0 .../v1/CertificateMapEntryOrBuilder.java | 154 +- .../v1/CertificateMapName.java | 0 .../v1/CertificateMapOrBuilder.java | 136 +- .../v1/CertificateName.java | 0 .../v1/CertificateOrBuilder.java | 190 +- .../v1/CreateCertificateMapEntryRequest.java | 630 +- ...teCertificateMapEntryRequestOrBuilder.java | 67 +- .../v1/CreateCertificateMapRequest.java | 613 +- .../CreateCertificateMapRequestOrBuilder.java | 64 +- .../v1/CreateCertificateRequest.java | 589 +- .../v1/CreateCertificateRequestOrBuilder.java | 64 +- .../v1/CreateDnsAuthorizationRequest.java | 616 +- ...reateDnsAuthorizationRequestOrBuilder.java | 64 +- .../v1/DeleteCertificateMapEntryRequest.java | 388 +- ...teCertificateMapEntryRequestOrBuilder.java | 56 + .../v1/DeleteCertificateMapRequest.java | 375 +- .../DeleteCertificateMapRequestOrBuilder.java | 56 + .../v1/DeleteCertificateRequest.java | 363 +- .../v1/DeleteCertificateRequestOrBuilder.java | 56 + .../v1/DeleteDnsAuthorizationRequest.java | 375 +- ...eleteDnsAuthorizationRequestOrBuilder.java | 56 + .../v1/DnsAuthorization.java | 1802 +++--- .../v1/DnsAuthorizationName.java | 0 .../v1/DnsAuthorizationOrBuilder.java | 141 +- .../v1/GetCertificateMapEntryRequest.java | 375 +- ...etCertificateMapEntryRequestOrBuilder.java | 56 + .../v1/GetCertificateMapRequest.java | 363 +- .../v1/GetCertificateMapRequestOrBuilder.java | 56 + .../v1/GetCertificateRequest.java | 349 +- .../v1/GetCertificateRequestOrBuilder.java | 56 + .../v1/GetDnsAuthorizationRequest.java | 371 +- .../GetDnsAuthorizationRequestOrBuilder.java | 56 + .../v1/ListCertificateMapEntriesRequest.java | 661 +- ...CertificateMapEntriesRequestOrBuilder.java | 65 +- .../v1/ListCertificateMapEntriesResponse.java | 750 ++- ...ertificateMapEntriesResponseOrBuilder.java | 83 +- .../v1/ListCertificateMapsRequest.java | 644 +- .../ListCertificateMapsRequestOrBuilder.java | 65 +- .../v1/ListCertificateMapsResponse.java | 658 +- .../ListCertificateMapsResponseOrBuilder.java | 60 +- .../v1/ListCertificatesRequest.java | 633 +- .../v1/ListCertificatesRequestOrBuilder.java | 65 +- .../v1/ListCertificatesResponse.java | 583 +- .../v1/ListCertificatesResponseOrBuilder.java | 63 +- .../v1/ListDnsAuthorizationsRequest.java | 648 +- ...ListDnsAuthorizationsRequestOrBuilder.java | 65 +- .../v1/ListDnsAuthorizationsResponse.java | 701 ++- ...istDnsAuthorizationsResponseOrBuilder.java | 74 +- .../certificatemanager/v1/LocationName.java | 0 .../v1/OperationMetadata.java | 774 ++- .../v1/OperationMetadataOrBuilder.java | 73 +- .../certificatemanager/v1/ServingState.java | 86 +- .../v1/UpdateCertificateMapEntryRequest.java | 579 +- ...teCertificateMapEntryRequestOrBuilder.java | 58 +- .../v1/UpdateCertificateMapRequest.java | 562 +- .../UpdateCertificateMapRequestOrBuilder.java | 55 +- .../v1/UpdateCertificateRequest.java | 538 +- .../v1/UpdateCertificateRequestOrBuilder.java | 55 +- .../v1/UpdateDnsAuthorizationRequest.java | 565 +- ...pdateDnsAuthorizationRequestOrBuilder.java | 55 +- .../v1/certificate_manager.proto | 0 .../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 .../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 .../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 .../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 .../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 .../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 188 files changed, 21266 insertions(+), 12930 deletions(-) rename {owl-bot-staging/v1/google-cloud-certificate-manager => google-cloud-certificate-manager}/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerClient.java (98%) rename {owl-bot-staging/v1/google-cloud-certificate-manager => google-cloud-certificate-manager}/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerSettings.java (97%) rename {owl-bot-staging/v1/google-cloud-certificate-manager => google-cloud-certificate-manager}/src/main/java/com/google/cloud/certificatemanager/v1/gapic_metadata.json (100%) rename {owl-bot-staging/v1/google-cloud-certificate-manager => google-cloud-certificate-manager}/src/main/java/com/google/cloud/certificatemanager/v1/package-info.java (89%) rename {owl-bot-staging/v1/google-cloud-certificate-manager => google-cloud-certificate-manager}/src/main/java/com/google/cloud/certificatemanager/v1/stub/CertificateManagerStub.java (100%) rename {owl-bot-staging/v1/google-cloud-certificate-manager => google-cloud-certificate-manager}/src/main/java/com/google/cloud/certificatemanager/v1/stub/CertificateManagerStubSettings.java (97%) rename {owl-bot-staging/v1/google-cloud-certificate-manager => google-cloud-certificate-manager}/src/main/java/com/google/cloud/certificatemanager/v1/stub/GrpcCertificateManagerCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-certificate-manager => google-cloud-certificate-manager}/src/main/java/com/google/cloud/certificatemanager/v1/stub/GrpcCertificateManagerStub.java (99%) rename {owl-bot-staging/v1/google-cloud-certificate-manager => google-cloud-certificate-manager}/src/main/java/com/google/cloud/certificatemanager/v1/stub/HttpJsonCertificateManagerCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-certificate-manager => google-cloud-certificate-manager}/src/main/java/com/google/cloud/certificatemanager/v1/stub/HttpJsonCertificateManagerStub.java (99%) rename {owl-bot-staging/v1/google-cloud-certificate-manager => google-cloud-certificate-manager}/src/test/java/com/google/cloud/certificatemanager/v1/CertificateManagerClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1/google-cloud-certificate-manager => google-cloud-certificate-manager}/src/test/java/com/google/cloud/certificatemanager/v1/CertificateManagerClientTest.java (100%) rename {owl-bot-staging/v1/google-cloud-certificate-manager => google-cloud-certificate-manager}/src/test/java/com/google/cloud/certificatemanager/v1/MockCertificateManager.java (100%) rename {owl-bot-staging/v1/google-cloud-certificate-manager => google-cloud-certificate-manager}/src/test/java/com/google/cloud/certificatemanager/v1/MockCertificateManagerImpl.java (100%) create mode 100644 grpc-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerGrpc.java delete mode 100644 owl-bot-staging/v1/grpc-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerGrpc.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/Certificate.java (63%) create mode 100644 proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerProto.java rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMap.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntry.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntryName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntryOrBuilder.java (78%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapOrBuilder.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/CertificateName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/CertificateOrBuilder.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequest.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequestOrBuilder.java (54%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequest.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequestOrBuilder.java (54%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequest.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequestOrBuilder.java (53%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequest.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequestOrBuilder.java (54%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequest.java (61%) create mode 100644 proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequest.java (63%) create mode 100644 proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequest.java (64%) create mode 100644 proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequest.java (63%) create mode 100644 proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorization.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationOrBuilder.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequest.java (63%) create mode 100644 proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequest.java (64%) create mode 100644 proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequest.java (65%) create mode 100644 proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequest.java (63%) create mode 100644 proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequestOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponse.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponseOrBuilder.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequestOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponse.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponseOrBuilder.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequestOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponse.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponseOrBuilder.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequestOrBuilder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponse.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponseOrBuilder.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/LocationName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadata.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadataOrBuilder.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/ServingState.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequest.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequestOrBuilder.java (59%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequest.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequestOrBuilder.java (60%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequest.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequestOrBuilder.java (60%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequest.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequestOrBuilder.java (60%) rename {owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1 => proto-google-cloud-certificate-manager-v1}/src/main/proto/google/cloud/certificatemanager/v1/certificate_manager.proto (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/AsyncCreateCertificate.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/AsyncCreateCertificateLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificate.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateLocationnameCertificateString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateStringCertificateString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/AsyncCreateCertificateMap.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/AsyncCreateCertificateMapLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMap.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapLocationnameCertificatemapString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapStringCertificatemapString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/AsyncCreateCertificateMapEntry.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/AsyncCreateCertificateMapEntryLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntry.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryCertificatemapnameCertificatemapentryString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryStringCertificatemapentryString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/AsyncCreateDnsAuthorization.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/AsyncCreateDnsAuthorizationLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorization.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationLocationnameDnsauthorizationString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationStringDnsauthorizationString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/AsyncDeleteCertificate.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/AsyncDeleteCertificateLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificate.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateCertificatename.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/AsyncDeleteCertificateMap.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/AsyncDeleteCertificateMapLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMap.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapCertificatemapname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/AsyncDeleteCertificateMapEntry.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/AsyncDeleteCertificateMapEntryLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntry.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryCertificatemapentryname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/AsyncDeleteDnsAuthorization.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/AsyncDeleteDnsAuthorizationLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorization.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationDnsauthorizationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/AsyncGetCertificate.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificate.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificateCertificatename.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificateString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/AsyncGetCertificateMap.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMap.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMapCertificatemapname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMapString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/AsyncGetCertificateMapEntry.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntry.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryCertificatemapentryname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/AsyncGetDnsAuthorization.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorization.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorizationDnsauthorizationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorizationString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/AsyncListCertificateMapEntries.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/AsyncListCertificateMapEntriesPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntries.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesCertificatemapname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/AsyncListCertificateMaps.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/AsyncListCertificateMapsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMaps.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMapsLocationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMapsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/AsyncListCertificates.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/AsyncListCertificatesPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificates.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificatesLocationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificatesString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/AsyncListDnsAuthorizations.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/AsyncListDnsAuthorizationsPaged.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizations.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsLocationname.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsString.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/AsyncUpdateCertificate.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/AsyncUpdateCertificateLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/SyncUpdateCertificate.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/SyncUpdateCertificateCertificateFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/AsyncUpdateCertificateMap.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/AsyncUpdateCertificateMapLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/SyncUpdateCertificateMap.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/SyncUpdateCertificateMapCertificatemapFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/AsyncUpdateCertificateMapEntry.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/AsyncUpdateCertificateMapEntryLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/SyncUpdateCertificateMapEntry.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/SyncUpdateCertificateMapEntryCertificatemapentryFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/AsyncUpdateDnsAuthorization.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/AsyncUpdateDnsAuthorizationLRO.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/SyncUpdateDnsAuthorization.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/SyncUpdateDnsAuthorizationDnsauthorizationFieldmask.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagersettings/getcertificate/SyncGetCertificate.java (100%) rename {owl-bot-staging/v1/samples => samples}/snippets/generated/com/google/cloud/certificatemanager/v1/stub/certificatemanagerstubsettings/getcertificate/SyncGetCertificate.java (100%) diff --git a/owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerClient.java b/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerClient.java similarity index 98% rename from owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerClient.java rename to google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerClient.java index bde53a0..0b39e2a 100644 --- a/owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerClient.java +++ b/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerClient.java @@ -54,10 +54,10 @@ *

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 + *
  • `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 + *
  • `CertificateMapEntry` which describes a single configuration entry that consists of a SNI * and a group of certificates. It's a subresource of CertificateMap. *
* @@ -87,13 +87,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -2990,7 +2990,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListCertificatesPagedResponse extends AbstractPagedListResponse< - ListCertificatesRequest, ListCertificatesResponse, Certificate, ListCertificatesPage, + ListCertificatesRequest, + ListCertificatesResponse, + Certificate, + ListCertificatesPage, ListCertificatesFixedSizeCollection> { public static ApiFuture createAsync( @@ -3040,7 +3043,10 @@ public ApiFuture createPageAsync( public static class ListCertificatesFixedSizeCollection extends AbstractFixedSizeCollection< - ListCertificatesRequest, ListCertificatesResponse, Certificate, ListCertificatesPage, + ListCertificatesRequest, + ListCertificatesResponse, + Certificate, + ListCertificatesPage, ListCertificatesFixedSizeCollection> { private ListCertificatesFixedSizeCollection( @@ -3061,8 +3067,11 @@ protected ListCertificatesFixedSizeCollection createCollection( public static class ListCertificateMapsPagedResponse extends AbstractPagedListResponse< - ListCertificateMapsRequest, ListCertificateMapsResponse, CertificateMap, - ListCertificateMapsPage, ListCertificateMapsFixedSizeCollection> { + ListCertificateMapsRequest, + ListCertificateMapsResponse, + CertificateMap, + ListCertificateMapsPage, + ListCertificateMapsFixedSizeCollection> { public static ApiFuture createAsync( PageContext @@ -3083,7 +3092,9 @@ private ListCertificateMapsPagedResponse(ListCertificateMapsPage page) { public static class ListCertificateMapsPage extends AbstractPage< - ListCertificateMapsRequest, ListCertificateMapsResponse, CertificateMap, + ListCertificateMapsRequest, + ListCertificateMapsResponse, + CertificateMap, ListCertificateMapsPage> { private ListCertificateMapsPage( @@ -3116,8 +3127,11 @@ public ApiFuture createPageAsync( public static class ListCertificateMapsFixedSizeCollection extends AbstractFixedSizeCollection< - ListCertificateMapsRequest, ListCertificateMapsResponse, CertificateMap, - ListCertificateMapsPage, ListCertificateMapsFixedSizeCollection> { + ListCertificateMapsRequest, + ListCertificateMapsResponse, + CertificateMap, + ListCertificateMapsPage, + ListCertificateMapsFixedSizeCollection> { private ListCertificateMapsFixedSizeCollection( List pages, int collectionSize) { @@ -3137,12 +3151,16 @@ protected ListCertificateMapsFixedSizeCollection createCollection( public static class ListCertificateMapEntriesPagedResponse extends AbstractPagedListResponse< - ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse, CertificateMapEntry, - ListCertificateMapEntriesPage, ListCertificateMapEntriesFixedSizeCollection> { + ListCertificateMapEntriesRequest, + ListCertificateMapEntriesResponse, + CertificateMapEntry, + ListCertificateMapEntriesPage, + ListCertificateMapEntriesFixedSizeCollection> { public static ApiFuture createAsync( PageContext< - ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse, + ListCertificateMapEntriesRequest, + ListCertificateMapEntriesResponse, CertificateMapEntry> context, ApiFuture futureResponse) { @@ -3161,12 +3179,15 @@ private ListCertificateMapEntriesPagedResponse(ListCertificateMapEntriesPage pag public static class ListCertificateMapEntriesPage extends AbstractPage< - ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse, CertificateMapEntry, + ListCertificateMapEntriesRequest, + ListCertificateMapEntriesResponse, + CertificateMapEntry, ListCertificateMapEntriesPage> { private ListCertificateMapEntriesPage( PageContext< - ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse, + ListCertificateMapEntriesRequest, + ListCertificateMapEntriesResponse, CertificateMapEntry> context, ListCertificateMapEntriesResponse response) { @@ -3180,7 +3201,8 @@ private static ListCertificateMapEntriesPage createEmptyPage() { @Override protected ListCertificateMapEntriesPage createPage( PageContext< - ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse, + ListCertificateMapEntriesRequest, + ListCertificateMapEntriesResponse, CertificateMapEntry> context, ListCertificateMapEntriesResponse response) { @@ -3190,7 +3212,8 @@ protected ListCertificateMapEntriesPage createPage( @Override public ApiFuture createPageAsync( PageContext< - ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse, + ListCertificateMapEntriesRequest, + ListCertificateMapEntriesResponse, CertificateMapEntry> context, ApiFuture futureResponse) { @@ -3200,8 +3223,11 @@ public ApiFuture createPageAsync( public static class ListCertificateMapEntriesFixedSizeCollection extends AbstractFixedSizeCollection< - ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse, CertificateMapEntry, - ListCertificateMapEntriesPage, ListCertificateMapEntriesFixedSizeCollection> { + ListCertificateMapEntriesRequest, + ListCertificateMapEntriesResponse, + CertificateMapEntry, + ListCertificateMapEntriesPage, + ListCertificateMapEntriesFixedSizeCollection> { private ListCertificateMapEntriesFixedSizeCollection( List pages, int collectionSize) { @@ -3221,8 +3247,11 @@ protected ListCertificateMapEntriesFixedSizeCollection createCollection( public static class ListDnsAuthorizationsPagedResponse extends AbstractPagedListResponse< - ListDnsAuthorizationsRequest, ListDnsAuthorizationsResponse, DnsAuthorization, - ListDnsAuthorizationsPage, ListDnsAuthorizationsFixedSizeCollection> { + ListDnsAuthorizationsRequest, + ListDnsAuthorizationsResponse, + DnsAuthorization, + ListDnsAuthorizationsPage, + ListDnsAuthorizationsFixedSizeCollection> { public static ApiFuture createAsync( PageContext @@ -3243,7 +3272,9 @@ private ListDnsAuthorizationsPagedResponse(ListDnsAuthorizationsPage page) { public static class ListDnsAuthorizationsPage extends AbstractPage< - ListDnsAuthorizationsRequest, ListDnsAuthorizationsResponse, DnsAuthorization, + ListDnsAuthorizationsRequest, + ListDnsAuthorizationsResponse, + DnsAuthorization, ListDnsAuthorizationsPage> { private ListDnsAuthorizationsPage( @@ -3276,8 +3307,11 @@ public ApiFuture createPageAsync( public static class ListDnsAuthorizationsFixedSizeCollection extends AbstractFixedSizeCollection< - ListDnsAuthorizationsRequest, ListDnsAuthorizationsResponse, DnsAuthorization, - ListDnsAuthorizationsPage, ListDnsAuthorizationsFixedSizeCollection> { + ListDnsAuthorizationsRequest, + ListDnsAuthorizationsResponse, + DnsAuthorization, + ListDnsAuthorizationsPage, + ListDnsAuthorizationsFixedSizeCollection> { private ListDnsAuthorizationsFixedSizeCollection( List pages, int collectionSize) { diff --git a/owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerSettings.java b/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerSettings.java similarity index 97% rename from owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerSettings.java rename to google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerSettings.java index 529937f..972dcfc 100644 --- a/owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerSettings.java +++ b/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerSettings.java @@ -32,7 +32,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; @@ -49,10 +48,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -179,7 +178,8 @@ public UnaryCallSettings deleteCertifica /** Returns the object with the settings used for calls to listCertificateMapEntries. */ public PagedCallSettings< - ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse, + ListCertificateMapEntriesRequest, + ListCertificateMapEntriesResponse, ListCertificateMapEntriesPagedResponse> listCertificateMapEntriesSettings() { return ((CertificateManagerStubSettings) getStubSettings()).listCertificateMapEntriesSettings(); @@ -234,7 +234,8 @@ public UnaryCallSettings deleteCertifica /** Returns the object with the settings used for calls to listDnsAuthorizations. */ public PagedCallSettings< - ListDnsAuthorizationsRequest, ListDnsAuthorizationsResponse, + ListDnsAuthorizationsRequest, + ListDnsAuthorizationsResponse, ListDnsAuthorizationsPagedResponse> listDnsAuthorizationsSettings() { return ((CertificateManagerStubSettings) getStubSettings()).listDnsAuthorizationsSettings(); @@ -450,7 +451,8 @@ public UnaryCallSettings.Builder getCertific /** Returns the builder for the settings used for calls to listCertificateMaps. */ public PagedCallSettings.Builder< - ListCertificateMapsRequest, ListCertificateMapsResponse, + ListCertificateMapsRequest, + ListCertificateMapsResponse, ListCertificateMapsPagedResponse> listCertificateMapsSettings() { return getStubSettingsBuilder().listCertificateMapsSettings(); @@ -502,7 +504,8 @@ public UnaryCallSettings.Builder getCertific /** Returns the builder for the settings used for calls to listCertificateMapEntries. */ public PagedCallSettings.Builder< - ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse, + ListCertificateMapEntriesRequest, + ListCertificateMapEntriesResponse, ListCertificateMapEntriesPagedResponse> listCertificateMapEntriesSettings() { return getStubSettingsBuilder().listCertificateMapEntriesSettings(); @@ -554,7 +557,8 @@ public UnaryCallSettings.Builder getCertific /** Returns the builder for the settings used for calls to listDnsAuthorizations. */ public PagedCallSettings.Builder< - ListDnsAuthorizationsRequest, ListDnsAuthorizationsResponse, + ListDnsAuthorizationsRequest, + ListDnsAuthorizationsResponse, ListDnsAuthorizationsPagedResponse> listDnsAuthorizationsSettings() { return getStubSettingsBuilder().listDnsAuthorizationsSettings(); diff --git a/owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/gapic_metadata.json b/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/gapic_metadata.json rename to google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/gapic_metadata.json diff --git a/owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/package-info.java b/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/package-info.java similarity index 89% rename from owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/package-info.java rename to google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/package-info.java index e7a22b6..145ff6d 100644 --- a/owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/package-info.java +++ b/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/package-info.java @@ -34,10 +34,10 @@ *

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 + *
  • `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 + *
  • `CertificateMapEntry` which describes a single configuration entry that consists of a SNI * and a group of certificates. It's a subresource of CertificateMap. *
* diff --git a/owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/CertificateManagerStub.java b/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/CertificateManagerStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/CertificateManagerStub.java rename to google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/CertificateManagerStub.java diff --git a/owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/CertificateManagerStubSettings.java b/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/CertificateManagerStubSettings.java similarity index 97% rename from owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/CertificateManagerStubSettings.java rename to google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/CertificateManagerStubSettings.java index 9acbd7e..66f842a 100644 --- a/owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/CertificateManagerStubSettings.java +++ b/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/CertificateManagerStubSettings.java @@ -97,10 +97,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -165,7 +165,8 @@ public class CertificateManagerStubSettings extends StubSettings deleteCertificateMapOperationSettings; private final PagedCallSettings< - ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse, + ListCertificateMapEntriesRequest, + ListCertificateMapEntriesResponse, ListCertificateMapEntriesPagedResponse> listCertificateMapEntriesSettings; private final UnaryCallSettings @@ -185,7 +186,8 @@ public class CertificateManagerStubSettings extends StubSettings deleteCertificateMapEntryOperationSettings; private final PagedCallSettings< - ListDnsAuthorizationsRequest, ListDnsAuthorizationsResponse, + ListDnsAuthorizationsRequest, + ListDnsAuthorizationsResponse, ListDnsAuthorizationsPagedResponse> listDnsAuthorizationsSettings; private final UnaryCallSettings @@ -289,7 +291,8 @@ public Iterable extractResources(ListCertificateMapsResponse pay ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse, CertificateMapEntry> LIST_CERTIFICATE_MAP_ENTRIES_PAGE_STR_DESC = new PagedListDescriptor< - ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse, + ListCertificateMapEntriesRequest, + ListCertificateMapEntriesResponse, CertificateMapEntry>() { @Override public String emptyToken() { @@ -395,7 +398,8 @@ public ApiFuture getFuturePagedResponse( ListCertificateMapsRequest, ListCertificateMapsResponse, ListCertificateMapsPagedResponse> LIST_CERTIFICATE_MAPS_PAGE_STR_FACT = new PagedListResponseFactory< - ListCertificateMapsRequest, ListCertificateMapsResponse, + ListCertificateMapsRequest, + ListCertificateMapsResponse, ListCertificateMapsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -412,11 +416,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse, + ListCertificateMapEntriesRequest, + ListCertificateMapEntriesResponse, ListCertificateMapEntriesPagedResponse> LIST_CERTIFICATE_MAP_ENTRIES_PAGE_STR_FACT = new PagedListResponseFactory< - ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse, + ListCertificateMapEntriesRequest, + ListCertificateMapEntriesResponse, ListCertificateMapEntriesPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -426,7 +432,8 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse, + ListCertificateMapEntriesRequest, + ListCertificateMapEntriesResponse, CertificateMapEntry> pageContext = PageContext.create( @@ -437,11 +444,13 @@ public ApiFuture getFuturePagedResponse( }; private static final PagedListResponseFactory< - ListDnsAuthorizationsRequest, ListDnsAuthorizationsResponse, + ListDnsAuthorizationsRequest, + ListDnsAuthorizationsResponse, ListDnsAuthorizationsPagedResponse> LIST_DNS_AUTHORIZATIONS_PAGE_STR_FACT = new PagedListResponseFactory< - ListDnsAuthorizationsRequest, ListDnsAuthorizationsResponse, + ListDnsAuthorizationsRequest, + ListDnsAuthorizationsResponse, ListDnsAuthorizationsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -550,7 +559,8 @@ public UnaryCallSettings deleteCertifica /** Returns the object with the settings used for calls to listCertificateMapEntries. */ public PagedCallSettings< - ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse, + ListCertificateMapEntriesRequest, + ListCertificateMapEntriesResponse, ListCertificateMapEntriesPagedResponse> listCertificateMapEntriesSettings() { return listCertificateMapEntriesSettings; @@ -602,7 +612,8 @@ public UnaryCallSettings deleteCertifica /** Returns the object with the settings used for calls to listDnsAuthorizations. */ public PagedCallSettings< - ListDnsAuthorizationsRequest, ListDnsAuthorizationsResponse, + ListDnsAuthorizationsRequest, + ListDnsAuthorizationsResponse, ListDnsAuthorizationsPagedResponse> listDnsAuthorizationsSettings() { return listDnsAuthorizationsSettings; @@ -826,7 +837,8 @@ public static class Builder private final OperationCallSettings.Builder deleteCertificateOperationSettings; private final PagedCallSettings.Builder< - ListCertificateMapsRequest, ListCertificateMapsResponse, + ListCertificateMapsRequest, + ListCertificateMapsResponse, ListCertificateMapsPagedResponse> listCertificateMapsSettings; private final UnaryCallSettings.Builder @@ -847,7 +859,8 @@ public static class Builder DeleteCertificateMapRequest, Empty, OperationMetadata> deleteCertificateMapOperationSettings; private final PagedCallSettings.Builder< - ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse, + ListCertificateMapEntriesRequest, + ListCertificateMapEntriesResponse, ListCertificateMapEntriesPagedResponse> listCertificateMapEntriesSettings; private final UnaryCallSettings.Builder @@ -868,7 +881,8 @@ public static class Builder DeleteCertificateMapEntryRequest, Empty, OperationMetadata> deleteCertificateMapEntryOperationSettings; private final PagedCallSettings.Builder< - ListDnsAuthorizationsRequest, ListDnsAuthorizationsResponse, + ListDnsAuthorizationsRequest, + ListDnsAuthorizationsResponse, ListDnsAuthorizationsPagedResponse> listDnsAuthorizationsSettings; private final UnaryCallSettings.Builder @@ -1548,7 +1562,8 @@ public UnaryCallSettings.Builder getCertific /** Returns the builder for the settings used for calls to listCertificateMaps. */ public PagedCallSettings.Builder< - ListCertificateMapsRequest, ListCertificateMapsResponse, + ListCertificateMapsRequest, + ListCertificateMapsResponse, ListCertificateMapsPagedResponse> listCertificateMapsSettings() { return listCertificateMapsSettings; @@ -1606,7 +1621,8 @@ public UnaryCallSettings.Builder getCertific /** Returns the builder for the settings used for calls to listCertificateMapEntries. */ public PagedCallSettings.Builder< - ListCertificateMapEntriesRequest, ListCertificateMapEntriesResponse, + ListCertificateMapEntriesRequest, + ListCertificateMapEntriesResponse, ListCertificateMapEntriesPagedResponse> listCertificateMapEntriesSettings() { return listCertificateMapEntriesSettings; @@ -1664,7 +1680,8 @@ public UnaryCallSettings.Builder getCertific /** Returns the builder for the settings used for calls to listDnsAuthorizations. */ public PagedCallSettings.Builder< - ListDnsAuthorizationsRequest, ListDnsAuthorizationsResponse, + ListDnsAuthorizationsRequest, + ListDnsAuthorizationsResponse, ListDnsAuthorizationsPagedResponse> listDnsAuthorizationsSettings() { return listDnsAuthorizationsSettings; diff --git a/owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/GrpcCertificateManagerCallableFactory.java b/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/GrpcCertificateManagerCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/GrpcCertificateManagerCallableFactory.java rename to google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/GrpcCertificateManagerCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/GrpcCertificateManagerStub.java b/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/GrpcCertificateManagerStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/GrpcCertificateManagerStub.java rename to google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/GrpcCertificateManagerStub.java index 1edf38b..d590546 100644 --- a/owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/GrpcCertificateManagerStub.java +++ b/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/GrpcCertificateManagerStub.java @@ -64,7 +64,6 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; -import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/HttpJsonCertificateManagerCallableFactory.java b/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/HttpJsonCertificateManagerCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/HttpJsonCertificateManagerCallableFactory.java rename to google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/HttpJsonCertificateManagerCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/HttpJsonCertificateManagerStub.java b/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/HttpJsonCertificateManagerStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/HttpJsonCertificateManagerStub.java rename to google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/HttpJsonCertificateManagerStub.java index 36c1a9d..0683ebe 100644 --- a/owl-bot-staging/v1/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/HttpJsonCertificateManagerStub.java +++ b/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/stub/HttpJsonCertificateManagerStub.java @@ -33,7 +33,6 @@ import com.google.api.gax.httpjson.ProtoMessageResponseParser; import com.google.api.gax.httpjson.ProtoRestSerializer; import com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub; -import com.google.api.gax.longrunning.OperationSnapshot; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.OperationCallable; import com.google.api.gax.rpc.UnaryCallable; diff --git a/owl-bot-staging/v1/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/CertificateManagerClientHttpJsonTest.java b/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/CertificateManagerClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/CertificateManagerClientHttpJsonTest.java rename to google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/CertificateManagerClientHttpJsonTest.java diff --git a/owl-bot-staging/v1/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/CertificateManagerClientTest.java b/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/CertificateManagerClientTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/CertificateManagerClientTest.java rename to google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/CertificateManagerClientTest.java diff --git a/owl-bot-staging/v1/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/MockCertificateManager.java b/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/MockCertificateManager.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/MockCertificateManager.java rename to google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/MockCertificateManager.java diff --git a/owl-bot-staging/v1/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/MockCertificateManagerImpl.java b/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/MockCertificateManagerImpl.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/MockCertificateManagerImpl.java rename to google-cloud-certificate-manager/src/test/java/com/google/cloud/certificatemanager/v1/MockCertificateManagerImpl.java diff --git a/grpc-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerGrpc.java b/grpc-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerGrpc.java new file mode 100644 index 0000000..27f616e --- /dev/null +++ b/grpc-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerGrpc.java @@ -0,0 +1,2783 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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; + } + + /** 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); + } + + @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))) + .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); + } + } + + /** + * + * + *
+   * 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); + } + } + + /** + * + * + *
+   * 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); + } + } + + 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 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; + 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()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/v1/grpc-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerGrpc.java deleted file mode 100644 index 4947ab7..0000000 --- a/owl-bot-staging/v1/grpc-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerGrpc.java +++ /dev/null @@ -1,2035 +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; - } - - /** - * 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); - } - - @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))) - .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); - } - } - - /** - *
-   * 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); - } - } - - /** - *
-   * 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); - } - } - - 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 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; - 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()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerProto.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerProto.java deleted file mode 100644 index 7f60951..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerProto.java +++ /dev/null @@ -1,863 +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.goog" + - "le.cloud.certificatemanager.v1.Certifica" + - "teMap.LabelsEntry\022X\n\014gclb_targets\030\004 \003(\0132" + - "=.google.cloud.certificatemanager.v1.Cer" + - "tificateMap.GclbTargetB\003\340A\003\032\277\002\n\nGclbTarg" + - "et\022L\n\022target_https_proxy\030\001 \001(\tB.\372A+\n)com" + - "pute.googleapis.com/TargetHttpsProxiesH\000" + - "\022H\n\020target_ssl_proxy\030\003 \001(\tB,\372A)\n\'compute" + - ".googleapis.com/TargetSslProxiesH\000\022Z\n\nip" + - "_configs\030\002 \003(\0132F.google.cloud.certificat" + - "emanager.v1.CertificateMap.GclbTarget.Ip" + - "Config\032-\n\010IpConfig\022\022\n\nip_address\030\001 \001(\t\022\r" + - "\n\005ports\030\003 \003(\rB\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\336(\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\032U\312A" + - "!certificatemanager.googleapis.com\322A.htt" + - "ps://www.googleapis.com/auth/cloud-platf" + - "ormB\203\004\n&com.google.cloud.certificatemana" + - "ger.v1B\027CertificateManagerProtoP\001ZTgoogl" + - "e.golang.org/genproto/googleapis/cloud/c" + - "ertificatemanager/v1;certificatemanager\252" + - "\002\"Google.Cloud.CertificateManager.V1\312\002\"G" + - "oogle\\Cloud\\CertificateManager\\V1\352\002%Goog" + - "le::Cloud::CertificateManager::V1\352A|\n)co" + - "mpute.googleapis.com/TargetHttpsProxies\022" + - "Oprojects/{project}/locations/{location}" + - "/targetHttpsProxies/{target_https_proxy}" + - "\352Av\n\'compute.googleapis.com/TargetSslPro" + - "xies\022Kprojects/{project}/locations/{loca" + - "tion}/targetSslProxies/{target_ssl_proxy" + - "}b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), - com.google.api.ClientProto.getDescriptor(), - com.google.api.FieldBehaviorProto.getDescriptor(), - com.google.api.ResourceProto.getDescriptor(), - com.google.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", "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.resourceDefinition); - registry.add(com.google.api.ResourceProto.resourceReference); - registry.add(com.google.longrunning.OperationsProto.operationInfo); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.AnnotationsProto.getDescriptor(); - com.google.api.ClientProto.getDescriptor(); - com.google.api.FieldBehaviorProto.getDescriptor(); - com.google.api.ResourceProto.getDescriptor(); - com.google.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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequestOrBuilder.java deleted file mode 100644 index 40c29b6..0000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequestOrBuilder.java deleted file mode 100644 index 57ed965..0000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequestOrBuilder.java deleted file mode 100644 index 698fa34..0000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequestOrBuilder.java deleted file mode 100644 index 50e3216..0000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequestOrBuilder.java deleted file mode 100644 index 6fd9bf9..0000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequestOrBuilder.java deleted file mode 100644 index f98e3a0..0000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequestOrBuilder.java deleted file mode 100644 index 20d2f35..0000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequestOrBuilder.java deleted file mode 100644 index c28e69a..0000000 --- a/owl-bot-staging/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(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/Certificate.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/Certificate.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/Certificate.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/Certificate.java index f97208f..d6bb4d2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/Certificate.java +++ b/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,16 +47,15 @@ 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; } + private Certificate( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -58,126 +75,155 @@ private Certificate( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); - } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; - } - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put( - labels__.getKey(), labels__.getValue()); - break; - } - case 42: { - com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.Builder subBuilder = null; - if (typeCase_ == 5) { - subBuilder = ((com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate) type_).toBuilder(); - } - type_ = - input.readMessage(com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate) type_); - type_ = subBuilder.buildPartial(); + break; } - typeCase_ = 5; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - sanDnsnames_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = + com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); + break; } - sanDnsnames_.add(s); - break; - } - case 58: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (expireTime_ != null) { - subBuilder = expireTime_.toBuilder(); + case 42: + { + com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.Builder + subBuilder = null; + if (typeCase_ == 5) { + subBuilder = + ((com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate) + type_) + .toBuilder(); + } + type_ = + input.readMessage( + com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate) + type_); + type_ = subBuilder.buildPartial(); + } + typeCase_ = 5; + break; } - expireTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(expireTime_); - expireTime_ = subBuilder.buildPartial(); + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + sanDnsnames_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + sanDnsnames_.add(s); + break; } + case 58: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (expireTime_ != null) { + subBuilder = expireTime_.toBuilder(); + } + expireTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(expireTime_); + expireTime_ = subBuilder.buildPartial(); + } - break; - } - case 66: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 74: { - java.lang.String s = input.readStringRequireUtf8(); + description_ = s; + break; + } + case 74: + { + java.lang.String s = input.readStringRequireUtf8(); - pemCertificate_ = s; - break; - } - case 90: { - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.Builder subBuilder = null; - if (typeCase_ == 11) { - subBuilder = ((com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate) type_).toBuilder(); + pemCertificate_ = s; + break; } - type_ = - input.readMessage(com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom((com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate) type_); - type_ = subBuilder.buildPartial(); + case 90: + { + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.Builder + subBuilder = null; + if (typeCase_ == 11) { + subBuilder = + ((com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate) type_) + .toBuilder(); + } + type_ = + input.readMessage( + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate) type_); + type_ = subBuilder.buildPartial(); + } + typeCase_ = 11; + break; } - typeCase_ = 11; - break; - } - case 96: { - int rawValue = input.readEnum(); + case 96: + { + int rawValue = input.readEnum(); - scope_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + scope_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -185,8 +231,7 @@ private Certificate( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) != 0)) { sanDnsnames_ = sanDnsnames_.getUnmodifiableView(); @@ -195,41 +240,46 @@ private Certificate( makeExtensionsImmutable(); } } - 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.
@@ -239,6 +289,8 @@ public enum Scope
      */
     DEFAULT(0),
     /**
+     *
+     *
      * 
      * Certificates with scope EDGE_CACHE are special-purposed certificates,
      * served from non-core Google data centers.
@@ -251,6 +303,8 @@ public enum Scope
     ;
 
     /**
+     *
+     *
      * 
      * Certificates with default scope are served from core Google data centers.
      * If unsure, choose this option.
@@ -260,6 +314,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.
@@ -269,7 +325,6 @@ public enum Scope
      */
     public static final int EDGE_CACHE_VALUE = 1;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -294,48 +349,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;
@@ -352,53 +408,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
@@ -407,15 +476,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_ = "";
@@ -423,16 +493,15 @@ 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;
     }
+
     private SelfManagedCertificate(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -451,25 +520,27 @@ private SelfManagedCertificate(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              pemCertificate_ = s;
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
+                pemCertificate_ = s;
+                break;
+              }
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              pemPrivateKey_ = s;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                pemPrivateKey_ = s;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -477,35 +548,41 @@ private SelfManagedCertificate(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.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 @@ -514,30 +591,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 { @@ -548,11 +625,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 @@ -561,29 +641,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 { @@ -592,6 +672,7 @@ public java.lang.String getPemPrivateKey() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -603,8 +684,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -634,17 +714,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -665,88 +745,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 @@ -756,6 +849,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Certificate data for a SelfManaged Certificate.
      * SelfManaged Certificates are uploaded by the user. Updating such
@@ -764,38 +859,42 @@ 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()
+      // Construct using
+      // com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -807,19 +906,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);
         }
@@ -827,8 +929,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();
@@ -839,46 +943,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();
@@ -902,11 +1014,14 @@ public Builder mergeFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate parsedMessage = null;
+        com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate parsedMessage =
+            null;
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.certificatemanager.v1.Certificate.SelfManagedCertificate)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -918,19 +1033,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; @@ -939,21 +1056,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 { @@ -961,57 +1079,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; @@ -1019,18 +1144,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; @@ -1039,20 +1166,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 { @@ -1060,58 +1188,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) { @@ -1124,30 +1260,33 @@ 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 { - return new SelfManagedCertificate(input, extensionRegistry); - } - }; + 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 { + return new SelfManagedCertificate(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1159,198 +1298,282 @@ 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 resolution.
      * 
* * 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 resolution.
      * 
* * 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 resolution.
      * 
* * 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 resolution.
      * 
* * 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); /** + * + * *
      * 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(); /** + * + * *
      * Information about issues with provisioning a Managed Certificate.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; + * + * * @return Whether the provisioningIssue field is set. */ boolean hasProvisioningIssue(); /** + * + * *
      * Information about issues with provisioning a Managed Certificate.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; + * + * * @return The provisioningIssue. */ - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue getProvisioningIssue(); + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue + getProvisioningIssue(); /** + * + * *
      * Information about issues with provisioning a Managed Certificate.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; + * */ - 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
@@ -1359,15 +1582,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;
@@ -1377,16 +1601,15 @@ 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;
     }
+
     private ManagedCertificate(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -1406,59 +1629,76 @@ private ManagedCertificate(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                domains_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              domains_.add(s);
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              if (!((mutable_bitField0_ & 0x00000002) != 0)) {
-                dnsAuthorizations_ = new com.google.protobuf.LazyStringArrayList();
-                mutable_bitField0_ |= 0x00000002;
-              }
-              dnsAuthorizations_.add(s);
-              break;
-            }
-            case 26: {
-              com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Builder subBuilder = null;
-              if (provisioningIssue_ != null) {
-                subBuilder = provisioningIssue_.toBuilder();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                  domains_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000001;
+                }
+                domains_.add(s);
+                break;
               }
-              provisioningIssue_ = input.readMessage(com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(provisioningIssue_);
-                provisioningIssue_ = subBuilder.buildPartial();
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+                  dnsAuthorizations_ = new com.google.protobuf.LazyStringArrayList();
+                  mutable_bitField0_ |= 0x00000002;
+                }
+                dnsAuthorizations_.add(s);
+                break;
               }
+            case 26:
+              {
+                com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate
+                        .ProvisioningIssue.Builder
+                    subBuilder = null;
+                if (provisioningIssue_ != null) {
+                  subBuilder = provisioningIssue_.toBuilder();
+                }
+                provisioningIssue_ =
+                    input.readMessage(
+                        com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate
+                            .ProvisioningIssue.parser(),
+                        extensionRegistry);
+                if (subBuilder != null) {
+                  subBuilder.mergeFrom(provisioningIssue_);
+                  provisioningIssue_ = subBuilder.buildPartial();
+                }
 
-              break;
-            }
-            case 32: {
-              int rawValue = input.readEnum();
+                break;
+              }
+            case 32:
+              {
+                int rawValue = input.readEnum();
 
-              state_ = rawValue;
-              break;
-            }
-            case 42: {
-              if (!((mutable_bitField0_ & 0x00000004) != 0)) {
-                authorizationAttemptInfo_ = new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000004;
+                state_ = rawValue;
+                break;
               }
-              authorizationAttemptInfo_.add(
-                  input.readMessage(com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.parser(), extensionRegistry));
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+            case 42:
+              {
+                if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+                  authorizationAttemptInfo_ =
+                      new java.util.ArrayList<
+                          com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate
+                              .AuthorizationAttemptInfo>();
+                  mutable_bitField0_ |= 0x00000004;
+                }
+                authorizationAttemptInfo_.add(
+                    input.readMessage(
+                        com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate
+                            .AuthorizationAttemptInfo.parser(),
+                        extensionRegistry));
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1466,8 +1706,7 @@ private ManagedCertificate(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         if (((mutable_bitField0_ & 0x00000001) != 0)) {
           domains_ = domains_.getUnmodifiableView();
@@ -1476,35 +1715,38 @@ private ManagedCertificate(
           dnsAuthorizations_ = dnsAuthorizations_.getUnmodifiableView();
         }
         if (((mutable_bitField0_ & 0x00000004) != 0)) {
-          authorizationAttemptInfo_ = java.util.Collections.unmodifiableList(authorizationAttemptInfo_);
+          authorizationAttemptInfo_ =
+              java.util.Collections.unmodifiableList(authorizationAttemptInfo_);
         }
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    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
@@ -1515,6 +1757,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
@@ -1526,6 +1770,8 @@ public enum State
        */
       FAILED(2),
       /**
+       *
+       *
        * 
        * The certificate management is working, and a certificate has been
        * provisioned.
@@ -1537,11 +1783,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
@@ -1552,6 +1798,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
@@ -1563,6 +1811,8 @@ public enum State
        */
       public static final int FAILED_VALUE = 2;
       /**
+       *
+       *
        * 
        * The certificate management is working, and a certificate has been
        * provisioned.
@@ -1572,7 +1822,6 @@ public enum State
        */
       public static final int ACTIVE_VALUE = 3;
 
-
       public final int getNumber() {
         if (this == UNRECOGNIZED) {
           throw new java.lang.IllegalArgumentException(
@@ -1597,50 +1846,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;
@@ -1657,30 +1909,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 {
 
       /**
+       *
+       *
        * 
        * Reason for provisioning failures.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1; + * + * * @return The enum numeric value on the wire for reason. */ int getReasonValue(); /** + * + * *
        * Reason for provisioning failures.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1; + * + * * @return The reason. */ - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason getReason(); + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason + getReason(); /** + * + * *
        * Human readable explanation about the issue. Provided to help address
        * the configuration issues.
@@ -1688,10 +1954,13 @@ public interface ProvisioningIssueOrBuilder extends
        * 
* * string details = 2; + * * @return The details. */ java.lang.String getDetails(); /** + * + * *
        * Human readable explanation about the issue. Provided to help address
        * the configuration issues.
@@ -1699,27 +1968,31 @@ public interface ProvisioningIssueOrBuilder extends
        * 
* * string details = 2; + * * @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_ = ""; @@ -1727,16 +2000,15 @@ 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; } + private ProvisioningIssue( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -1755,25 +2027,27 @@ private ProvisioningIssue( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); + case 8: + { + int rawValue = input.readEnum(); - reason_ = rawValue; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + reason_ = rawValue; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - details_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + details_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1781,36 +2055,41 @@ private ProvisioningIssue( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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.
@@ -1822,6 +2101,8 @@ public enum Reason
          */
         AUTHORIZATION_ISSUE(1),
         /**
+         *
+         *
          * 
          * Exceeded Certificate Authority quotas or internal rate limits of the
          * system. Provisioning may take longer to complete.
@@ -1833,11 +2114,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.
@@ -1849,6 +2130,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.
@@ -1858,7 +2141,6 @@ public enum Reason
          */
         public static final int RATE_LIMITED_VALUE = 2;
 
-
         public final int getNumber() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalArgumentException(
@@ -1883,49 +2165,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;
@@ -1945,33 +2231,56 @@ private Reason(int value) {
       public static final int REASON_FIELD_NUMBER = 1;
       private int reason_;
       /**
+       *
+       *
        * 
        * Reason for provisioning failures.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1; + * + * * @return The enum numeric value on the wire for reason. */ - @java.lang.Override public int getReasonValue() { + @java.lang.Override + public int getReasonValue() { return reason_; } /** + * + * *
        * Reason for provisioning failures.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1; + * + * * @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_; /** + * + * *
        * Human readable explanation about the issue. Provided to help address
        * the configuration issues.
@@ -1979,6 +2288,7 @@ private Reason(int value) {
        * 
* * string details = 2; + * * @return The details. */ @java.lang.Override @@ -1987,14 +2297,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; } } /** + * + * *
        * Human readable explanation about the issue. Provided to help address
        * the configuration issues.
@@ -2002,16 +2313,15 @@ public java.lang.String getDetails() {
        * 
* * string details = 2; + * * @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 { @@ -2020,6 +2330,7 @@ public java.lang.String getDetails() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2031,9 +2342,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_)) { @@ -2048,9 +2361,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_); @@ -2063,16 +2378,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2093,88 +2414,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 @@ -2184,44 +2533,53 @@ 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() + // Construct using + // com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -2233,19 +2591,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); } @@ -2253,8 +2617,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(); @@ -2265,46 +2634,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()); } @@ -2327,11 +2709,15 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue parsedMessage = null; + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .ProvisioningIssue) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2343,73 +2729,111 @@ public Builder mergeFrom( private int reason_ = 0; /** + * + * *
          * Reason for provisioning failures.
          * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1; + * + * * @return The enum numeric value on the wire for reason. */ - @java.lang.Override public int getReasonValue() { + @java.lang.Override + public int getReasonValue() { return reason_; } /** + * + * *
          * Reason for provisioning failures.
          * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1; + * + * * @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; } /** + * + * *
          * Reason for provisioning failures.
          * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1; + * + * * @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; } /** + * + * *
          * Reason for provisioning failures.
          * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1; + * + * * @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; } /** + * + * *
          * Reason for provisioning failures.
          * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue.Reason reason = 1; + * + * * @return This builder for chaining. */ public Builder clearReason() { - + reason_ = 0; onChanged(); return this; @@ -2417,6 +2841,8 @@ public Builder clearReason() { private java.lang.Object details_ = ""; /** + * + * *
          * Human readable explanation about the issue. Provided to help address
          * the configuration issues.
@@ -2424,13 +2850,13 @@ public Builder clearReason() {
          * 
* * string details = 2; + * * @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; @@ -2439,6 +2865,8 @@ public java.lang.String getDetails() { } } /** + * + * *
          * Human readable explanation about the issue. Provided to help address
          * the configuration issues.
@@ -2446,15 +2874,14 @@ public java.lang.String getDetails() {
          * 
* * string details = 2; + * * @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 { @@ -2462,6 +2889,8 @@ public java.lang.String getDetails() { } } /** + * + * *
          * Human readable explanation about the issue. Provided to help address
          * the configuration issues.
@@ -2469,20 +2898,22 @@ public java.lang.String getDetails() {
          * 
* * string details = 2; + * * @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; } /** + * + * *
          * Human readable explanation about the issue. Provided to help address
          * the configuration issues.
@@ -2490,15 +2921,18 @@ public Builder setDetails(
          * 
* * string details = 2; + * * @return This builder for chaining. */ public Builder clearDetails() { - + details_ = getDefaultInstance().getDetails(); onChanged(); return this; } /** + * + * *
          * Human readable explanation about the issue. Provided to help address
          * the configuration issues.
@@ -2506,20 +2940,21 @@ public Builder clearDetails() {
          * 
* * string details = 2; + * * @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) { @@ -2532,30 +2967,36 @@ 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 { - return new ProvisioningIssue(input, extensionRegistry); - } - }; + 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 { + return new ProvisioningIssue(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2567,75 +3008,107 @@ 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(); /** + * + * *
        * State of the domain for managed certificate issuance.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
        * State of the domain for managed certificate issuance.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2; + * + * * @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(); /** + * + * *
        * Human readable explanation for reaching the state. Provided to help
        * address the configuration issues.
@@ -2643,10 +3116,13 @@ public interface AuthorizationAttemptInfoOrBuilder extends
        * 
* * string details = 4; + * * @return The details. */ java.lang.String getDetails(); /** + * + * *
        * Human readable explanation for reaching the state. Provided to help
        * address the configuration issues.
@@ -2654,28 +3130,33 @@ public interface AuthorizationAttemptInfoOrBuilder extends
        * 
* * string details = 4; + * * @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; @@ -2685,16 +3166,15 @@ 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; } + private AuthorizationAttemptInfo( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2713,37 +3193,41 @@ private AuthorizationAttemptInfo( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - domain_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + domain_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - state_ = rawValue; - break; - } - case 24: { - int rawValue = input.readEnum(); + state_ = rawValue; + break; + } + case 24: + { + int rawValue = input.readEnum(); - failureReason_ = rawValue; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + failureReason_ = rawValue; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - details_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + details_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2751,36 +3235,41 @@ private AuthorizationAttemptInfo( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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.
@@ -2790,6 +3279,8 @@ public enum State
          */
         AUTHORIZING(1),
         /**
+         *
+         *
          * 
          * A managed certificate can be provisioned, no issues for this domain.
          * 
@@ -2798,6 +3289,8 @@ public enum State */ AUTHORIZED(6), /** + * + * *
          * Attempt to authorize the domain failed. This prevents the Managed
          * Certificate from being issued.
@@ -2810,11 +3303,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.
@@ -2824,6 +3317,8 @@ public enum State
          */
         public static final int AUTHORIZING_VALUE = 1;
         /**
+         *
+         *
          * 
          * A managed certificate can be provisioned, no issues for this domain.
          * 
@@ -2832,6 +3327,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.
@@ -2842,7 +3339,6 @@ public enum State
          */
         public static final int FAILED_VALUE = 7;
 
-
         public final int getNumber() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalArgumentException(
@@ -2867,50 +3363,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;
@@ -2928,15 +3429,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.
@@ -2946,6 +3447,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.
@@ -2955,6 +3458,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.
@@ -2966,11 +3471,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.
@@ -2980,6 +3485,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.
@@ -2989,6 +3496,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.
@@ -2998,7 +3507,6 @@ public enum FailureReason
          */
         public static final int RATE_LIMITED_VALUE = 3;
 
-
         public final int getNumber() {
           if (this == UNRECOGNIZED) {
             throw new java.lang.IllegalArgumentException(
@@ -3023,11 +3531,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;
           }
         }
 
@@ -3035,29 +3548,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();
@@ -3066,7 +3582,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;
@@ -3086,11 +3602,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 @@ -3099,29 +3618,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 { @@ -3132,60 +3651,104 @@ public java.lang.String getDomain() { public static final int STATE_FIELD_NUMBER = 2; private int state_; /** + * + * *
        * State of the domain for managed certificate issuance.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
        * State of the domain for managed certificate issuance.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2; + * + * * @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_; /** + * + * *
        * Human readable explanation for reaching the state. Provided to help
        * address the configuration issues.
@@ -3193,6 +3756,7 @@ public java.lang.String getDomain() {
        * 
* * string details = 4; + * * @return The details. */ @java.lang.Override @@ -3201,14 +3765,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; } } /** + * + * *
        * Human readable explanation for reaching the state. Provided to help
        * address the configuration issues.
@@ -3216,16 +3781,15 @@ public java.lang.String getDetails() {
        * 
* * string details = 4; + * * @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 { @@ -3234,6 +3798,7 @@ public java.lang.String getDetails() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3245,15 +3810,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_)) { @@ -3271,13 +3841,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_); @@ -3290,19 +3864,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3327,88 +3907,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 @@ -3418,45 +4027,54 @@ 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() + // Construct using + // com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -3472,19 +4090,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); } @@ -3492,8 +4117,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_; @@ -3506,46 +4137,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(); @@ -3575,11 +4220,16 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo parsedMessage = null; + com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate + .AuthorizationAttemptInfo) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3591,18 +4241,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; @@ -3611,20 +4263,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 { @@ -3632,54 +4285,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; @@ -3687,73 +4347,111 @@ public Builder setDomainBytes( private int state_ = 0; /** + * + * *
          * State of the domain for managed certificate issuance.
          * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2; + * + * * @return The enum numeric value on the wire for state. */ - @java.lang.Override public int getStateValue() { + @java.lang.Override + public int getStateValue() { return state_; } /** + * + * *
          * State of the domain for managed certificate issuance.
          * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2; + * + * * @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; } /** + * + * *
          * State of the domain for managed certificate issuance.
          * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2; + * + * * @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; } /** + * + * *
          * State of the domain for managed certificate issuance.
          * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2; + * + * * @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; } /** + * + * *
          * State of the domain for managed certificate issuance.
          * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.AuthorizationAttemptInfo.State state = 2; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -3761,73 +4459,111 @@ 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; @@ -3835,6 +4571,8 @@ public Builder clearFailureReason() { private java.lang.Object details_ = ""; /** + * + * *
          * Human readable explanation for reaching the state. Provided to help
          * address the configuration issues.
@@ -3842,13 +4580,13 @@ public Builder clearFailureReason() {
          * 
* * string details = 4; + * * @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; @@ -3857,6 +4595,8 @@ public java.lang.String getDetails() { } } /** + * + * *
          * Human readable explanation for reaching the state. Provided to help
          * address the configuration issues.
@@ -3864,15 +4604,14 @@ public java.lang.String getDetails() {
          * 
* * string details = 4; + * * @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 { @@ -3880,6 +4619,8 @@ public java.lang.String getDetails() { } } /** + * + * *
          * Human readable explanation for reaching the state. Provided to help
          * address the configuration issues.
@@ -3887,20 +4628,22 @@ public java.lang.String getDetails() {
          * 
* * string details = 4; + * * @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; } /** + * + * *
          * Human readable explanation for reaching the state. Provided to help
          * address the configuration issues.
@@ -3908,15 +4651,18 @@ public Builder setDetails(
          * 
* * string details = 4; + * * @return This builder for chaining. */ public Builder clearDetails() { - + details_ = getDefaultInstance().getDetails(); onChanged(); return this; } /** + * + * *
          * Human readable explanation for reaching the state. Provided to help
          * address the configuration issues.
@@ -3924,20 +4670,21 @@ public Builder clearDetails() {
          * 
* * string details = 4; + * * @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) { @@ -3950,30 +4697,36 @@ 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 { - return new AuthorizationAttemptInfo(input, extensionRegistry); - } - }; + 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 { + return new AuthorizationAttemptInfo(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3985,46 +4738,55 @@ 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 resolution.
      * 
* * 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 resolution.
      * 
* * 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 resolution.
      * 
* * 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. */ @@ -4032,51 +4794,67 @@ 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 resolution.
      * 
* * 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. */ @@ -4084,54 +4862,80 @@ 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 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_; /** + * + * *
      * Information about issues with provisioning a Managed Certificate.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; + * + * * @return Whether the provisioningIssue field is set. */ @java.lang.Override @@ -4139,95 +4943,143 @@ public boolean hasProvisioningIssue() { return provisioningIssue_ != null; } /** + * + * *
      * Information about issues with provisioning a Managed Certificate.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; + * + * * @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_; } /** + * + * *
      * Information about issues with provisioning a Managed Certificate.
      * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; + * */ @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; @@ -4239,8 +5091,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -4250,7 +5101,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++) { @@ -4282,16 +5136,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)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -4301,25 +5157,23 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!getDomainsList().equals(other.getDomainsList())) return false; + if (!getDnsAuthorizationsList().equals(other.getDnsAuthorizationsList())) 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -4355,87 +5209,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 @@ -4445,6 +5307,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Configuration and state of a Managed Certificate.
      * Certificate Manager provisions and renews Managed Certificates
@@ -4453,39 +5317,44 @@ 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()
+      // Construct using
+      // com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
           getAuthorizationAttemptInfoFieldBuilder();
         }
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -4511,19 +5380,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);
         }
@@ -4532,7 +5404,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();
@@ -4552,7 +5425,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_;
@@ -4567,46 +5441,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_;
@@ -4651,9 +5533,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_);
             }
@@ -4678,7 +5561,9 @@ public Builder mergeFrom(
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.certificatemanager.v1.Certificate.ManagedCertificate)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -4687,47 +5572,58 @@ public Builder mergeFrom(
         }
         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 resolution.
        * 
* * 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 resolution.
        * 
* * 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 resolution.
        * 
* * 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. */ @@ -4735,85 +5631,95 @@ 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 resolution.
        * 
* * 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 resolution.
        * 
* * 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 resolution.
        * 
* * 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 resolution.
        * 
* * 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 resolution.
        * 
* * repeated string domains = 1 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return This builder for chaining. */ public Builder clearDomains() { @@ -4823,63 +5729,81 @@ 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 resolution.
        * 
* * 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. */ @@ -4887,80 +5811,100 @@ 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() { @@ -4970,20 +5914,24 @@ 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(); @@ -4992,115 +5940,176 @@ public Builder addDnsAuthorizationsBytes( 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_; /** + * + * *
        * Information about issues with provisioning a Managed Certificate.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; + * + * * @return Whether the provisioningIssue field is set. */ public boolean hasProvisioningIssue() { return provisioningIssueBuilder_ != null || provisioningIssue_ != null; } /** + * + * *
        * Information about issues with provisioning a Managed Certificate.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; + * + * * @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(); } } /** + * + * *
        * Information about issues with provisioning a Managed Certificate.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; + * */ - 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(); @@ -5114,14 +6123,20 @@ public Builder setProvisioningIssue(com.google.cloud.certificatemanager.v1.Certi return this; } /** + * + * *
        * Information about issues with provisioning a Managed Certificate.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; + * */ 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(); @@ -5132,17 +6147,26 @@ public Builder setProvisioningIssue( return this; } /** + * + * *
        * Information about issues with provisioning a Managed Certificate.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; + * */ - 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; } @@ -5154,11 +6178,15 @@ public Builder mergeProvisioningIssue(com.google.cloud.certificatemanager.v1.Cer return this; } /** + * + * *
        * Information about issues with provisioning a Managed Certificate.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; + * */ public Builder clearProvisioningIssue() { if (provisioningIssueBuilder_ == null) { @@ -5172,74 +6200,120 @@ public Builder clearProvisioningIssue() { return this; } /** + * + * *
        * Information about issues with provisioning a Managed Certificate.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; + * */ - 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(); } /** + * + * *
        * Information about issues with provisioning a Managed Certificate.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; + * */ - 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_; } } /** + * + * *
        * Information about issues with provisioning a Managed Certificate.
        * 
* - * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; + * + * .google.cloud.certificatemanager.v1.Certificate.ManagedCertificate.ProvisioningIssue provisioning_issue = 3; + * */ 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()); + 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()); 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 { @@ -5247,12 +6321,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) { @@ -5262,14 +6340,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 { @@ -5277,15 +6361,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(); @@ -5299,15 +6390,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()); @@ -5318,14 +6416,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(); @@ -5339,15 +6444,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(); @@ -5361,15 +6473,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()); @@ -5380,15 +6498,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()); @@ -5399,19 +6524,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); @@ -5419,12 +6551,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) { @@ -5437,12 +6573,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) { @@ -5455,42 +6595,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 { @@ -5498,48 +6656,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(), @@ -5548,6 +6740,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) { @@ -5560,30 +6753,33 @@ 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 { - return new ManagedCertificate(input, extensionRegistry); - } - }; + 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 { + return new ManagedCertificate(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5595,21 +6791,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; } @@ -5625,32 +6824,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 @@ -5659,30 +6864,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 { @@ -5693,11 +6898,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 @@ -5706,29 +6914,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 { @@ -5739,11 +6947,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 @@ -5751,11 +6963,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 @@ -5763,11 +6979,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() { @@ -5777,11 +6996,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 @@ -5789,11 +7012,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 @@ -5801,11 +7028,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() { @@ -5813,24 +7043,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_; } @@ -5839,28 +7068,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.
    * 
@@ -5868,11 +7099,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.
    * 
@@ -5880,16 +7112,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.
    * 
@@ -5897,12 +7129,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(); } @@ -5911,11 +7142,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 @@ -5923,42 +7158,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 @@ -5966,21 +7215,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.
    * 
@@ -5988,16 +7243,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).
@@ -6006,13 +7265,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).
@@ -6021,12 +7282,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).
@@ -6035,6 +7299,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. */ @@ -6042,6 +7307,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).
@@ -6050,22 +7317,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 @@ -6074,29 +7344,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 { @@ -6107,11 +7377,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 @@ -6119,11 +7393,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 @@ -6131,11 +7409,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() { @@ -6145,31 +7426,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; @@ -6181,8 +7478,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -6192,14 +7488,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)); @@ -6214,7 +7507,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_); @@ -6232,26 +7526,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; @@ -6262,8 +7555,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_); @@ -6272,12 +7564,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -6287,48 +7579,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: @@ -6390,139 +7673,146 @@ 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() @@ -6530,16 +7820,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -6578,9 +7867,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 @@ -6599,7 +7888,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_; @@ -6650,38 +7940,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; @@ -6689,7 +7980,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(); @@ -6704,8 +7996,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_; @@ -6727,17 +8018,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.unknownFields); onChanged(); @@ -6758,7 +8052,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.certificatemanager.v1.Certificate) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.certificatemanager.v1.Certificate) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -6767,12 +8062,12 @@ public Builder mergeFrom( } 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() { @@ -6786,19 +8081,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; @@ -6807,21 +8104,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 { @@ -6829,57 +8127,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; @@ -6887,18 +8192,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; @@ -6907,20 +8214,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 { @@ -6928,54 +8236,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; @@ -6983,39 +8298,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) { @@ -7031,14 +8365,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(); @@ -7049,17 +8386,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; } @@ -7071,11 +8412,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) { @@ -7089,48 +8434,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_; @@ -7138,39 +8499,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) { @@ -7186,14 +8566,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(); @@ -7204,17 +8587,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; } @@ -7226,11 +8613,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) { @@ -7244,69 +8635,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(); @@ -7318,28 +8724,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.
      * 
@@ -7347,11 +8755,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.
      * 
@@ -7359,16 +8768,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.
      * 
@@ -7376,12 +8786,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(); } @@ -7389,75 +8798,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 @@ -7465,35 +8879,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(); @@ -7507,14 +8934,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(); @@ -7525,18 +8957,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; } @@ -7552,11 +8995,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) { @@ -7575,67 +9022,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 @@ -7643,11 +9119,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 @@ -7656,22 +9135,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(); @@ -7685,6 +9169,8 @@ public Builder setManaged(com.google.cloud.certificatemanager.v1.Certificate.Man return this; } /** + * + * *
      * If set, contains configuration and state of a managed certificate.
      * 
@@ -7692,7 +9178,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(); @@ -7703,18 +9190,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; } @@ -7730,6 +9225,8 @@ public Builder mergeManaged(com.google.cloud.certificatemanager.v1.Certificate.M return this; } /** + * + * *
      * If set, contains configuration and state of a managed certificate.
      * 
@@ -7753,16 +9250,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.
      * 
@@ -7770,17 +9272,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.
      * 
@@ -7788,32 +9294,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).
@@ -7822,13 +9340,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).
@@ -7837,12 +9357,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).
@@ -7851,6 +9374,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. */ @@ -7858,6 +9382,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).
@@ -7866,14 +9392,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).
@@ -7882,21 +9410,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).
@@ -7905,20 +9435,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).
@@ -7927,18 +9459,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).
@@ -7947,6 +9480,7 @@ public Builder addAllSanDnsnames(
      * 
* * repeated string san_dnsnames = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearSanDnsnames() { @@ -7956,6 +9490,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).
@@ -7964,15 +9500,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(); @@ -7981,18 +9517,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; @@ -8001,20 +9539,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 { @@ -8022,54 +9561,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; @@ -8077,39 +9623,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) { @@ -8125,14 +9690,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(); @@ -8143,17 +9711,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; } @@ -8165,11 +9737,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) { @@ -8183,48 +9759,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_; @@ -8232,51 +9824,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. */ @@ -8284,28 +9900,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); } @@ -8315,12 +9936,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(); } @@ -8329,16 +9950,16 @@ 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 { - return new Certificate(input, extensionRegistry); - } - }; + 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 { + return new Certificate(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -8353,6 +9974,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.certificatemanager.v1.Certificate getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerProto.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerProto.java new file mode 100644 index 0000000..6282899 --- /dev/null +++ b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerProto.java @@ -0,0 +1,975 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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.goog" + + "le.cloud.certificatemanager.v1.Certifica" + + "teMap.LabelsEntry\022X\n\014gclb_targets\030\004 \003(\0132" + + "=.google.cloud.certificatemanager.v1.Cer" + + "tificateMap.GclbTargetB\003\340A\003\032\277\002\n\nGclbTarg" + + "et\022L\n\022target_https_proxy\030\001 \001(\tB.\372A+\n)com" + + "pute.googleapis.com/TargetHttpsProxiesH\000" + + "\022H\n\020target_ssl_proxy\030\003 \001(\tB,\372A)\n\'compute" + + ".googleapis.com/TargetSslProxiesH\000\022Z\n\nip" + + "_configs\030\002 \003(\0132F.google.cloud.certificat" + + "emanager.v1.CertificateMap.GclbTarget.Ip" + + "Config\032-\n\010IpConfig\022\022\n\nip_address\030\001 \001(\t\022\r" + + "\n\005ports\030\003 \003(\rB\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\336(\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\032U\312A" + + "!certificatemanager.googleapis.com\322A.htt" + + "ps://www.googleapis.com/auth/cloud-platf" + + "ormB\203\004\n&com.google.cloud.certificatemana" + + "ger.v1B\027CertificateManagerProtoP\001ZTgoogl" + + "e.golang.org/genproto/googleapis/cloud/c" + + "ertificatemanager/v1;certificatemanager\252" + + "\002\"Google.Cloud.CertificateManager.V1\312\002\"G" + + "oogle\\Cloud\\CertificateManager\\V1\352\002%Goog" + + "le::Cloud::CertificateManager::V1\352A|\n)co" + + "mpute.googleapis.com/TargetHttpsProxies\022" + + "Oprojects/{project}/locations/{location}" + + "/targetHttpsProxies/{target_https_proxy}" + + "\352Av\n\'compute.googleapis.com/TargetSslPro" + + "xies\022Kprojects/{project}/locations/{loca" + + "tion}/targetSslProxies/{target_ssl_proxy" + + "}b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ClientProto.getDescriptor(), + com.google.api.FieldBehaviorProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.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", + "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.resourceDefinition); + registry.add(com.google.api.ResourceProto.resourceReference); + registry.add(com.google.longrunning.OperationsProto.operationInfo); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ClientProto.getDescriptor(); + com.google.api.FieldBehaviorProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMap.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMap.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMap.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMap.java index 2e4b783..ea01f7f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMap.java +++ b/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,16 +45,15 @@ 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; } + private CertificateMap( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,73 +73,84 @@ private CertificateMap( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); - } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + break; } - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put( - labels__.getKey(), labels__.getValue()); - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - gclbTargets_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000002; + case 26: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = + com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); + break; } - gclbTargets_.add( - input.readMessage(com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.parser(), extensionRegistry)); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - - description_ = s; - break; - } - case 50: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + gclbTargets_ = + new java.util.ArrayList< + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget>(); + mutable_bitField0_ |= 0x00000002; + } + gclbTargets_.add( + input.readMessage( + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.parser(), + extensionRegistry)); + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + + description_ = s; + break; } + case 50: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -130,8 +158,7 @@ private CertificateMap( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) != 0)) { gclbTargets_ = java.util.Collections.unmodifiableList(gclbTargets_); @@ -140,182 +167,227 @@ private CertificateMap( makeExtensionsImmutable(); } } - 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 { /** + * + * *
      * A name must be in the format
      * `projects/*/locations/*/targetHttpsProxies/*`.
      * 
* * string target_https_proxy = 1 [(.google.api.resource_reference) = { ... } + * * @return Whether the targetHttpsProxy field is set. */ boolean hasTargetHttpsProxy(); /** + * + * *
      * A name must be in the format
      * `projects/*/locations/*/targetHttpsProxies/*`.
      * 
* * string target_https_proxy = 1 [(.google.api.resource_reference) = { ... } + * * @return The targetHttpsProxy. */ java.lang.String getTargetHttpsProxy(); /** + * + * *
      * A name must be in the format
      * `projects/*/locations/*/targetHttpsProxies/*`.
      * 
* * string target_https_proxy = 1 [(.google.api.resource_reference) = { ... } + * * @return The bytes for targetHttpsProxy. */ - com.google.protobuf.ByteString - getTargetHttpsProxyBytes(); + com.google.protobuf.ByteString getTargetHttpsProxyBytes(); /** + * + * *
      * A name must be in the format
      * `projects/*/locations/*/targetSslProxies/*`.
      * 
* * string target_ssl_proxy = 3 [(.google.api.resource_reference) = { ... } + * * @return Whether the targetSslProxy field is set. */ boolean hasTargetSslProxy(); /** + * + * *
      * A name must be in the format
      * `projects/*/locations/*/targetSslProxies/*`.
      * 
* * string target_ssl_proxy = 3 [(.google.api.resource_reference) = { ... } + * * @return The targetSslProxy. */ java.lang.String getTargetSslProxy(); /** + * + * *
      * A name must be in the format
      * `projects/*/locations/*/targetSslProxies/*`.
      * 
* * string target_ssl_proxy = 3 [(.google.api.resource_reference) = { ... } + * * @return The bytes for targetSslProxy. */ - com.google.protobuf.ByteString - getTargetSslProxyBytes(); + com.google.protobuf.ByteString getTargetSslProxyBytes(); /** + * + * *
      * IP configurations for this Target Proxy where the
      * Certificate Map is serving.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * */ - java.util.List + java.util.List getIpConfigsList(); /** + * + * *
      * IP configurations for this Target Proxy where the
      * Certificate Map is serving.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * */ - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig getIpConfigs(int index); + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig getIpConfigs( + int index); /** + * + * *
      * IP configurations for this Target Proxy where the
      * Certificate Map is serving.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * */ int getIpConfigsCount(); /** + * + * *
      * IP configurations for this Target Proxy where the
      * Certificate Map is serving.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * */ - java.util.List + java.util.List< + ? extends + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfigOrBuilder> getIpConfigsOrBuilderList(); /** + * + * *
      * IP configurations for this Target Proxy where the
      * Certificate Map is serving.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * */ - 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; } + private GclbTarget( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -335,34 +407,43 @@ private GclbTarget( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - targetProxyCase_ = 1; - targetProxy_ = s; - break; - } - case 18: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - ipConfigs_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + targetProxyCase_ = 1; + targetProxy_ = s; + break; } - ipConfigs_.add( - input.readMessage(com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.parser(), extensionRegistry)); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - targetProxyCase_ = 3; - targetProxy_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 18: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + ipConfigs_ = + new java.util.ArrayList< + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget + .IpConfig>(); + mutable_bitField0_ |= 0x00000001; + } + ipConfigs_.add( + input.readMessage( + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig + .parser(), + extensionRegistry)); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + targetProxyCase_ = 3; + targetProxy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -370,8 +451,7 @@ private GclbTarget( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { ipConfigs_ = java.util.Collections.unmodifiableList(ipConfigs_); @@ -380,88 +460,109 @@ private GclbTarget( makeExtensionsImmutable(); } } - 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 { /** + * + * *
        * An external IP address.
        * 
* * string ip_address = 1; + * * @return The ipAddress. */ java.lang.String getIpAddress(); /** + * + * *
        * An external IP address.
        * 
* * string ip_address = 1; + * * @return The bytes for ipAddress. */ - com.google.protobuf.ByteString - getIpAddressBytes(); + com.google.protobuf.ByteString getIpAddressBytes(); /** + * + * *
        * Ports.
        * 
* * repeated uint32 ports = 3; + * * @return A list containing the ports. */ java.util.List getPortsList(); /** + * + * *
        * Ports.
        * 
* * repeated uint32 ports = 3; + * * @return The count of ports. */ int getPortsCount(); /** + * + * *
        * Ports.
        * 
* * repeated uint32 ports = 3; + * * @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(); @@ -469,16 +570,15 @@ 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; } + private IpConfig( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -498,40 +598,43 @@ private IpConfig( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - ipAddress_ = s; - break; - } - case 24: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - ports_ = newIntList(); - mutable_bitField0_ |= 0x00000001; + ipAddress_ = s; + break; } - ports_.addInt(input.readUInt32()); - break; - } - case 26: { - int length = input.readRawVarint32(); - int limit = input.pushLimit(length); - if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { - ports_ = newIntList(); - mutable_bitField0_ |= 0x00000001; - } - while (input.getBytesUntilLimit() > 0) { + case 24: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + ports_ = newIntList(); + mutable_bitField0_ |= 0x00000001; + } ports_.addInt(input.readUInt32()); + break; } - input.popLimit(limit); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + int length = input.readRawVarint32(); + int limit = input.pushLimit(length); + if (!((mutable_bitField0_ & 0x00000001) != 0) && input.getBytesUntilLimit() > 0) { + ports_ = newIntList(); + mutable_bitField0_ |= 0x00000001; + } + while (input.getBytesUntilLimit() > 0) { + ports_.addInt(input.readUInt32()); + } + input.popLimit(limit); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -539,8 +642,8 @@ private IpConfig( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { ports_.makeImmutable(); // C @@ -549,27 +652,34 @@ private IpConfig( makeExtensionsImmutable(); } } - 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_; /** + * + * *
        * An external IP address.
        * 
* * string ip_address = 1; + * * @return The ipAddress. */ @java.lang.Override @@ -578,29 +688,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; } } /** + * + * *
        * An external IP address.
        * 
* * string ip_address = 1; + * * @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 { @@ -611,44 +721,54 @@ public java.lang.String getIpAddress() { public static final int PORTS_FIELD_NUMBER = 3; private com.google.protobuf.Internal.IntList ports_; /** + * + * *
        * Ports.
        * 
* * repeated uint32 ports = 3; + * * @return A list containing the ports. */ @java.lang.Override - public java.util.List - getPortsList() { + public java.util.List getPortsList() { return ports_; } /** + * + * *
        * Ports.
        * 
* * repeated uint32 ports = 3; + * * @return The count of ports. */ public int getPortsCount() { return ports_.size(); } /** + * + * *
        * Ports.
        * 
* * repeated uint32 ports = 3; + * * @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; @@ -660,8 +780,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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_); @@ -688,14 +807,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; } @@ -707,17 +825,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -740,88 +858,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 @@ -831,44 +964,50 @@ 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() + // Construct using + // com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -880,19 +1019,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); } @@ -900,8 +1042,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)) { @@ -917,46 +1061,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(); @@ -986,11 +1139,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig parsedMessage = null; + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig parsedMessage = + null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -999,22 +1155,25 @@ public Builder mergeFrom( } return this; } + private int bitField0_; private java.lang.Object ipAddress_ = ""; /** + * + * *
          * An external IP address.
          * 
* * string ip_address = 1; + * * @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; @@ -1023,20 +1182,21 @@ public java.lang.String getIpAddress() { } } /** + * + * *
          * An external IP address.
          * 
* * string ip_address = 1; + * * @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 { @@ -1044,96 +1204,113 @@ public java.lang.String getIpAddress() { } } /** + * + * *
          * An external IP address.
          * 
* * string ip_address = 1; + * * @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; } /** + * + * *
          * An external IP address.
          * 
* * string ip_address = 1; + * * @return This builder for chaining. */ public Builder clearIpAddress() { - + ipAddress_ = getDefaultInstance().getIpAddress(); onChanged(); return this; } /** + * + * *
          * An external IP address.
          * 
* * string ip_address = 1; + * * @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; - } + } } /** + * + * *
          * Ports.
          * 
* * repeated uint32 ports = 3; + * * @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_; } /** + * + * *
          * Ports.
          * 
* * repeated uint32 ports = 3; + * * @return The count of ports. */ public int getPortsCount() { return ports_.size(); } /** + * + * *
          * Ports.
          * 
* * repeated uint32 ports = 3; + * * @param index The index of the element to return. * @return The ports at the given index. */ @@ -1141,28 +1318,33 @@ public int getPorts(int index) { return ports_.getInt(index); } /** + * + * *
          * Ports.
          * 
* * repeated uint32 ports = 3; + * * @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; } /** + * + * *
          * Ports.
          * 
* * repeated uint32 ports = 3; + * * @param value The ports to add. * @return This builder for chaining. */ @@ -1173,28 +1355,32 @@ public Builder addPorts(int value) { return this; } /** + * + * *
          * Ports.
          * 
* * repeated uint32 ports = 3; + * * @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; } /** + * + * *
          * Ports.
          * 
* * repeated uint32 ports = 3; + * * @return This builder for chaining. */ public Builder clearPorts() { @@ -1203,6 +1389,7 @@ public Builder clearPorts() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1215,30 +1402,33 @@ 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 { - return new IpConfig(input, extensionRegistry); - } - }; + 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 { + return new IpConfig(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1250,21 +1440,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; } @@ -1280,43 +1473,52 @@ 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; /** + * + * *
      * A name must be in the format
      * `projects/*/locations/*/targetHttpsProxies/*`.
      * 
* * string target_https_proxy = 1 [(.google.api.resource_reference) = { ... } + * * @return Whether the targetHttpsProxy field is set. */ public boolean hasTargetHttpsProxy() { return targetProxyCase_ == 1; } /** + * + * *
      * A name must be in the format
      * `projects/*/locations/*/targetHttpsProxies/*`.
      * 
* * string target_https_proxy = 1 [(.google.api.resource_reference) = { ... } + * * @return The targetHttpsProxy. */ public java.lang.String getTargetHttpsProxy() { @@ -1327,8 +1529,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; @@ -1337,24 +1538,25 @@ public java.lang.String getTargetHttpsProxy() { } } /** + * + * *
      * A name must be in the format
      * `projects/*/locations/*/targetHttpsProxies/*`.
      * 
* * string target_https_proxy = 1 [(.google.api.resource_reference) = { ... } + * * @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; } @@ -1366,24 +1568,30 @@ public java.lang.String getTargetHttpsProxy() { public static final int TARGET_SSL_PROXY_FIELD_NUMBER = 3; /** + * + * *
      * A name must be in the format
      * `projects/*/locations/*/targetSslProxies/*`.
      * 
* * string target_ssl_proxy = 3 [(.google.api.resource_reference) = { ... } + * * @return Whether the targetSslProxy field is set. */ public boolean hasTargetSslProxy() { return targetProxyCase_ == 3; } /** + * + * *
      * A name must be in the format
      * `projects/*/locations/*/targetSslProxies/*`.
      * 
* * string target_ssl_proxy = 3 [(.google.api.resource_reference) = { ... } + * * @return The targetSslProxy. */ public java.lang.String getTargetSslProxy() { @@ -1394,8 +1602,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; @@ -1404,24 +1611,25 @@ public java.lang.String getTargetSslProxy() { } } /** + * + * *
      * A name must be in the format
      * `projects/*/locations/*/targetSslProxies/*`.
      * 
* * string target_ssl_proxy = 3 [(.google.api.resource_reference) = { ... } + * * @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; } @@ -1432,71 +1640,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_; /** + * + * *
      * IP configurations for this Target Proxy where the
      * Certificate Map is serving.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * */ @java.lang.Override - public java.util.List getIpConfigsList() { + public java.util.List + getIpConfigsList() { return ipConfigs_; } /** + * + * *
      * IP configurations for this Target Proxy where the
      * Certificate Map is serving.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends + com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfigOrBuilder> getIpConfigsOrBuilderList() { return ipConfigs_; } /** + * + * *
      * IP configurations for this Target Proxy where the
      * Certificate Map is serving.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * */ @java.lang.Override public int getIpConfigsCount() { return ipConfigs_.size(); } /** + * + * *
      * IP configurations for this Target Proxy where the
      * Certificate Map is serving.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * */ @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); } /** + * + * *
      * IP configurations for this Target Proxy where the
      * Certificate Map is serving.
      * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * */ @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; @@ -1508,8 +1743,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -1532,8 +1766,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_); @@ -1546,24 +1779,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: @@ -1601,87 +1832,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 { + + 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 @@ -1691,45 +1930,51 @@ 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() + // Construct using + // com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getIpConfigsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -1745,14 +1990,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 @@ -1766,7 +2013,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_; @@ -1792,46 +2040,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()) { @@ -1850,30 +2105,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.unknownFields); onChanged(); @@ -1894,7 +2153,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1903,12 +2164,12 @@ public Builder mergeFrom( } 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() { @@ -1921,12 +2182,15 @@ public Builder clearTargetProxy() { private int bitField0_; /** + * + * *
        * A name must be in the format
        * `projects/*/locations/*/targetHttpsProxies/*`.
        * 
* * string target_https_proxy = 1 [(.google.api.resource_reference) = { ... } + * * @return Whether the targetHttpsProxy field is set. */ @java.lang.Override @@ -1934,12 +2198,15 @@ public boolean hasTargetHttpsProxy() { return targetProxyCase_ == 1; } /** + * + * *
        * A name must be in the format
        * `projects/*/locations/*/targetHttpsProxies/*`.
        * 
* * string target_https_proxy = 1 [(.google.api.resource_reference) = { ... } + * * @return The targetHttpsProxy. */ @java.lang.Override @@ -1949,8 +2216,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; @@ -1961,25 +2227,26 @@ public java.lang.String getTargetHttpsProxy() { } } /** + * + * *
        * A name must be in the format
        * `projects/*/locations/*/targetHttpsProxies/*`.
        * 
* * string target_https_proxy = 1 [(.google.api.resource_reference) = { ... } + * * @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; } @@ -1989,32 +2256,37 @@ public java.lang.String getTargetHttpsProxy() { } } /** + * + * *
        * A name must be in the format
        * `projects/*/locations/*/targetHttpsProxies/*`.
        * 
* * string target_https_proxy = 1 [(.google.api.resource_reference) = { ... } + * * @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; } /** + * + * *
        * A name must be in the format
        * `projects/*/locations/*/targetHttpsProxies/*`.
        * 
* * string target_https_proxy = 1 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearTargetHttpsProxy() { @@ -2026,21 +2298,23 @@ public Builder clearTargetHttpsProxy() { return this; } /** + * + * *
        * A name must be in the format
        * `projects/*/locations/*/targetHttpsProxies/*`.
        * 
* * string target_https_proxy = 1 [(.google.api.resource_reference) = { ... } + * * @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(); @@ -2048,12 +2322,15 @@ public Builder setTargetHttpsProxyBytes( } /** + * + * *
        * A name must be in the format
        * `projects/*/locations/*/targetSslProxies/*`.
        * 
* * string target_ssl_proxy = 3 [(.google.api.resource_reference) = { ... } + * * @return Whether the targetSslProxy field is set. */ @java.lang.Override @@ -2061,12 +2338,15 @@ public boolean hasTargetSslProxy() { return targetProxyCase_ == 3; } /** + * + * *
        * A name must be in the format
        * `projects/*/locations/*/targetSslProxies/*`.
        * 
* * string target_ssl_proxy = 3 [(.google.api.resource_reference) = { ... } + * * @return The targetSslProxy. */ @java.lang.Override @@ -2076,8 +2356,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; @@ -2088,25 +2367,26 @@ public java.lang.String getTargetSslProxy() { } } /** + * + * *
        * A name must be in the format
        * `projects/*/locations/*/targetSslProxies/*`.
        * 
* * string target_ssl_proxy = 3 [(.google.api.resource_reference) = { ... } + * * @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; } @@ -2116,32 +2396,37 @@ public java.lang.String getTargetSslProxy() { } } /** + * + * *
        * A name must be in the format
        * `projects/*/locations/*/targetSslProxies/*`.
        * 
* * string target_ssl_proxy = 3 [(.google.api.resource_reference) = { ... } + * * @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; } /** + * + * *
        * A name must be in the format
        * `projects/*/locations/*/targetSslProxies/*`.
        * 
* * string target_ssl_proxy = 3 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearTargetSslProxy() { @@ -2153,48 +2438,64 @@ public Builder clearTargetSslProxy() { return this; } /** + * + * *
        * A name must be in the format
        * `projects/*/locations/*/targetSslProxies/*`.
        * 
* * string target_ssl_proxy = 3 [(.google.api.resource_reference) = { ... } + * * @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_; /** + * + * *
        * IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * */ - 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 { @@ -2202,12 +2503,16 @@ public java.util.List * IP configurations for this Target Proxy where the * Certificate Map is serving. *
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * */ public int getIpConfigsCount() { if (ipConfigsBuilder_ == null) { @@ -2217,14 +2522,19 @@ public int getIpConfigsCount() { } } /** + * + * *
        * IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * */ - 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 { @@ -2232,15 +2542,20 @@ public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig } } /** + * + * *
        * IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * */ 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(); @@ -2254,15 +2569,21 @@ public Builder setIpConfigs( return this; } /** + * + * *
        * IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * */ 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()); @@ -2273,14 +2594,19 @@ public Builder setIpConfigs( return this; } /** + * + * *
        * IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * */ - 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(); @@ -2294,15 +2620,20 @@ public Builder addIpConfigs(com.google.cloud.certificatemanager.v1.CertificateMa return this; } /** + * + * *
        * IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * */ 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(); @@ -2316,15 +2647,20 @@ public Builder addIpConfigs( return this; } /** + * + * *
        * IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * */ 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()); @@ -2335,15 +2671,21 @@ public Builder addIpConfigs( return this; } /** + * + * *
        * IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * */ 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()); @@ -2354,19 +2696,25 @@ public Builder addIpConfigs( return this; } /** + * + * *
        * IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * */ 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); @@ -2374,12 +2722,16 @@ public Builder addAllIpConfigs( return this; } /** + * + * *
        * IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * */ public Builder clearIpConfigs() { if (ipConfigsBuilder_ == null) { @@ -2392,12 +2744,16 @@ public Builder clearIpConfigs() { return this; } /** + * + * *
        * IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * */ public Builder removeIpConfigs(int index) { if (ipConfigsBuilder_ == null) { @@ -2410,42 +2766,58 @@ public Builder removeIpConfigs(int index) { return this; } /** + * + * *
        * IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * */ - 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); } /** + * + * *
        * IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * */ - 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); } } /** + * + * *
        * IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * */ - 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 { @@ -2453,56 +2825,80 @@ public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig } } /** + * + * *
        * IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * */ - 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()); } /** + * + * *
        * IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * */ - 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()); } /** + * + * *
        * IP configurations for this Target Proxy where the
        * Certificate Map is serving.
        * 
* - * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * + * repeated .google.cloud.certificatemanager.v1.CertificateMap.GclbTarget.IpConfig ip_configs = 2; + * */ - 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) { @@ -2515,30 +2911,32 @@ 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 { - return new GclbTarget(input, extensionRegistry); - } - }; + 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 { + return new GclbTarget(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2550,15 +2948,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
@@ -2566,6 +2966,7 @@ public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget getDefau
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -2574,14 +2975,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
@@ -2589,16 +2991,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 { @@ -2609,11 +3010,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 @@ -2622,29 +3026,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 { @@ -2655,11 +3059,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 @@ -2667,11 +3075,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 @@ -2679,11 +3091,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() { @@ -2693,11 +3108,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 @@ -2705,11 +3124,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 @@ -2717,11 +3140,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() { @@ -2729,24 +3155,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_; } @@ -2755,28 +3180,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.
    * 
@@ -2784,11 +3211,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.
    * 
@@ -2796,16 +3224,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.
    * 
@@ -2813,12 +3241,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(); } @@ -2826,66 +3253,91 @@ 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.
    * 
* - * 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.
    * 
* - * 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.
    * 
* - * 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.
    * 
* - * 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.
    * 
* - * 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; @@ -2897,20 +3349,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)); } @@ -2933,29 +3380,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2965,31 +3409,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -3027,139 +3466,147 @@ 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() @@ -3167,17 +3614,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getGclbTargetsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -3208,9 +3655,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 @@ -3229,7 +3676,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_; @@ -3262,38 +3710,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; @@ -3301,7 +3750,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(); @@ -3316,8 +3766,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()) { @@ -3336,9 +3785,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_); } @@ -3363,7 +3813,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.certificatemanager.v1.CertificateMap) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.certificatemanager.v1.CertificateMap) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3372,10 +3823,13 @@ public Builder mergeFrom( } 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
@@ -3383,13 +3837,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; @@ -3398,6 +3852,8 @@ public java.lang.String getName() { } } /** + * + * *
      * A user-defined name of the Certificate Map. Certificate Map names must be
      * unique globally and match pattern
@@ -3405,15 +3861,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 { @@ -3421,6 +3876,8 @@ public java.lang.String getName() { } } /** + * + * *
      * A user-defined name of the Certificate Map. Certificate Map names must be
      * unique globally and match pattern
@@ -3428,20 +3885,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
@@ -3449,15 +3908,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
@@ -3465,16 +3927,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; @@ -3482,18 +3944,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; @@ -3502,20 +3966,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 { @@ -3523,54 +3988,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; @@ -3578,39 +4050,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) { @@ -3626,14 +4117,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(); @@ -3644,17 +4138,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; } @@ -3666,11 +4164,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) { @@ -3684,48 +4186,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_; @@ -3733,39 +4251,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) { @@ -3781,14 +4318,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(); @@ -3799,17 +4339,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; } @@ -3821,11 +4365,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) { @@ -3839,69 +4387,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(); @@ -3913,28 +4476,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.
      * 
@@ -3942,11 +4507,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.
      * 
@@ -3954,16 +4520,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.
      * 
@@ -3971,12 +4538,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(); } @@ -3984,87 +4550,95 @@ 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.
      * 
* - * 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 { @@ -4072,11 +4646,15 @@ public java.util.List * Output only. A list of GCLB targets which use this Certificate Map. *
* - * 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) { @@ -4086,13 +4664,18 @@ public int getGclbTargetsCount() { } } /** + * + * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * 
* - * 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 { @@ -4100,11 +4683,15 @@ public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTarget getGclbT } } /** + * + * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * 
* - * 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) { @@ -4121,14 +4708,19 @@ public Builder setGclbTargets( return this; } /** + * + * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * 
* - * 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()); @@ -4139,13 +4731,18 @@ public Builder setGclbTargets( return this; } /** + * + * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * 
* - * 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(); @@ -4159,11 +4756,15 @@ public Builder addGclbTargets(com.google.cloud.certificatemanager.v1.Certificate return this; } /** + * + * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * 
* - * 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) { @@ -4180,11 +4781,15 @@ public Builder addGclbTargets( return this; } /** + * + * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * 
* - * 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) { @@ -4198,14 +4803,19 @@ public Builder addGclbTargets( return this; } /** + * + * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * 
* - * 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()); @@ -4216,18 +4826,23 @@ public Builder addGclbTargets( return this; } /** + * + * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * 
* - * 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); @@ -4235,11 +4850,15 @@ public Builder addAllGclbTargets( return this; } /** + * + * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * 
* - * 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) { @@ -4252,11 +4871,15 @@ public Builder clearGclbTargets() { return this; } /** + * + * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * 
* - * 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) { @@ -4269,39 +4892,53 @@ public Builder removeGclbTargets(int index) { return this; } /** + * + * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * 
* - * 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.
      * 
* - * 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.
      * 
* - * 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 { @@ -4309,56 +4946,77 @@ public com.google.cloud.certificatemanager.v1.CertificateMap.GclbTargetOrBuilder } } /** + * + * *
      * Output only. A list of GCLB targets which use this Certificate Map.
      * 
* - * 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.
      * 
* - * 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.
      * 
* - * 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); } @@ -4368,12 +5026,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(); } @@ -4382,16 +5040,16 @@ 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 { - return new CertificateMap(input, extensionRegistry); - } - }; + 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 { + return new CertificateMap(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4406,6 +5064,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.certificatemanager.v1.CertificateMap getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntry.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntry.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntry.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntry.java index 9ad904b..c3e00de 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntry.java +++ b/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,16 +46,15 @@ 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; } + private CertificateMapEntry( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,91 +74,101 @@ private CertificateMapEntry( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + name_ = s; + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } - - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (updateTime_ != null) { - subBuilder = updateTime_.toBuilder(); + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (updateTime_ != null) { + subBuilder = updateTime_.toBuilder(); + } + updateTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateTime_); + updateTime_ = subBuilder.buildPartial(); + } + + break; } - updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateTime_); - updateTime_ = subBuilder.buildPartial(); + case 34: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + labels_ = + com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + mutable_bitField0_ |= 0x00000001; + } + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + labels_.getMutableMap().put(labels__.getKey(), labels__.getValue()); + break; } - - break; - } - case 34: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); - mutable_bitField0_ |= 0x00000001; + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); + matchCase_ = 5; + match_ = s; + break; } - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - labels_.getMutableMap().put( - labels__.getKey(), labels__.getValue()); - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); - matchCase_ = 5; - match_ = s; - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - certificates_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + certificates_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + certificates_.add(s); + break; } - certificates_.add(s); - break; - } - case 64: { - int rawValue = input.readEnum(); + case 64: + { + int rawValue = input.readEnum(); - state_ = rawValue; - break; - } - case 74: { - java.lang.String s = input.readStringRequireUtf8(); + state_ = rawValue; + break; + } + case 74: + { + java.lang.String s = input.readStringRequireUtf8(); - description_ = s; - break; - } - case 80: { - int rawValue = input.readEnum(); - matchCase_ = 10; - match_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + description_ = s; + break; + } + case 80: + { + int rawValue = input.readEnum(); + matchCase_ = 10; + match_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -149,8 +176,7 @@ private CertificateMapEntry( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) != 0)) { certificates_ = certificates_.getUnmodifiableView(); @@ -159,32 +185,36 @@ private CertificateMapEntry( makeExtensionsImmutable(); } } - 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.
@@ -192,9 +222,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.
      * 
@@ -203,6 +234,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.
@@ -215,6 +248,8 @@ public enum Matcher
     ;
 
     /**
+     *
+     *
      * 
      * A matcher has't been recognized.
      * 
@@ -223,6 +258,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.
@@ -232,7 +269,6 @@ public enum Matcher
      */
     public static final int PRIMARY_VALUE = 1;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -257,48 +293,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;
@@ -317,13 +354,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;
     }
@@ -339,26 +379,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
@@ -366,6 +411,7 @@ public int getNumber() {
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -374,14 +420,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
@@ -389,16 +436,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 { @@ -409,11 +455,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 @@ -422,29 +471,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 { @@ -455,11 +504,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 @@ -467,11 +520,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 @@ -479,11 +536,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() { @@ -493,11 +553,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 @@ -505,11 +569,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 @@ -517,11 +585,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() { @@ -529,24 +600,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_; } @@ -555,28 +625,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.
    * 
@@ -584,11 +656,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.
    * 
@@ -596,16 +669,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.
    * 
@@ -613,12 +686,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(); } @@ -627,6 +699,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
@@ -634,12 +708,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
@@ -647,6 +724,7 @@ public boolean hasHostname() {
    * 
* * string hostname = 5; + * * @return The hostname. */ public java.lang.String getHostname() { @@ -657,8 +735,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; @@ -667,6 +744,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
@@ -674,18 +753,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; } @@ -697,22 +775,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() { @@ -722,19 +806,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; } @@ -742,6 +832,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
@@ -749,13 +841,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
@@ -763,12 +857,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
@@ -776,6 +873,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. */ @@ -783,6 +881,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
@@ -790,42 +890,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; @@ -837,8 +953,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -848,19 +963,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_)) { @@ -882,22 +995,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_); @@ -910,16 +1021,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -929,41 +1041,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: @@ -1019,139 +1124,147 @@ 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() @@ -1159,16 +1272,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1199,9 +1311,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 @@ -1220,7 +1332,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_; @@ -1257,38 +1370,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; @@ -1296,7 +1410,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(); @@ -1311,8 +1426,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_; @@ -1327,19 +1441,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.unknownFields); onChanged(); @@ -1360,7 +1477,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.certificatemanager.v1.CertificateMapEntry) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.certificatemanager.v1.CertificateMapEntry) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1369,12 +1487,12 @@ public Builder mergeFrom( } 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() { @@ -1388,6 +1506,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
@@ -1395,13 +1515,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; @@ -1410,6 +1530,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
@@ -1417,15 +1539,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 { @@ -1433,6 +1554,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
@@ -1440,20 +1563,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
@@ -1461,15 +1586,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
@@ -1477,16 +1605,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; @@ -1494,18 +1622,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; @@ -1514,20 +1644,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 { @@ -1535,54 +1666,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; @@ -1590,39 +1728,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) { @@ -1638,14 +1795,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(); @@ -1656,17 +1816,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; } @@ -1678,11 +1842,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) { @@ -1696,48 +1864,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_; @@ -1745,39 +1929,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) { @@ -1793,14 +1996,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(); @@ -1811,17 +2017,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; } @@ -1833,11 +2043,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) { @@ -1851,69 +2065,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(); @@ -1925,28 +2154,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.
      * 
@@ -1954,11 +2185,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.
      * 
@@ -1966,16 +2198,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.
      * 
@@ -1983,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(); } @@ -1996,68 +2228,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
@@ -2065,6 +2296,7 @@ public Builder putAllLabels(
      * 
* * string hostname = 5; + * * @return Whether the hostname field is set. */ @java.lang.Override @@ -2072,6 +2304,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
@@ -2079,6 +2313,7 @@ public boolean hasHostname() {
      * 
* * string hostname = 5; + * * @return The hostname. */ @java.lang.Override @@ -2088,8 +2323,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; @@ -2100,6 +2334,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
@@ -2107,19 +2343,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; } @@ -2129,6 +2364,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
@@ -2136,20 +2373,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
@@ -2157,6 +2396,7 @@ public Builder setHostname(
      * 
* * string hostname = 5; + * * @return This builder for chaining. */ public Builder clearHostname() { @@ -2168,6 +2408,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
@@ -2175,15 +2417,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(); @@ -2191,11 +2433,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 @@ -2203,11 +2448,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 @@ -2218,11 +2466,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. */ @@ -2233,33 +2484,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(); } @@ -2269,11 +2530,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() { @@ -2285,14 +2549,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
@@ -2300,13 +2568,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
@@ -2314,12 +2584,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
@@ -2327,6 +2600,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. */ @@ -2334,6 +2608,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
@@ -2341,14 +2617,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
@@ -2356,21 +2634,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
@@ -2378,20 +2658,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
@@ -2399,18 +2681,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
@@ -2418,6 +2701,7 @@ public Builder addAllCertificates(
      * 
* * repeated string certificates = 7 [(.google.api.resource_reference) = { ... } + * * @return This builder for chaining. */ public Builder clearCertificates() { @@ -2427,6 +2711,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
@@ -2434,15 +2720,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(); @@ -2451,51 +2737,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. */ @@ -2503,28 +2813,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); } @@ -2534,12 +2849,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(); } @@ -2548,16 +2863,16 @@ 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 { - return new CertificateMapEntry(input, extensionRegistry); - } - }; + 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 { + return new CertificateMapEntry(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2572,6 +2887,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.certificatemanager.v1.CertificateMapEntry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntryName.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntryName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntryName.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntryName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntryOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntryOrBuilder.java similarity index 78% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntryOrBuilder.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntryOrBuilder.java index 5574376..ffc7eb9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapEntryOrBuilder.java +++ b/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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapName.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapName.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapOrBuilder.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapOrBuilder.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapOrBuilder.java index 745728b..77f27d3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateMapOrBuilder.java +++ b/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,61 +197,82 @@ 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.
    * 
* - * 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.
    * 
* - * 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.
    * 
* - * 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.
    * 
* - * 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.
    * 
* - * 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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateName.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateName.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateOrBuilder.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateOrBuilder.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateOrBuilder.java index a5be4a0..440c627 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CertificateOrBuilder.java +++ b/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).
@@ -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).
@@ -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).
@@ -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).
@@ -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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequest.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequest.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequest.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequest.java index 17d9d08..d22299d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequest.java +++ b/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,16 +45,15 @@ 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; } + private CreateCertificateMapEntryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +72,44 @@ private CreateCertificateMapEntryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - certificateMapEntryId_ = s; - break; - } - case 26: { - com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder subBuilder = null; - if (certificateMapEntry_ != null) { - subBuilder = certificateMapEntry_.toBuilder(); + parent_ = s; + break; } - certificateMapEntry_ = input.readMessage(com.google.cloud.certificatemanager.v1.CertificateMapEntry.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(certificateMapEntry_); - certificateMapEntry_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + certificateMapEntryId_ = s; + break; } + case 26: + { + com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder subBuilder = null; + if (certificateMapEntry_ != null) { + subBuilder = certificateMapEntry_.toBuilder(); + } + certificateMapEntry_ = + input.readMessage( + com.google.cloud.certificatemanager.v1.CertificateMapEntry.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(certificateMapEntry_); + certificateMapEntry_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,35 +117,42 @@ private CreateCertificateMapEntryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -130,30 +161,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 { @@ -164,11 +197,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 @@ -177,29 +213,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 { @@ -210,11 +246,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 @@ -222,30 +263,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; @@ -257,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_); } @@ -284,8 +337,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -295,21 +347,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -336,134 +386,146 @@ 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() + // Construct using + // com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -481,19 +543,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); } @@ -502,7 +567,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) { @@ -518,46 +584,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(); @@ -588,7 +660,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.certificatemanager.v1.CreateCertificateMapEntryRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -600,19 +674,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; @@ -621,21 +699,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 { @@ -643,57 +724,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; @@ -701,18 +795,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; @@ -721,20 +817,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 { @@ -742,54 +839,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; @@ -797,41 +901,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(); @@ -845,11 +969,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) { @@ -863,17 +991,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; } @@ -885,11 +1021,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) { @@ -903,55 +1043,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); } @@ -961,30 +1119,33 @@ 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 { - return new CreateCertificateMapEntryRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateCertificateMapEntryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -996,9 +1157,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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequestOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequestOrBuilder.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequestOrBuilder.java index bebd865..4c7de28 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapEntryRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequest.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequest.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequest.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequest.java index c7785f7..2c676c5 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequest.java +++ b/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,16 +44,15 @@ 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; } + private CreateCertificateMapRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,44 @@ private CreateCertificateMapRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - certificateMapId_ = s; - break; - } - case 26: { - com.google.cloud.certificatemanager.v1.CertificateMap.Builder subBuilder = null; - if (certificateMap_ != null) { - subBuilder = certificateMap_.toBuilder(); + parent_ = s; + break; } - certificateMap_ = input.readMessage(com.google.cloud.certificatemanager.v1.CertificateMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(certificateMap_); - certificateMap_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + certificateMapId_ = s; + break; } + case 26: + { + com.google.cloud.certificatemanager.v1.CertificateMap.Builder subBuilder = null; + if (certificateMap_ != null) { + subBuilder = certificateMap_.toBuilder(); + } + certificateMap_ = + input.readMessage( + com.google.cloud.certificatemanager.v1.CertificateMap.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(certificateMap_); + certificateMap_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,35 +116,42 @@ private CreateCertificateMapRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -130,30 +160,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 { @@ -164,11 +196,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 @@ -177,29 +212,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 { @@ -210,11 +245,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 @@ -222,30 +262,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; @@ -257,8 +310,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -284,8 +336,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -295,21 +346,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -336,134 +385,145 @@ 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() + // Construct using + // com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -481,14 +541,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 @@ -502,7 +564,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) { @@ -518,46 +581,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(); @@ -588,7 +656,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.certificatemanager.v1.CreateCertificateMapRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -600,19 +670,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; @@ -621,21 +695,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 { @@ -643,57 +720,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; @@ -701,18 +791,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; @@ -721,20 +813,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 { @@ -742,54 +835,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; @@ -797,39 +897,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) { @@ -845,11 +964,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) { @@ -863,17 +986,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; } @@ -885,11 +1015,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) { @@ -903,55 +1037,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); } @@ -961,30 +1113,32 @@ 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 { - return new CreateCertificateMapRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateCertificateMapRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -996,9 +1150,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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequestOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequestOrBuilder.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequestOrBuilder.java index 76308ca..b0aebea 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateMapRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequest.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequest.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequest.java index 288d554..34ba417 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequest.java +++ b/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,16 +44,15 @@ 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; } + private CreateCertificateRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,44 @@ private CreateCertificateRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - certificateId_ = s; - break; - } - case 26: { - com.google.cloud.certificatemanager.v1.Certificate.Builder subBuilder = null; - if (certificate_ != null) { - subBuilder = certificate_.toBuilder(); + parent_ = s; + break; } - certificate_ = input.readMessage(com.google.cloud.certificatemanager.v1.Certificate.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(certificate_); - certificate_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + certificateId_ = s; + break; } + case 26: + { + com.google.cloud.certificatemanager.v1.Certificate.Builder subBuilder = null; + if (certificate_ != null) { + subBuilder = certificate_.toBuilder(); + } + certificate_ = + input.readMessage( + com.google.cloud.certificatemanager.v1.Certificate.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(certificate_); + certificate_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,35 +116,42 @@ private CreateCertificateRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -130,30 +160,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 { @@ -164,11 +196,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 @@ -177,29 +212,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 { @@ -210,11 +245,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 @@ -222,23 +262,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() { @@ -246,6 +297,7 @@ public com.google.cloud.certificatemanager.v1.CertificateOrBuilder getCertificat } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -257,8 +309,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -284,8 +335,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -295,21 +345,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -336,117 +384,127 @@ 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() @@ -454,16 +512,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -481,13 +538,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(); } @@ -502,7 +560,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) { @@ -518,46 +577,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(); @@ -588,7 +651,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.certificatemanager.v1.CreateCertificateRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.certificatemanager.v1.CreateCertificateRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -600,19 +665,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; @@ -621,21 +690,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 { @@ -643,57 +715,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; @@ -701,18 +786,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; @@ -721,20 +808,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 { @@ -742,54 +830,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; @@ -797,39 +892,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) { @@ -845,11 +959,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) { @@ -863,17 +981,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; } @@ -885,11 +1009,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) { @@ -903,55 +1031,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); } @@ -961,30 +1105,32 @@ 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 { - return new CreateCertificateRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateCertificateRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -996,9 +1142,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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequestOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequestOrBuilder.java similarity index 53% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequestOrBuilder.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequestOrBuilder.java index bc0a7a7..9d1c9d3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateCertificateRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequest.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequest.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequest.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequest.java index 2780784..812e164 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequest.java +++ b/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,16 +44,15 @@ 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; } + private CreateDnsAuthorizationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -54,38 +71,44 @@ private CreateDnsAuthorizationRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - dnsAuthorizationId_ = s; - break; - } - case 26: { - com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder subBuilder = null; - if (dnsAuthorization_ != null) { - subBuilder = dnsAuthorization_.toBuilder(); + parent_ = s; + break; } - dnsAuthorization_ = input.readMessage(com.google.cloud.certificatemanager.v1.DnsAuthorization.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dnsAuthorization_); - dnsAuthorization_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + dnsAuthorizationId_ = s; + break; } + case 26: + { + com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder subBuilder = null; + if (dnsAuthorization_ != null) { + subBuilder = dnsAuthorization_.toBuilder(); + } + dnsAuthorization_ = + input.readMessage( + com.google.cloud.certificatemanager.v1.DnsAuthorization.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dnsAuthorization_); + dnsAuthorization_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -93,35 +116,42 @@ private CreateDnsAuthorizationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -130,30 +160,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 { @@ -164,11 +196,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 @@ -177,29 +212,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 { @@ -210,11 +245,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 @@ -222,30 +262,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; @@ -257,8 +310,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -284,8 +336,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -295,21 +346,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -336,134 +385,145 @@ 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() + // Construct using + // com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -481,14 +541,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 @@ -502,7 +564,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) { @@ -518,46 +581,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(); @@ -588,7 +656,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.certificatemanager.v1.CreateDnsAuthorizationRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -600,19 +670,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; @@ -621,21 +695,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 { @@ -643,57 +720,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; @@ -701,18 +791,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; @@ -721,20 +813,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 { @@ -742,54 +835,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; @@ -797,41 +897,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(); @@ -845,11 +965,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) { @@ -863,17 +987,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; } @@ -885,11 +1016,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) { @@ -903,55 +1038,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); } @@ -961,30 +1114,32 @@ 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 { - return new CreateDnsAuthorizationRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateDnsAuthorizationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -996,9 +1151,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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequestOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequestOrBuilder.java similarity index 54% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequestOrBuilder.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequestOrBuilder.java index 0d75703..86dafc8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/CreateDnsAuthorizationRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequest.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequest.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequest.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequest.java index a0be544..4afacee 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequest.java +++ b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequest.java @@ -1,40 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } + private DeleteCertificateMapEntryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +71,20 @@ private DeleteCertificateMapEntryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +92,42 @@ private DeleteCertificateMapEntryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -110,30 +136,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 { @@ -142,6 +170,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +182,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +206,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,134 +234,146 @@ 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() + // Construct using + // com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,19 +383,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); } @@ -364,7 +407,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; @@ -374,46 +418,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(); @@ -437,7 +487,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.certificatemanager.v1.DeleteCertificateMapEntryRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +501,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; @@ -470,21 +526,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 { @@ -492,64 +551,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); } @@ -559,30 +631,33 @@ 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 { - return new DeleteCertificateMapEntryRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteCertificateMapEntryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -594,9 +669,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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequestOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapEntryRequestOrBuilder.java new file mode 100644 index 0000000..3f25d2e --- /dev/null +++ b/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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequest.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequest.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequest.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequest.java index b296dd6..5965c87 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequest.java +++ b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } + private DeleteCertificateMapRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteCertificateMapRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private DeleteCertificateMapRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. 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 { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,134 +233,145 @@ 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() + // Construct using + // com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,14 +381,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 @@ -364,7 +404,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; @@ -374,46 +415,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(); @@ -437,7 +483,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.certificatemanager.v1.DeleteCertificateMapRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +497,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; @@ -470,21 +522,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 { @@ -492,64 +547,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); } @@ -559,30 +627,32 @@ 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 { - return new DeleteCertificateMapRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteCertificateMapRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -594,9 +664,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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequestOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateMapRequestOrBuilder.java new file mode 100644 index 0000000..a7216a2 --- /dev/null +++ b/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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequest.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequest.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequest.java index 53be0a4..13771ab 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequest.java +++ b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } + private DeleteCertificateRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteCertificateRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private DeleteCertificateRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. 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 { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ 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() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,13 +379,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.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(); } @@ -364,7 +401,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; @@ -374,46 +412,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(); @@ -437,7 +479,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.certificatemanager.v1.DeleteCertificateRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.certificatemanager.v1.DeleteCertificateRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +493,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; @@ -470,21 +518,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 { @@ -492,64 +543,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); } @@ -559,30 +623,32 @@ 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 { - return new DeleteCertificateRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteCertificateRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -594,9 +660,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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequestOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteCertificateRequestOrBuilder.java new file mode 100644 index 0000000..a879384 --- /dev/null +++ b/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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequest.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequest.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequest.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequest.java index c068f65..8e72523 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequest.java +++ b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } + private DeleteDnsAuthorizationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private DeleteDnsAuthorizationRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private DeleteDnsAuthorizationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. 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 { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,134 +233,145 @@ 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() + // Construct using + // com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,14 +381,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 @@ -364,7 +404,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; @@ -374,46 +415,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(); @@ -437,7 +483,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.certificatemanager.v1.DeleteDnsAuthorizationRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +497,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; @@ -470,21 +522,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 { @@ -492,64 +547,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); } @@ -559,30 +627,32 @@ 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 { - return new DeleteDnsAuthorizationRequest(input, extensionRegistry); - } - }; + 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 { + return new DeleteDnsAuthorizationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -594,9 +664,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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequestOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DeleteDnsAuthorizationRequestOrBuilder.java new file mode 100644 index 0000000..84ba26f --- /dev/null +++ b/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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorization.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorization.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorization.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorization.java index 28ee1c6..715919b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorization.java +++ b/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,16 +46,15 @@ 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;
   }
+
   private DnsAuthorization(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,83 +74,96 @@ private DnsAuthorization(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (createTime_ != null) {
-              subBuilder = createTime_.toBuilder();
+              name_ = s;
+              break;
             }
-            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(createTime_);
-              createTime_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (createTime_ != null) {
+                subBuilder = createTime_.toBuilder();
+              }
+              createTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(createTime_);
+                createTime_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
+          case 26:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (updateTime_ != null) {
+                subBuilder = updateTime_.toBuilder();
+              }
+              updateTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(updateTime_);
+                updateTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 26: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (updateTime_ != null) {
-              subBuilder = updateTime_.toBuilder();
+              break;
             }
-            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(updateTime_);
-              updateTime_ = subBuilder.buildPartial();
+          case 34:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                labels_ =
+                    com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry);
+                mutable_bitField0_ |= 0x00000001;
+              }
+              com.google.protobuf.MapEntry labels__ =
+                  input.readMessage(
+                      LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              labels_.getMutableMap().put(labels__.getKey(), labels__.getValue());
+              break;
             }
+          case 42:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            break;
-          }
-          case 34: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              labels_ = com.google.protobuf.MapField.newMapField(
-                  LabelsDefaultEntryHolder.defaultEntry);
-              mutable_bitField0_ |= 0x00000001;
+              description_ = s;
+              break;
             }
-            com.google.protobuf.MapEntry
-            labels__ = input.readMessage(
-                LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-            labels_.getMutableMap().put(
-                labels__.getKey(), labels__.getValue());
-            break;
-          }
-          case 42: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            description_ = s;
-            break;
-          }
-          case 50: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 50:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            domain_ = s;
-            break;
-          }
-          case 82: {
-            com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord.Builder subBuilder = null;
-            if (dnsResourceRecord_ != null) {
-              subBuilder = dnsResourceRecord_.toBuilder();
-            }
-            dnsResourceRecord_ = input.readMessage(com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(dnsResourceRecord_);
-              dnsResourceRecord_ = subBuilder.buildPartial();
+              domain_ = s;
+              break;
             }
+          case 82:
+            {
+              com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord.Builder
+                  subBuilder = null;
+              if (dnsResourceRecord_ != null) {
+                subBuilder = dnsResourceRecord_.toBuilder();
+              }
+              dnsResourceRecord_ =
+                  input.readMessage(
+                      com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord
+                          .parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(dnsResourceRecord_);
+                dnsResourceRecord_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -141,107 +171,126 @@ private DnsAuthorization(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.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
@@ -250,15 +299,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_ = "";
@@ -267,16 +317,15 @@ 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;
     }
+
     private DnsResourceRecord(
         com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -295,31 +344,34 @@ private DnsResourceRecord(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
+            case 10:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
+                name_ = s;
+                break;
+              }
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              type_ = s;
-              break;
-            }
-            case 26: {
-              java.lang.String s = input.readStringRequireUtf8();
+                type_ = s;
+                break;
+              }
+            case 26:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
 
-              data_ = s;
-              break;
-            }
-            default: {
-              if (!parseUnknownField(
-                  input, unknownFields, extensionRegistry, tag)) {
-                done = true;
+                data_ = s;
+                break;
+              }
+            default:
+              {
+                if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                  done = true;
+                }
+                break;
               }
-              break;
-            }
           }
         }
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -327,35 +379,41 @@ private DnsResourceRecord(
       } catch (com.google.protobuf.UninitializedMessageException e) {
         throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
       } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(
-            e).setUnfinishedMessage(this);
+        throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
       } finally {
         this.unknownFields = unknownFields.build();
         makeExtensionsImmutable();
       }
     }
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.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 @@ -364,30 +422,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 { @@ -398,12 +456,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 @@ -412,30 +473,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 { @@ -446,11 +507,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 @@ -459,29 +523,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 { @@ -490,6 +554,7 @@ public java.lang.String getData() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -501,8 +566,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -538,19 +602,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -573,88 +636,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 @@ -664,6 +740,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
@@ -672,38 +750,42 @@ 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()
+      // Construct using
+      // com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord.newBuilder()
       private Builder() {
         maybeForceBuilderInitialization();
       }
 
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
         maybeForceBuilderInitialization();
       }
+
       private void maybeForceBuilderInitialization() {
-        if (com.google.protobuf.GeneratedMessageV3
-                .alwaysUseFieldBuilders) {
-        }
+        if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -717,19 +799,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);
         }
@@ -737,8 +822,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_;
@@ -750,46 +837,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();
@@ -817,11 +912,14 @@ public Builder mergeFrom(
           com.google.protobuf.CodedInputStream input,
           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
           throws java.io.IOException {
-        com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord parsedMessage = null;
+        com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord parsedMessage =
+            null;
         try {
           parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
         } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-          parsedMessage = (com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord) e.getUnfinishedMessage();
+          parsedMessage =
+              (com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord)
+                  e.getUnfinishedMessage();
           throw e.unwrapIOException();
         } finally {
           if (parsedMessage != null) {
@@ -833,19 +931,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; @@ -854,21 +954,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 { @@ -876,57 +977,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; @@ -934,19 +1042,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; @@ -955,21 +1065,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 { @@ -977,57 +1088,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; @@ -1035,18 +1153,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; @@ -1055,20 +1175,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 { @@ -1076,58 +1197,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) { @@ -1140,30 +1269,33 @@ 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 { - return new DnsResourceRecord(input, extensionRegistry); - } - }; + 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 { + return new DnsResourceRecord(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1175,15 +1307,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
@@ -1191,6 +1325,7 @@ public com.google.cloud.certificatemanager.v1.DnsAuthorization.DnsResourceRecord
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -1199,14 +1334,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
@@ -1214,16 +1350,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 { @@ -1234,11 +1369,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 @@ -1246,11 +1385,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 @@ -1258,11 +1401,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() { @@ -1272,11 +1418,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 @@ -1284,11 +1434,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 @@ -1296,11 +1450,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() { @@ -1308,24 +1465,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_; } @@ -1334,28 +1490,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.
    * 
@@ -1363,11 +1521,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.
    * 
@@ -1375,16 +1534,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.
    * 
@@ -1392,12 +1551,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(); } @@ -1407,11 +1565,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 @@ -1420,29 +1581,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 { @@ -1453,13 +1614,18 @@ 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 `example.com` can
    * be used to issue certificates for `example.com` and `*.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 @@ -1468,31 +1634,33 @@ 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 `example.com` can
    * be used to issue certificates for `example.com` and `*.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 { @@ -1501,13 +1669,19 @@ 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 @@ -1515,30 +1689,45 @@ 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; @@ -1550,8 +1739,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1561,12 +1749,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_); } @@ -1589,22 +1773,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_); @@ -1613,8 +1795,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1624,35 +1805,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1693,96 +1868,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.
@@ -1790,43 +1973,43 @@ 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()
@@ -1834,16 +2017,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1876,9 +2058,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
@@ -1897,7 +2079,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) {
@@ -1927,38 +2110,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;
@@ -1966,7 +2150,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();
@@ -1977,8 +2162,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();
@@ -2009,7 +2193,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.certificatemanager.v1.DnsAuthorization) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.certificatemanager.v1.DnsAuthorization) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -2018,10 +2203,13 @@ public Builder mergeFrom(
       }
       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
@@ -2029,13 +2217,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; @@ -2044,6 +2232,8 @@ public java.lang.String getName() { } } /** + * + * *
      * A user-defined name of the dns authorization. DnsAuthorization names must
      * be unique globally and match pattern
@@ -2051,15 +2241,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 { @@ -2067,6 +2256,8 @@ public java.lang.String getName() { } } /** + * + * *
      * A user-defined name of the dns authorization. DnsAuthorization names must
      * be unique globally and match pattern
@@ -2074,20 +2265,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
@@ -2095,15 +2288,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
@@ -2111,16 +2307,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; @@ -2128,39 +2324,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) { @@ -2176,14 +2391,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(); @@ -2194,17 +2412,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; } @@ -2216,11 +2438,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) { @@ -2234,48 +2460,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_; @@ -2283,39 +2525,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) { @@ -2331,14 +2592,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(); @@ -2349,17 +2613,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; } @@ -2371,11 +2639,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) { @@ -2389,69 +2661,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(); @@ -2463,28 +2750,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.
      * 
@@ -2492,11 +2781,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.
      * 
@@ -2504,16 +2794,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.
      * 
@@ -2521,12 +2812,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(); } @@ -2534,81 +2824,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; @@ -2617,20 +2906,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 { @@ -2638,54 +2928,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; @@ -2693,20 +2990,24 @@ 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 `example.com` can
      * be used to issue certificates for `example.com` and `*.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; @@ -2715,22 +3016,25 @@ 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 `example.com` can
      * be used to issue certificates for `example.com` and `*.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 { @@ -2738,102 +3042,138 @@ 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 `example.com` can
      * be used to issue certificates for `example.com` and `*.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 `example.com` can
      * be used to issue certificates for `example.com` and `*.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 `example.com` can
      * be used to issue certificates for `example.com` and `*.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(); @@ -2847,14 +3187,19 @@ 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(); @@ -2865,17 +3210,25 @@ 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; } @@ -2887,11 +3240,15 @@ 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) { @@ -2905,55 +3262,74 @@ 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); } @@ -2963,12 +3339,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(); } @@ -2977,16 +3353,16 @@ 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 { - return new DnsAuthorization(input, extensionRegistry); - } - }; + 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 { + return new DnsAuthorization(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3001,6 +3377,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.certificatemanager.v1.DnsAuthorization getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationName.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationName.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationOrBuilder.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationOrBuilder.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationOrBuilder.java index 19bc86e..ebd4e88 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/DnsAuthorizationOrBuilder.java +++ b/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,89 +172,118 @@ 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 `example.com` can
    * be used to issue certificates for `example.com` and `*.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 `example.com` can
    * be used to issue certificates for `example.com` and `*.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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequest.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequest.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequest.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequest.java index 1d92b8b..fb97a16 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequest.java +++ b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } + private GetCertificateMapEntryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetCertificateMapEntryRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private GetCertificateMapEntryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. 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 { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,134 +233,145 @@ 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() + // Construct using + // com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,14 +381,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 @@ -364,7 +404,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; @@ -374,46 +415,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(); @@ -437,7 +483,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.certificatemanager.v1.GetCertificateMapEntryRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +497,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; @@ -470,21 +522,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 { @@ -492,64 +547,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); } @@ -559,30 +627,32 @@ 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 { - return new GetCertificateMapEntryRequest(input, extensionRegistry); - } - }; + 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 { + return new GetCertificateMapEntryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -594,9 +664,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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequestOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapEntryRequestOrBuilder.java new file mode 100644 index 0000000..c92150b --- /dev/null +++ b/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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequest.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequest.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequest.java index d768eda..6705ffe 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequest.java +++ b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } + private GetCertificateMapRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetCertificateMapRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private GetCertificateMapRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. 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 { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ 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() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,13 +379,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.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(); } @@ -364,7 +401,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; @@ -374,46 +412,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(); @@ -437,7 +479,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.certificatemanager.v1.GetCertificateMapRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.certificatemanager.v1.GetCertificateMapRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +493,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; @@ -470,21 +518,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 { @@ -492,64 +543,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); } @@ -559,30 +623,32 @@ 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 { - return new GetCertificateMapRequest(input, extensionRegistry); - } - }; + 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 { + return new GetCertificateMapRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -594,9 +660,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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequestOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateMapRequestOrBuilder.java new file mode 100644 index 0000000..7031a2c --- /dev/null +++ b/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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequest.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequest.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequest.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequest.java index 42e0a7e..849bed9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequest.java +++ b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } + private GetCertificateRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetCertificateRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private GetCertificateRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. 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 { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,117 +233,127 @@ 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() @@ -324,16 +361,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,13 +379,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.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(); } @@ -364,7 +401,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; @@ -374,38 +412,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; @@ -413,7 +452,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(); @@ -437,7 +478,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.certificatemanager.v1.GetCertificateRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.certificatemanager.v1.GetCertificateRequest) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +491,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; @@ -470,21 +516,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 { @@ -492,64 +541,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); } @@ -559,12 +621,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(); } @@ -573,16 +636,16 @@ 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 { - return new GetCertificateRequest(input, extensionRegistry); - } - }; + 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 { + return new GetCertificateRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -597,6 +660,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.certificatemanager.v1.GetCertificateRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequestOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetCertificateRequestOrBuilder.java new file mode 100644 index 0000000..36f7ef8 --- /dev/null +++ b/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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequest.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequest.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequest.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequest.java index e872b8f..248d5a5 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequest.java +++ b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequest.java @@ -1,40 +1,57 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } + private GetDnsAuthorizationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -53,19 +70,20 @@ private GetDnsAuthorizationRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -73,35 +91,42 @@ private GetDnsAuthorizationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -110,30 +135,32 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. 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 { @@ -142,6 +169,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -153,8 +181,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -178,15 +205,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -206,134 +233,145 @@ 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() + // Construct using + // com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -343,13 +381,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(); } @@ -364,7 +403,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; @@ -374,46 +414,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(); @@ -437,7 +481,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.certificatemanager.v1.GetDnsAuthorizationRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -449,19 +495,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; @@ -470,21 +520,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 { @@ -492,64 +545,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); } @@ -559,30 +625,32 @@ 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 { - return new GetDnsAuthorizationRequest(input, extensionRegistry); - } - }; + 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 { + return new GetDnsAuthorizationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -594,9 +662,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/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequestOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/GetDnsAuthorizationRequestOrBuilder.java new file mode 100644 index 0000000..180ac93 --- /dev/null +++ b/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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequest.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequest.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequest.java index db14057..e0623b7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequest.java +++ b/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,16 +47,15 @@ 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; } + private ListCertificateMapEntriesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,42 +74,46 @@ private ListCertificateMapEntriesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + orderBy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,36 +121,43 @@ private ListCertificateMapEntriesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -137,31 +166,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 { @@ -172,6 +203,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.
@@ -180,6 +213,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -190,6 +224,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
@@ -198,6 +234,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -206,14 +243,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
@@ -222,16 +260,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 { @@ -242,11 +279,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 @@ -255,29 +295,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 { @@ -288,6 +328,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.
@@ -295,6 +337,7 @@ public java.lang.String getFilter() {
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -303,14 +346,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.
@@ -318,16 +362,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 { @@ -336,6 +379,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -347,8 +391,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -377,8 +420,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_); @@ -397,23 +439,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -441,134 +479,146 @@ 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() + // Construct using + // com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -586,19 +636,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); } @@ -607,7 +660,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_; @@ -621,46 +675,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(); @@ -699,7 +759,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -711,20 +773,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; @@ -733,22 +799,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 { @@ -756,67 +825,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.
@@ -825,6 +909,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -832,6 +917,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Maximum number of certificate map entries to return. The service may return
      * fewer than this value.
@@ -840,16 +927,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.
@@ -858,10 +948,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -869,6 +960,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
@@ -877,13 +970,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; @@ -892,6 +985,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The value returned by the last `ListCertificateMapEntriesResponse`.
      * Indicates that this is a continuation of a prior
@@ -900,15 +995,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 { @@ -916,6 +1010,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The value returned by the last `ListCertificateMapEntriesResponse`.
      * Indicates that this is a continuation of a prior
@@ -924,20 +1020,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
@@ -946,15 +1044,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
@@ -963,16 +1064,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; @@ -980,18 +1081,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; @@ -1000,20 +1103,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 { @@ -1021,54 +1125,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; @@ -1076,6 +1187,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.
@@ -1083,13 +1196,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; @@ -1098,6 +1211,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.
@@ -1105,15 +1220,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 { @@ -1121,6 +1235,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.
@@ -1128,20 +1244,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.
@@ -1149,15 +1267,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.
@@ -1165,23 +1286,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); } @@ -1191,30 +1312,33 @@ 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 { - return new ListCertificateMapEntriesRequest(input, extensionRegistry); - } - }; + 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 { + return new ListCertificateMapEntriesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1226,9 +1350,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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequestOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequestOrBuilder.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequestOrBuilder.java index ff4bf82..78933c7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponse.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponse.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponse.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponse.java index 9d024c9..c054772 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponse.java +++ b/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,16 +46,15 @@ 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; } + private ListCertificateMapEntriesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +74,44 @@ private ListCertificateMapEntriesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - certificateMapEntries_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + certificateMapEntries_ = + new java.util.ArrayList< + com.google.cloud.certificatemanager.v1.CertificateMapEntry>(); + mutable_bitField0_ |= 0x00000001; + } + certificateMapEntries_.add( + input.readMessage( + com.google.cloud.certificatemanager.v1.CertificateMapEntry.parser(), + extensionRegistry)); + break; } - certificateMapEntries_.add( - input.readMessage(com.google.cloud.certificatemanager.v1.CertificateMapEntry.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + nextPageToken_ = s; + break; } - unreachable_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + unreachable_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,8 +119,7 @@ private ListCertificateMapEntriesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { certificateMapEntries_ = java.util.Collections.unmodifiableList(certificateMapEntries_); @@ -107,82 +131,111 @@ private ListCertificateMapEntriesResponse( makeExtensionsImmutable(); } } - 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
@@ -190,6 +243,7 @@ public com.google.cloud.certificatemanager.v1.CertificateMapEntryOrBuilder getCe
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -198,14 +252,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
@@ -213,16 +268,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 { @@ -233,34 +287,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. */ @@ -268,20 +330,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; @@ -293,8 +358,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -314,8 +378,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_); @@ -336,19 +401,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -376,135 +440,148 @@ 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() + // Construct using + // com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getCertificateMapEntriesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -522,19 +599,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); } @@ -543,7 +623,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)) { @@ -568,46 +649,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()) { @@ -626,9 +713,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_); } @@ -667,7 +755,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.certificatemanager.v1.ListCertificateMapEntriesResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -676,28 +766,40 @@ public Builder mergeFrom( } 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 { @@ -705,11 +807,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) { @@ -719,13 +825,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 { @@ -733,11 +844,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) { @@ -754,14 +869,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()); @@ -772,13 +892,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(); @@ -792,11 +917,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) { @@ -813,11 +942,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) { @@ -831,14 +964,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()); @@ -849,18 +987,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); @@ -868,11 +1010,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) { @@ -885,11 +1031,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) { @@ -902,39 +1052,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 { @@ -942,45 +1106,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(), @@ -992,6 +1178,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
@@ -999,13 +1187,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; @@ -1014,6 +1202,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
@@ -1021,15 +1211,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 { @@ -1037,6 +1226,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
@@ -1044,20 +1235,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
@@ -1065,15 +1258,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
@@ -1081,57 +1277,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. */ @@ -1139,80 +1345,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() { @@ -1222,28 +1438,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); } @@ -1253,30 +1471,33 @@ 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 { - return new ListCertificateMapEntriesResponse(input, extensionRegistry); - } - }; + 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 { + return new ListCertificateMapEntriesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1288,9 +1509,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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponseOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponseOrBuilder.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponseOrBuilder.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponseOrBuilder.java index 88651e5..262d3b5 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapEntriesResponseOrBuilder.java +++ b/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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequest.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequest.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequest.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequest.java index 28b2fc6..e61ecba 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequest.java +++ b/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,16 +46,15 @@ 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; } + private ListCertificateMapsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,42 +73,46 @@ private ListCertificateMapsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + orderBy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,35 +120,42 @@ private ListCertificateMapsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -136,30 +164,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 { @@ -170,11 +200,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 @@ -185,6 +218,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
@@ -192,6 +227,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -200,14 +236,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
@@ -215,16 +252,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 { @@ -235,11 +271,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 @@ -248,29 +287,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 { @@ -281,6 +320,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
@@ -288,6 +329,7 @@ public java.lang.String getFilter() {
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -296,14 +338,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
@@ -311,16 +354,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 { @@ -329,6 +371,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -340,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -370,8 +412,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_); @@ -390,23 +431,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -434,134 +471,145 @@ 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() + // Construct using + // com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -579,13 +627,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(); } @@ -600,7 +649,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_; @@ -614,46 +664,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(); @@ -692,7 +746,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.certificatemanager.v1.ListCertificateMapsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -704,19 +760,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; @@ -725,21 +785,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 { @@ -747,69 +810,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 @@ -817,30 +896,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; @@ -848,6 +933,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
@@ -855,13 +942,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; @@ -870,6 +957,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
@@ -877,15 +966,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 { @@ -893,6 +981,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
@@ -900,20 +990,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
@@ -921,15 +1013,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
@@ -937,16 +1032,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; @@ -954,18 +1049,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; @@ -974,20 +1071,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 { @@ -995,54 +1093,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; @@ -1050,6 +1155,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
@@ -1057,13 +1164,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; @@ -1072,6 +1179,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
@@ -1079,15 +1188,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 { @@ -1095,6 +1203,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
@@ -1102,20 +1212,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
@@ -1123,15 +1235,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
@@ -1139,23 +1254,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); } @@ -1165,30 +1280,32 @@ 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 { - return new ListCertificateMapsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListCertificateMapsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1200,9 +1317,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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequestOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequestOrBuilder.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequestOrBuilder.java index 502e3b3..42e3148 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponse.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponse.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponse.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponse.java index 186afc9..e5447d4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponse.java +++ b/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,16 +45,15 @@ 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; } + private ListCertificateMapsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +73,44 @@ private ListCertificateMapsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - certificateMaps_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + certificateMaps_ = + new java.util.ArrayList< + com.google.cloud.certificatemanager.v1.CertificateMap>(); + mutable_bitField0_ |= 0x00000001; + } + certificateMaps_.add( + input.readMessage( + com.google.cloud.certificatemanager.v1.CertificateMap.parser(), + extensionRegistry)); + break; } - certificateMaps_.add( - input.readMessage(com.google.cloud.certificatemanager.v1.CertificateMap.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + nextPageToken_ = s; + break; } - unreachable_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + unreachable_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,8 +118,7 @@ private ListCertificateMapsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { certificateMaps_ = java.util.Collections.unmodifiableList(certificateMaps_); @@ -107,22 +130,27 @@ private ListCertificateMapsResponse( makeExtensionsImmutable(); } } - 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.
    * 
@@ -130,10 +158,13 @@ private ListCertificateMapsResponse( * 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.
    * 
@@ -141,11 +172,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.
    * 
@@ -157,6 +190,8 @@ public int getCertificateMapsCount() { return certificateMaps_.size(); } /** + * + * *
    * A list of certificate maps for the parent resource.
    * 
@@ -168,6 +203,8 @@ public com.google.cloud.certificatemanager.v1.CertificateMap getCertificateMaps( return certificateMaps_.get(index); } /** + * + * *
    * A list of certificate maps for the parent resource.
    * 
@@ -183,6 +220,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
@@ -190,6 +229,7 @@ public com.google.cloud.certificatemanager.v1.CertificateMapOrBuilder getCertifi
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -198,14 +238,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
@@ -213,16 +254,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 { @@ -233,34 +273,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. */ @@ -268,20 +316,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; @@ -293,8 +344,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < certificateMaps_.size(); i++) { output.writeMessage(1, certificateMaps_.get(i)); } @@ -314,8 +364,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_); @@ -336,19 +385,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -376,135 +423,147 @@ 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() + // Construct using + // com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getCertificateMapsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -522,14 +581,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 @@ -543,7 +604,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)) { @@ -568,46 +630,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()) { @@ -626,9 +693,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_); } @@ -667,7 +735,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.certificatemanager.v1.ListCertificateMapsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -676,28 +746,39 @@ public Builder mergeFrom( } 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 { @@ -705,11 +786,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) { @@ -719,11 +803,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) { @@ -733,11 +820,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) { @@ -754,11 +844,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) { @@ -772,11 +865,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) { @@ -792,11 +888,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) { @@ -813,11 +912,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) { @@ -831,11 +933,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) { @@ -849,18 +954,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); @@ -868,11 +976,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) { @@ -885,11 +996,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) { @@ -902,39 +1016,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 { @@ -942,45 +1066,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(), @@ -992,6 +1133,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
@@ -999,13 +1142,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; @@ -1014,6 +1157,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
@@ -1021,15 +1166,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 { @@ -1037,6 +1181,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
@@ -1044,20 +1190,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
@@ -1065,15 +1213,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
@@ -1081,57 +1232,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. */ @@ -1139,80 +1300,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() { @@ -1222,28 +1393,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); } @@ -1253,30 +1426,32 @@ 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 { - return new ListCertificateMapsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListCertificateMapsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1288,9 +1463,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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponseOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponseOrBuilder.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponseOrBuilder.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponseOrBuilder.java index 97dd907..8682547 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificateMapsResponseOrBuilder.java +++ b/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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequest.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequest.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequest.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequest.java index bcf9b85..08841c2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequest.java +++ b/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,16 +46,15 @@ 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; } + private ListCertificatesRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,42 +73,46 @@ private ListCertificatesRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + orderBy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,35 +120,42 @@ private ListCertificatesRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -136,30 +164,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 { @@ -170,11 +200,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 @@ -185,6 +218,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
@@ -192,6 +227,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -200,14 +236,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
@@ -215,16 +252,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 { @@ -235,11 +271,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 @@ -248,29 +287,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 { @@ -281,6 +320,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
@@ -288,6 +329,7 @@ public java.lang.String getFilter() {
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -296,14 +338,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
@@ -311,16 +354,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 { @@ -329,6 +371,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -340,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -370,8 +412,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_); @@ -390,23 +431,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -434,117 +471,127 @@ 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() @@ -552,16 +599,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -579,13 +625,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(); } @@ -600,7 +647,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_; @@ -614,38 +662,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; @@ -653,7 +702,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(); @@ -692,7 +743,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.certificatemanager.v1.ListCertificatesRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.certificatemanager.v1.ListCertificatesRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -704,19 +757,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; @@ -725,21 +782,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 { @@ -747,69 +807,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 @@ -817,30 +893,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; @@ -848,6 +930,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
@@ -855,13 +939,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; @@ -870,6 +954,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
@@ -877,15 +963,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 { @@ -893,6 +978,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
@@ -900,20 +987,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
@@ -921,15 +1010,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
@@ -937,16 +1029,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; @@ -954,18 +1046,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; @@ -974,20 +1068,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 { @@ -995,54 +1090,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; @@ -1050,6 +1152,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
@@ -1057,13 +1161,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; @@ -1072,6 +1176,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
@@ -1079,15 +1185,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 { @@ -1095,6 +1200,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
@@ -1102,20 +1209,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
@@ -1123,15 +1232,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
@@ -1139,23 +1251,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); } @@ -1165,30 +1277,32 @@ 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 { - return new ListCertificatesRequest(input, extensionRegistry); - } - }; + 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 { + return new ListCertificatesRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1200,9 +1314,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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequestOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequestOrBuilder.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequestOrBuilder.java index 41dbbd5..48ed00e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponse.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponse.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponse.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponse.java index 588770b..514575f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponse.java +++ b/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,16 +45,15 @@ 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; } + private ListCertificatesResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +73,43 @@ private ListCertificatesResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - certificates_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + certificates_ = + new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; + } + certificates_.add( + input.readMessage( + com.google.cloud.certificatemanager.v1.Certificate.parser(), + extensionRegistry)); + break; } - certificates_.add( - input.readMessage(com.google.cloud.certificatemanager.v1.Certificate.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + nextPageToken_ = s; + break; } - unreachable_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + unreachable_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,8 +117,7 @@ private ListCertificatesResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { certificates_ = java.util.Collections.unmodifiableList(certificates_); @@ -107,22 +129,27 @@ private ListCertificatesResponse( makeExtensionsImmutable(); } } - 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.
    * 
@@ -134,6 +161,8 @@ public java.util.List getCer return certificates_; } /** + * + * *
    * A list of certificates for the parent resource.
    * 
@@ -141,11 +170,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.
    * 
@@ -157,6 +188,8 @@ public int getCertificatesCount() { return certificates_.size(); } /** + * + * *
    * A list of certificates for the parent resource.
    * 
@@ -168,6 +201,8 @@ public com.google.cloud.certificatemanager.v1.Certificate getCertificates(int in return certificates_.get(index); } /** + * + * *
    * A list of certificates for the parent resource.
    * 
@@ -183,6 +218,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
@@ -190,6 +227,7 @@ public com.google.cloud.certificatemanager.v1.CertificateOrBuilder getCertificat
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -198,14 +236,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
@@ -213,16 +252,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 { @@ -233,34 +271,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. */ @@ -268,20 +314,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; @@ -293,8 +342,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < certificates_.size(); i++) { output.writeMessage(1, certificates_.get(i)); } @@ -314,8 +362,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_); @@ -336,19 +383,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -376,117 +421,127 @@ 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() @@ -494,17 +549,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getCertificatesFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -522,13 +577,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.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(); } @@ -543,7 +599,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)) { @@ -568,46 +625,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()) { @@ -626,9 +687,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_); } @@ -667,7 +729,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.certificatemanager.v1.ListCertificatesResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.certificatemanager.v1.ListCertificatesResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -676,28 +740,38 @@ public Builder mergeFrom( } 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 { @@ -705,6 +779,8 @@ public java.util.List getCer } } /** + * + * *
      * A list of certificates for the parent resource.
      * 
@@ -719,6 +795,8 @@ public int getCertificatesCount() { } } /** + * + * *
      * A list of certificates for the parent resource.
      * 
@@ -733,6 +811,8 @@ public com.google.cloud.certificatemanager.v1.Certificate getCertificates(int in } } /** + * + * *
      * A list of certificates for the parent resource.
      * 
@@ -754,6 +834,8 @@ public Builder setCertificates( return this; } /** + * + * *
      * A list of certificates for the parent resource.
      * 
@@ -772,6 +854,8 @@ public Builder setCertificates( return this; } /** + * + * *
      * A list of certificates for the parent resource.
      * 
@@ -792,6 +876,8 @@ public Builder addCertificates(com.google.cloud.certificatemanager.v1.Certificat return this; } /** + * + * *
      * A list of certificates for the parent resource.
      * 
@@ -813,6 +899,8 @@ public Builder addCertificates( return this; } /** + * + * *
      * A list of certificates for the parent resource.
      * 
@@ -831,6 +919,8 @@ public Builder addCertificates( return this; } /** + * + * *
      * A list of certificates for the parent resource.
      * 
@@ -849,6 +939,8 @@ public Builder addCertificates( return this; } /** + * + * *
      * A list of certificates for the parent resource.
      * 
@@ -859,8 +951,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); @@ -868,6 +959,8 @@ public Builder addAllCertificates( return this; } /** + * + * *
      * A list of certificates for the parent resource.
      * 
@@ -885,6 +978,8 @@ public Builder clearCertificates() { return this; } /** + * + * *
      * A list of certificates for the parent resource.
      * 
@@ -902,6 +997,8 @@ public Builder removeCertificates(int index) { return this; } /** + * + * *
      * A list of certificates for the parent resource.
      * 
@@ -913,6 +1010,8 @@ public com.google.cloud.certificatemanager.v1.Certificate.Builder getCertificate return getCertificatesFieldBuilder().getBuilder(index); } /** + * + * *
      * A list of certificates for the parent resource.
      * 
@@ -922,19 +1021,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 { @@ -942,6 +1044,8 @@ public com.google.cloud.certificatemanager.v1.CertificateOrBuilder getCertificat } } /** + * + * *
      * A list of certificates for the parent resource.
      * 
@@ -949,10 +1053,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.
      * 
@@ -961,30 +1067,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_; @@ -992,6 +1104,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
@@ -999,13 +1113,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; @@ -1014,6 +1128,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
@@ -1021,15 +1137,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 { @@ -1037,6 +1152,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
@@ -1044,20 +1161,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
@@ -1065,15 +1184,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
@@ -1081,57 +1203,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. */ @@ -1139,80 +1271,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() { @@ -1222,28 +1364,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); } @@ -1253,30 +1397,32 @@ 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 { - return new ListCertificatesResponse(input, extensionRegistry); - } - }; + 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 { + return new ListCertificatesResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1288,9 +1434,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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponseOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponseOrBuilder.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponseOrBuilder.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponseOrBuilder.java index f5fdc75..ef36a57 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListCertificatesResponseOrBuilder.java +++ b/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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequest.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequest.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequest.java index e08b527..8c0cd6b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequest.java +++ b/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,16 +46,15 @@ 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; } + private ListDnsAuthorizationsRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,42 +73,46 @@ private ListDnsAuthorizationsRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - parent_ = s; - break; - } - case 16: { + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - pageSize_ = input.readInt32(); - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); + parent_ = s; + break; + } + case 16: + { + pageSize_ = input.readInt32(); + break; + } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - pageToken_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); + pageToken_ = s; + break; + } + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - filter_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + filter_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - orderBy_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + orderBy_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -99,35 +120,42 @@ private ListDnsAuthorizationsRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -136,30 +164,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 { @@ -170,11 +200,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 @@ -185,6 +218,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
@@ -192,6 +227,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -200,14 +236,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
@@ -215,16 +252,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 { @@ -235,11 +271,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 @@ -248,29 +287,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 { @@ -281,6 +320,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
@@ -288,6 +329,7 @@ public java.lang.String getFilter() {
    * 
* * string order_by = 5; + * * @return The orderBy. */ @java.lang.Override @@ -296,14 +338,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
@@ -311,16 +354,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 { @@ -329,6 +371,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -340,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -370,8 +412,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_); @@ -390,23 +431,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -434,134 +471,145 @@ 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() + // Construct using + // com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -579,14 +627,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 @@ -600,7 +650,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_; @@ -614,46 +665,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(); @@ -692,7 +748,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -704,19 +762,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; @@ -725,21 +787,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 { @@ -747,69 +812,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 @@ -817,30 +898,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; @@ -848,6 +935,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
@@ -855,13 +944,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; @@ -870,6 +959,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
@@ -877,15 +968,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 { @@ -893,6 +983,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
@@ -900,20 +992,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
@@ -921,15 +1015,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
@@ -937,16 +1034,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; @@ -954,18 +1051,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; @@ -974,20 +1073,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 { @@ -995,54 +1095,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; @@ -1050,6 +1157,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
@@ -1057,13 +1166,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; @@ -1072,6 +1181,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
@@ -1079,15 +1190,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 { @@ -1095,6 +1205,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
@@ -1102,20 +1214,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
@@ -1123,15 +1237,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
@@ -1139,23 +1256,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); } @@ -1165,30 +1282,32 @@ 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 { - return new ListDnsAuthorizationsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListDnsAuthorizationsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1200,9 +1319,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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequestOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequestOrBuilder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequestOrBuilder.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequestOrBuilder.java index 792ce0c..6fec350 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponse.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponse.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponse.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponse.java index cf83f88..cf50b11 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponse.java +++ b/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,16 +45,15 @@ 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; } + private ListDnsAuthorizationsResponse( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,37 +73,44 @@ private ListDnsAuthorizationsResponse( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - dnsAuthorizations_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + dnsAuthorizations_ = + new java.util.ArrayList< + com.google.cloud.certificatemanager.v1.DnsAuthorization>(); + mutable_bitField0_ |= 0x00000001; + } + dnsAuthorizations_.add( + input.readMessage( + com.google.cloud.certificatemanager.v1.DnsAuthorization.parser(), + extensionRegistry)); + break; } - dnsAuthorizations_.add( - input.readMessage(com.google.cloud.certificatemanager.v1.DnsAuthorization.parser(), extensionRegistry)); - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - nextPageToken_ = s; - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - if (!((mutable_bitField0_ & 0x00000002) != 0)) { - unreachable_ = new com.google.protobuf.LazyStringArrayList(); - mutable_bitField0_ |= 0x00000002; + nextPageToken_ = s; + break; } - unreachable_.add(s); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); + if (!((mutable_bitField0_ & 0x00000002) != 0)) { + unreachable_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000002; + } + unreachable_.add(s); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -94,8 +118,7 @@ private ListDnsAuthorizationsResponse( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { dnsAuthorizations_ = java.util.Collections.unmodifiableList(dnsAuthorizations_); @@ -107,82 +130,104 @@ private ListDnsAuthorizationsResponse( makeExtensionsImmutable(); } } - 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
@@ -190,6 +235,7 @@ public com.google.cloud.certificatemanager.v1.DnsAuthorizationOrBuilder getDnsAu
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -198,14 +244,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
@@ -213,16 +260,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 { @@ -233,34 +279,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. */ @@ -268,20 +322,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; @@ -293,8 +350,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -314,8 +370,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_); @@ -336,19 +392,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -376,135 +430,147 @@ 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() + // Construct using + // com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getDnsAuthorizationsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -522,14 +588,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 @@ -543,7 +611,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)) { @@ -568,46 +637,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()) { @@ -626,9 +700,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_); } @@ -667,7 +742,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.certificatemanager.v1.ListDnsAuthorizationsResponse) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -676,28 +753,39 @@ public Builder mergeFrom( } 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 { @@ -705,11 +793,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) { @@ -719,11 +810,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) { @@ -733,11 +827,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) { @@ -754,14 +851,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()); @@ -772,13 +873,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(); @@ -792,11 +897,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) { @@ -813,11 +921,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) { @@ -831,14 +942,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()); @@ -849,18 +964,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); @@ -868,11 +986,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) { @@ -885,11 +1006,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) { @@ -902,39 +1026,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 { @@ -942,45 +1077,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(), @@ -992,6 +1144,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
@@ -999,13 +1153,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; @@ -1014,6 +1168,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
@@ -1021,15 +1177,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 { @@ -1037,6 +1192,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
@@ -1044,20 +1201,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
@@ -1065,15 +1224,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
@@ -1081,57 +1243,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. */ @@ -1139,80 +1311,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() { @@ -1222,28 +1404,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); } @@ -1253,30 +1437,32 @@ 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 { - return new ListDnsAuthorizationsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListDnsAuthorizationsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1288,9 +1474,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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponseOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponseOrBuilder.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponseOrBuilder.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponseOrBuilder.java index 66639da..8d9973a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ListDnsAuthorizationsResponseOrBuilder.java +++ b/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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/LocationName.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/LocationName.java similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/LocationName.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/LocationName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadata.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadata.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadata.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadata.java index 0b74af0..855a21f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadata.java +++ b/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,16 +46,15 @@ private OperationMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new OperationMetadata(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private OperationMetadata( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,68 +73,76 @@ private OperationMetadata( case 0: done = true; break; - case 10: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (createTime_ != null) { - subBuilder = createTime_.toBuilder(); + case 10: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (createTime_ != null) { + subBuilder = createTime_.toBuilder(); + } + createTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(createTime_); + createTime_ = subBuilder.buildPartial(); + } + + break; } - createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(createTime_); - createTime_ = subBuilder.buildPartial(); + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } + + break; } + case 26: + { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); + target_ = s; + break; } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - - break; - } - case 26: { - java.lang.String s = input.readStringRequireUtf8(); - - target_ = s; - break; - } - case 34: { - java.lang.String s = input.readStringRequireUtf8(); - - verb_ = s; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + case 34: + { + java.lang.String s = input.readStringRequireUtf8(); - statusMessage_ = s; - break; - } - case 48: { + verb_ = s; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - requestedCancellation_ = input.readBool(); - break; - } - case 58: { - java.lang.String s = input.readStringRequireUtf8(); + statusMessage_ = s; + break; + } + case 48: + { + requestedCancellation_ = input.readBool(); + break; + } + case 58: + { + java.lang.String s = input.readStringRequireUtf8(); - apiVersion_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + apiVersion_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -125,34 +150,39 @@ private OperationMetadata( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -160,11 +190,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 @@ -172,6 +205,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time the operation was created.
    * 
@@ -186,11 +221,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 @@ -198,11 +236,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 @@ -210,6 +251,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The time the operation finished running.
    * 
@@ -224,11 +267,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 @@ -237,29 +283,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 { @@ -270,11 +316,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 @@ -283,29 +332,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 { @@ -316,11 +365,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 @@ -329,29 +381,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 { @@ -362,6 +414,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
@@ -370,6 +424,7 @@ public java.lang.String getStatusMessage() {
    * 
* * bool requested_cancellation = 6; + * * @return The requestedCancellation. */ @java.lang.Override @@ -380,11 +435,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 @@ -393,29 +451,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 { @@ -424,6 +482,7 @@ public java.lang.String getApiVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -435,8 +494,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -468,12 +526,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_); @@ -485,8 +541,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_); @@ -499,33 +554,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -552,8 +601,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) + unknownFields.hashCode(); @@ -562,117 +610,127 @@ 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() @@ -680,16 +738,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -719,9 +776,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 @@ -740,7 +797,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 { @@ -764,38 +822,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; @@ -803,7 +862,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()); } @@ -848,7 +908,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.certificatemanager.v1.OperationMetadata) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.certificatemanager.v1.OperationMetadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -860,34 +921,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.
      * 
@@ -908,14 +982,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(); @@ -926,6 +1001,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -936,7 +1013,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; } @@ -948,6 +1025,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -966,6 +1045,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The time the operation was created.
      * 
@@ -973,11 +1054,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.
      * 
@@ -988,11 +1071,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.
      * 
@@ -1000,14 +1086,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_; @@ -1015,24 +1104,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() { @@ -1043,6 +1141,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1063,14 +1163,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(); @@ -1081,6 +1182,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1091,7 +1194,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; } @@ -1103,6 +1206,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1121,6 +1226,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * The time the operation finished running.
      * 
@@ -1128,11 +1235,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.
      * 
@@ -1143,11 +1252,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.
      * 
@@ -1155,14 +1265,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_; @@ -1170,18 +1283,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; @@ -1190,20 +1305,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 { @@ -1211,54 +1327,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; @@ -1266,18 +1389,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; @@ -1286,20 +1411,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 { @@ -1307,54 +1433,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; @@ -1362,18 +1495,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; @@ -1382,20 +1517,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 { @@ -1403,61 +1539,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
@@ -1466,6 +1611,7 @@ public Builder setStatusMessageBytes(
      * 
* * bool requested_cancellation = 6; + * * @return The requestedCancellation. */ @java.lang.Override @@ -1473,6 +1619,8 @@ public boolean getRequestedCancellation() { return requestedCancellation_; } /** + * + * *
      * Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1481,16 +1629,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
@@ -1499,10 +1650,11 @@ public Builder setRequestedCancellation(boolean value) {
      * 
* * bool requested_cancellation = 6; + * * @return This builder for chaining. */ public Builder clearRequestedCancellation() { - + requestedCancellation_ = false; onChanged(); return this; @@ -1510,18 +1662,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; @@ -1530,20 +1684,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 { @@ -1551,61 +1706,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); } @@ -1615,12 +1777,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(); } @@ -1629,16 +1791,16 @@ 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 { - return new OperationMetadata(input, extensionRegistry); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OperationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OperationMetadata(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1653,6 +1815,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.certificatemanager.v1.OperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadataOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadataOrBuilder.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadataOrBuilder.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadataOrBuilder.java index 700b847..a4039e6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/OperationMetadataOrBuilder.java +++ b/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
@@ -130,27 +179,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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ServingState.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ServingState.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ServingState.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ServingState.java index 61fbe1d..9037a15 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/ServingState.java +++ b/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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequest.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequest.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequest.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequest.java index cbb92d3..c89e727 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequest.java +++ b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequest.java @@ -1,39 +1,56 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } + private UpdateCertificateMapEntryRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +69,45 @@ private UpdateCertificateMapEntryRequest( case 0: done = true; break; - case 10: { - com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder subBuilder = null; - if (certificateMapEntry_ != null) { - subBuilder = certificateMapEntry_.toBuilder(); - } - certificateMapEntry_ = input.readMessage(com.google.cloud.certificatemanager.v1.CertificateMapEntry.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(certificateMapEntry_); - certificateMapEntry_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.certificatemanager.v1.CertificateMapEntry.Builder subBuilder = null; + if (certificateMapEntry_ != null) { + subBuilder = certificateMapEntry_.toBuilder(); + } + certificateMapEntry_ = + input.readMessage( + com.google.cloud.certificatemanager.v1.CertificateMapEntry.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(certificateMapEntry_); + certificateMapEntry_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +115,41 @@ private UpdateCertificateMapEntryRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -127,39 +157,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 @@ -167,13 +213,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 @@ -181,13 +231,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() { @@ -195,6 +248,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +260,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -224,12 +277,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -239,22 +290,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -281,134 +331,146 @@ 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() + // Construct using + // com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -428,19 +490,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); } @@ -449,7 +514,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 { @@ -468,46 +534,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()); } @@ -533,7 +605,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.certificatemanager.v1.UpdateCertificateMapEntryRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,41 +619,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(); @@ -593,11 +687,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) { @@ -611,17 +709,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; } @@ -633,11 +739,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) { @@ -651,48 +761,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_; @@ -700,45 +828,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) { @@ -754,16 +898,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(); @@ -774,19 +920,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; } @@ -798,13 +947,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) { @@ -818,61 +970,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); } @@ -882,30 +1047,33 @@ 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 { - return new UpdateCertificateMapEntryRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateCertificateMapEntryRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -917,9 +1085,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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequestOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequestOrBuilder.java similarity index 59% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequestOrBuilder.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequestOrBuilder.java index 2ebbfb7..8276f48 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapEntryRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequest.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequest.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequest.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequest.java index 36af60a..5ef3685 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequest.java +++ b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } + private UpdateCertificateMapRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,45 @@ private UpdateCertificateMapRequest( case 0: done = true; break; - case 10: { - com.google.cloud.certificatemanager.v1.CertificateMap.Builder subBuilder = null; - if (certificateMap_ != null) { - subBuilder = certificateMap_.toBuilder(); - } - certificateMap_ = input.readMessage(com.google.cloud.certificatemanager.v1.CertificateMap.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(certificateMap_); - certificateMap_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.certificatemanager.v1.CertificateMap.Builder subBuilder = null; + if (certificateMap_ != null) { + subBuilder = certificateMap_.toBuilder(); + } + certificateMap_ = + input.readMessage( + com.google.cloud.certificatemanager.v1.CertificateMap.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(certificateMap_); + certificateMap_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +114,41 @@ private UpdateCertificateMapRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -127,39 +156,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 @@ -167,13 +212,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 @@ -181,13 +230,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() { @@ -195,6 +247,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +259,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -224,12 +276,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -239,22 +289,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -281,134 +330,145 @@ 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() + // Construct using + // com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -428,14 +488,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 @@ -449,7 +511,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 { @@ -468,46 +531,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()); } @@ -533,7 +601,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.certificatemanager.v1.UpdateCertificateMapRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,39 +615,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) { @@ -593,11 +682,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) { @@ -611,17 +704,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; } @@ -633,11 +733,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) { @@ -651,48 +755,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_; @@ -700,45 +822,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) { @@ -754,16 +892,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(); @@ -774,19 +914,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; } @@ -798,13 +941,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) { @@ -818,61 +964,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); } @@ -882,30 +1041,32 @@ 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 { - return new UpdateCertificateMapRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateCertificateMapRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -917,9 +1078,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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequestOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequestOrBuilder.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequestOrBuilder.java index 097d394..afd435e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateMapRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequest.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequest.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequest.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequest.java index 06cd2e0..ec066dc 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequest.java +++ b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } + private UpdateCertificateRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,45 @@ private UpdateCertificateRequest( case 0: done = true; break; - case 10: { - com.google.cloud.certificatemanager.v1.Certificate.Builder subBuilder = null; - if (certificate_ != null) { - subBuilder = certificate_.toBuilder(); - } - certificate_ = input.readMessage(com.google.cloud.certificatemanager.v1.Certificate.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(certificate_); - certificate_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.certificatemanager.v1.Certificate.Builder subBuilder = null; + if (certificate_ != null) { + subBuilder = certificate_.toBuilder(); + } + certificate_ = + input.readMessage( + com.google.cloud.certificatemanager.v1.Certificate.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(certificate_); + certificate_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +114,41 @@ private UpdateCertificateRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -127,23 +156,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() { @@ -153,13 +193,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 @@ -167,13 +211,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 @@ -181,13 +229,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() { @@ -195,6 +246,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +258,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -224,12 +275,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -239,22 +288,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -281,117 +329,127 @@ 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() @@ -399,16 +457,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -428,13 +485,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(); } @@ -449,7 +507,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 { @@ -468,46 +527,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()); } @@ -533,7 +596,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.certificatemanager.v1.UpdateCertificateRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.certificatemanager.v1.UpdateCertificateRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,39 +610,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) { @@ -593,11 +677,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) { @@ -611,17 +699,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; } @@ -633,11 +727,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) { @@ -651,48 +749,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_; @@ -700,45 +814,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) { @@ -754,16 +884,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(); @@ -774,19 +906,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; } @@ -798,13 +933,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) { @@ -818,61 +956,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); } @@ -882,30 +1033,32 @@ 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 { - return new UpdateCertificateRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateCertificateRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -917,9 +1070,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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequestOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequestOrBuilder.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequestOrBuilder.java index 9f93868..40983ec 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateCertificateRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequest.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequest.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequest.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequest.java index f6d09b8..67cee5d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequest.java +++ b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequest.java @@ -1,39 +1,55 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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; } + private UpdateDnsAuthorizationRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -52,39 +68,45 @@ private UpdateDnsAuthorizationRequest( case 0: done = true; break; - case 10: { - com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder subBuilder = null; - if (dnsAuthorization_ != null) { - subBuilder = dnsAuthorization_.toBuilder(); - } - dnsAuthorization_ = input.readMessage(com.google.cloud.certificatemanager.v1.DnsAuthorization.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(dnsAuthorization_); - dnsAuthorization_ = subBuilder.buildPartial(); - } + case 10: + { + com.google.cloud.certificatemanager.v1.DnsAuthorization.Builder subBuilder = null; + if (dnsAuthorization_ != null) { + subBuilder = dnsAuthorization_.toBuilder(); + } + dnsAuthorization_ = + input.readMessage( + com.google.cloud.certificatemanager.v1.DnsAuthorization.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(dnsAuthorization_); + dnsAuthorization_ = subBuilder.buildPartial(); + } - break; - } - case 18: { - com.google.protobuf.FieldMask.Builder subBuilder = null; - if (updateMask_ != null) { - subBuilder = updateMask_.toBuilder(); - } - updateMask_ = input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(updateMask_); - updateMask_ = subBuilder.buildPartial(); + break; } + case 18: + { + com.google.protobuf.FieldMask.Builder subBuilder = null; + if (updateMask_ != null) { + subBuilder = updateMask_.toBuilder(); + } + updateMask_ = + input.readMessage(com.google.protobuf.FieldMask.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(updateMask_); + updateMask_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -92,34 +114,41 @@ private UpdateDnsAuthorizationRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.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 @@ -127,39 +156,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 @@ -167,13 +212,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 @@ -181,13 +230,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() { @@ -195,6 +247,7 @@ public com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -206,8 +259,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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()); } @@ -224,12 +276,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -239,22 +289,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -281,134 +330,145 @@ 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() + // Construct using + // com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -428,14 +488,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 @@ -449,7 +511,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 { @@ -468,46 +531,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()); } @@ -533,7 +601,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.certificatemanager.v1.UpdateDnsAuthorizationRequest) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -545,41 +615,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(); @@ -593,11 +683,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) { @@ -611,17 +705,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; } @@ -633,11 +734,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) { @@ -651,48 +756,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_; @@ -700,45 +823,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) { @@ -754,16 +893,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(); @@ -774,19 +915,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; } @@ -798,13 +942,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) { @@ -818,61 +965,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); } @@ -882,30 +1042,32 @@ 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 { - return new UpdateDnsAuthorizationRequest(input, extensionRegistry); - } - }; + 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 { + return new UpdateDnsAuthorizationRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -917,9 +1079,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/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequestOrBuilder.java b/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequestOrBuilder.java similarity index 60% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequestOrBuilder.java rename to proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequestOrBuilder.java index ff81c77..7a82c9b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/java/com/google/cloud/certificatemanager/v1/UpdateDnsAuthorizationRequestOrBuilder.java +++ b/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/v1/proto-google-cloud-certificate-manager-v1/src/main/proto/google/cloud/certificatemanager/v1/certificate_manager.proto b/proto-google-cloud-certificate-manager-v1/src/main/proto/google/cloud/certificatemanager/v1/certificate_manager.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-certificate-manager-v1/src/main/proto/google/cloud/certificatemanager/v1/certificate_manager.proto rename to proto-google-cloud-certificate-manager-v1/src/main/proto/google/cloud/certificatemanager/v1/certificate_manager.proto diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider1.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider1.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetEndpoint.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetEndpoint.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/AsyncCreateCertificate.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/AsyncCreateCertificate.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/AsyncCreateCertificate.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/AsyncCreateCertificate.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/AsyncCreateCertificateLRO.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/AsyncCreateCertificateLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/AsyncCreateCertificateLRO.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/AsyncCreateCertificateLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificate.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificate.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificate.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificate.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateLocationnameCertificateString.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateLocationnameCertificateString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateLocationnameCertificateString.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateLocationnameCertificateString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateStringCertificateString.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateStringCertificateString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateStringCertificateString.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateStringCertificateString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/AsyncCreateCertificateMap.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/AsyncCreateCertificateMap.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/AsyncCreateCertificateMap.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/AsyncCreateCertificateMap.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/AsyncCreateCertificateMapLRO.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/AsyncCreateCertificateMapLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/AsyncCreateCertificateMapLRO.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/AsyncCreateCertificateMapLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMap.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMap.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMap.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMap.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapLocationnameCertificatemapString.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapLocationnameCertificatemapString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapLocationnameCertificatemapString.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapLocationnameCertificatemapString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapStringCertificatemapString.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapStringCertificatemapString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapStringCertificatemapString.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapStringCertificatemapString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/AsyncCreateCertificateMapEntry.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/AsyncCreateCertificateMapEntry.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/AsyncCreateCertificateMapEntry.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/AsyncCreateCertificateMapEntry.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/AsyncCreateCertificateMapEntryLRO.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/AsyncCreateCertificateMapEntryLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/AsyncCreateCertificateMapEntryLRO.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/AsyncCreateCertificateMapEntryLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntry.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntry.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntry.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntry.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryCertificatemapnameCertificatemapentryString.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryCertificatemapnameCertificatemapentryString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryCertificatemapnameCertificatemapentryString.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryCertificatemapnameCertificatemapentryString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryStringCertificatemapentryString.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryStringCertificatemapentryString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryStringCertificatemapentryString.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryStringCertificatemapentryString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/AsyncCreateDnsAuthorization.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/AsyncCreateDnsAuthorization.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/AsyncCreateDnsAuthorization.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/AsyncCreateDnsAuthorization.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/AsyncCreateDnsAuthorizationLRO.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/AsyncCreateDnsAuthorizationLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/AsyncCreateDnsAuthorizationLRO.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/AsyncCreateDnsAuthorizationLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorization.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorization.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorization.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorization.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationLocationnameDnsauthorizationString.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationLocationnameDnsauthorizationString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationLocationnameDnsauthorizationString.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationLocationnameDnsauthorizationString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationStringDnsauthorizationString.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationStringDnsauthorizationString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationStringDnsauthorizationString.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationStringDnsauthorizationString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/AsyncDeleteCertificate.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/AsyncDeleteCertificate.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/AsyncDeleteCertificate.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/AsyncDeleteCertificate.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/AsyncDeleteCertificateLRO.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/AsyncDeleteCertificateLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/AsyncDeleteCertificateLRO.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/AsyncDeleteCertificateLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificate.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificate.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificate.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificate.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateCertificatename.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateCertificatename.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateCertificatename.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateCertificatename.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateString.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateString.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/AsyncDeleteCertificateMap.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/AsyncDeleteCertificateMap.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/AsyncDeleteCertificateMap.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/AsyncDeleteCertificateMap.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/AsyncDeleteCertificateMapLRO.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/AsyncDeleteCertificateMapLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/AsyncDeleteCertificateMapLRO.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/AsyncDeleteCertificateMapLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMap.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMap.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMap.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMap.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapCertificatemapname.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapCertificatemapname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapCertificatemapname.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapCertificatemapname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapString.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapString.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/AsyncDeleteCertificateMapEntry.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/AsyncDeleteCertificateMapEntry.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/AsyncDeleteCertificateMapEntry.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/AsyncDeleteCertificateMapEntry.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/AsyncDeleteCertificateMapEntryLRO.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/AsyncDeleteCertificateMapEntryLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/AsyncDeleteCertificateMapEntryLRO.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/AsyncDeleteCertificateMapEntryLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntry.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntry.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntry.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntry.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryCertificatemapentryname.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryCertificatemapentryname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryCertificatemapentryname.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryCertificatemapentryname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryString.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryString.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/AsyncDeleteDnsAuthorization.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/AsyncDeleteDnsAuthorization.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/AsyncDeleteDnsAuthorization.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/AsyncDeleteDnsAuthorization.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/AsyncDeleteDnsAuthorizationLRO.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/AsyncDeleteDnsAuthorizationLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/AsyncDeleteDnsAuthorizationLRO.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/AsyncDeleteDnsAuthorizationLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorization.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorization.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorization.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorization.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationDnsauthorizationname.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationDnsauthorizationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationDnsauthorizationname.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationDnsauthorizationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationString.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationString.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/AsyncGetCertificate.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/AsyncGetCertificate.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/AsyncGetCertificate.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/AsyncGetCertificate.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificate.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificate.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificate.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificate.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificateCertificatename.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificateCertificatename.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificateCertificatename.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificateCertificatename.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificateString.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificateString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificateString.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificateString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/AsyncGetCertificateMap.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/AsyncGetCertificateMap.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/AsyncGetCertificateMap.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/AsyncGetCertificateMap.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMap.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMap.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMap.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMap.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMapCertificatemapname.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMapCertificatemapname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMapCertificatemapname.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMapCertificatemapname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMapString.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMapString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMapString.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMapString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/AsyncGetCertificateMapEntry.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/AsyncGetCertificateMapEntry.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/AsyncGetCertificateMapEntry.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/AsyncGetCertificateMapEntry.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntry.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntry.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntry.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntry.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryCertificatemapentryname.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryCertificatemapentryname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryCertificatemapentryname.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryCertificatemapentryname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryString.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryString.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/AsyncGetDnsAuthorization.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/AsyncGetDnsAuthorization.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/AsyncGetDnsAuthorization.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/AsyncGetDnsAuthorization.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorization.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorization.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorization.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorization.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorizationDnsauthorizationname.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorizationDnsauthorizationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorizationDnsauthorizationname.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorizationDnsauthorizationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorizationString.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorizationString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorizationString.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorizationString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/AsyncListCertificateMapEntries.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/AsyncListCertificateMapEntries.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/AsyncListCertificateMapEntries.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/AsyncListCertificateMapEntries.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/AsyncListCertificateMapEntriesPaged.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/AsyncListCertificateMapEntriesPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/AsyncListCertificateMapEntriesPaged.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/AsyncListCertificateMapEntriesPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntries.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntries.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntries.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntries.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesCertificatemapname.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesCertificatemapname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesCertificatemapname.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesCertificatemapname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesString.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesString.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/AsyncListCertificateMaps.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/AsyncListCertificateMaps.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/AsyncListCertificateMaps.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/AsyncListCertificateMaps.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/AsyncListCertificateMapsPaged.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/AsyncListCertificateMapsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/AsyncListCertificateMapsPaged.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/AsyncListCertificateMapsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMaps.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMaps.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMaps.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMaps.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMapsLocationname.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMapsLocationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMapsLocationname.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMapsLocationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMapsString.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMapsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMapsString.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMapsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/AsyncListCertificates.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/AsyncListCertificates.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/AsyncListCertificates.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/AsyncListCertificates.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/AsyncListCertificatesPaged.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/AsyncListCertificatesPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/AsyncListCertificatesPaged.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/AsyncListCertificatesPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificates.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificates.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificates.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificates.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificatesLocationname.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificatesLocationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificatesLocationname.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificatesLocationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificatesString.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificatesString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificatesString.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificatesString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/AsyncListDnsAuthorizations.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/AsyncListDnsAuthorizations.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/AsyncListDnsAuthorizations.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/AsyncListDnsAuthorizations.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/AsyncListDnsAuthorizationsPaged.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/AsyncListDnsAuthorizationsPaged.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/AsyncListDnsAuthorizationsPaged.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/AsyncListDnsAuthorizationsPaged.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizations.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizations.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizations.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizations.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsLocationname.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsLocationname.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsLocationname.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsLocationname.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsString.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsString.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsString.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsString.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/AsyncUpdateCertificate.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/AsyncUpdateCertificate.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/AsyncUpdateCertificate.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/AsyncUpdateCertificate.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/AsyncUpdateCertificateLRO.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/AsyncUpdateCertificateLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/AsyncUpdateCertificateLRO.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/AsyncUpdateCertificateLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/SyncUpdateCertificate.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/SyncUpdateCertificate.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/SyncUpdateCertificate.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/SyncUpdateCertificate.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/SyncUpdateCertificateCertificateFieldmask.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/SyncUpdateCertificateCertificateFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/SyncUpdateCertificateCertificateFieldmask.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/SyncUpdateCertificateCertificateFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/AsyncUpdateCertificateMap.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/AsyncUpdateCertificateMap.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/AsyncUpdateCertificateMap.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/AsyncUpdateCertificateMap.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/AsyncUpdateCertificateMapLRO.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/AsyncUpdateCertificateMapLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/AsyncUpdateCertificateMapLRO.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/AsyncUpdateCertificateMapLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/SyncUpdateCertificateMap.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/SyncUpdateCertificateMap.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/SyncUpdateCertificateMap.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/SyncUpdateCertificateMap.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/SyncUpdateCertificateMapCertificatemapFieldmask.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/SyncUpdateCertificateMapCertificatemapFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/SyncUpdateCertificateMapCertificatemapFieldmask.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/SyncUpdateCertificateMapCertificatemapFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/AsyncUpdateCertificateMapEntry.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/AsyncUpdateCertificateMapEntry.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/AsyncUpdateCertificateMapEntry.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/AsyncUpdateCertificateMapEntry.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/AsyncUpdateCertificateMapEntryLRO.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/AsyncUpdateCertificateMapEntryLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/AsyncUpdateCertificateMapEntryLRO.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/AsyncUpdateCertificateMapEntryLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/SyncUpdateCertificateMapEntry.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/SyncUpdateCertificateMapEntry.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/SyncUpdateCertificateMapEntry.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/SyncUpdateCertificateMapEntry.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/SyncUpdateCertificateMapEntryCertificatemapentryFieldmask.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/SyncUpdateCertificateMapEntryCertificatemapentryFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/SyncUpdateCertificateMapEntryCertificatemapentryFieldmask.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/SyncUpdateCertificateMapEntryCertificatemapentryFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/AsyncUpdateDnsAuthorization.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/AsyncUpdateDnsAuthorization.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/AsyncUpdateDnsAuthorization.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/AsyncUpdateDnsAuthorization.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/AsyncUpdateDnsAuthorizationLRO.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/AsyncUpdateDnsAuthorizationLRO.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/AsyncUpdateDnsAuthorizationLRO.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/AsyncUpdateDnsAuthorizationLRO.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/SyncUpdateDnsAuthorization.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/SyncUpdateDnsAuthorization.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/SyncUpdateDnsAuthorization.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/SyncUpdateDnsAuthorization.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/SyncUpdateDnsAuthorizationDnsauthorizationFieldmask.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/SyncUpdateDnsAuthorizationDnsauthorizationFieldmask.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/SyncUpdateDnsAuthorizationDnsauthorizationFieldmask.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/SyncUpdateDnsAuthorizationDnsauthorizationFieldmask.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagersettings/getcertificate/SyncGetCertificate.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagersettings/getcertificate/SyncGetCertificate.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagersettings/getcertificate/SyncGetCertificate.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagersettings/getcertificate/SyncGetCertificate.java diff --git a/owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/stub/certificatemanagerstubsettings/getcertificate/SyncGetCertificate.java b/samples/snippets/generated/com/google/cloud/certificatemanager/v1/stub/certificatemanagerstubsettings/getcertificate/SyncGetCertificate.java similarity index 100% rename from owl-bot-staging/v1/samples/snippets/generated/com/google/cloud/certificatemanager/v1/stub/certificatemanagerstubsettings/getcertificate/SyncGetCertificate.java rename to samples/snippets/generated/com/google/cloud/certificatemanager/v1/stub/certificatemanagerstubsettings/getcertificate/SyncGetCertificate.java