From 9af2ed53f63bd06e38e8393532e6268539692af6 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 28 Jun 2022 04:18:11 +0000 Subject: [PATCH] fix: update gapic-generator-java with mock service generation fixes (#54) - [ ] Regenerate this pull request now. 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 --- .../certificatemanager/v1/CertificateManagerClient.java | 2 ++ .../create/SyncCreateSetCredentialsProvider.java | 3 +-- .../create/SyncCreateSetCredentialsProvider1.java | 6 ++---- ...SyncCreateCertificateLocationnameCertificateString.java | 6 ++---- .../SyncCreateCertificateStringCertificateString.java | 6 ++---- ...eateCertificateMapLocationnameCertificatemapString.java | 6 ++---- ...SyncCreateCertificateMapStringCertificatemapString.java | 6 ++---- .../AsyncCreateCertificateMapEntryLRO.java | 6 ++---- ...apEntryCertificatemapnameCertificatemapentryString.java | 6 ++---- ...CertificateMapEntryStringCertificatemapentryString.java | 6 ++---- ...DnsAuthorizationLocationnameDnsauthorizationString.java | 6 ++---- ...CreateDnsAuthorizationStringDnsauthorizationString.java | 6 ++---- .../deletecertificate/SyncDeleteCertificate.java | 1 + .../SyncDeleteCertificateCertificatename.java | 7 +++---- .../deletecertificate/SyncDeleteCertificateString.java | 1 + .../deletecertificatemap/SyncDeleteCertificateMap.java | 1 + .../SyncDeleteCertificateMapCertificatemapname.java | 7 +++---- .../SyncDeleteCertificateMapString.java | 1 + .../AsyncDeleteCertificateMapEntryLRO.java | 6 ++---- .../SyncDeleteCertificateMapEntry.java | 1 + ...ncDeleteCertificateMapEntryCertificatemapentryname.java | 7 +++---- .../SyncDeleteCertificateMapEntryString.java | 7 +++---- .../deletednsauthorization/SyncDeleteDnsAuthorization.java | 1 + .../SyncDeleteDnsAuthorizationDnsauthorizationname.java | 7 +++---- .../SyncDeleteDnsAuthorizationString.java | 4 ++-- .../getcertificate/SyncGetCertificateCertificatename.java | 6 ++---- .../SyncGetCertificateMapCertificatemapname.java | 6 ++---- .../SyncGetCertificateMapEntryCertificatemapentryname.java | 6 ++---- .../SyncGetCertificateMapEntryString.java | 3 +-- .../SyncGetDnsAuthorizationDnsauthorizationname.java | 6 ++---- .../AsyncListCertificateMapEntriesPaged.java | 6 ++---- .../SyncListCertificateMapEntriesCertificatemapname.java | 6 ++---- .../SyncListCertificateMapEntriesString.java | 6 ++---- .../SyncListCertificateMapsLocationname.java | 6 ++---- .../listcertificates/SyncListCertificatesLocationname.java | 3 +-- .../AsyncListDnsAuthorizationsPaged.java | 3 +-- .../SyncListDnsAuthorizationsLocationname.java | 6 ++---- .../SyncListDnsAuthorizationsString.java | 3 +-- .../SyncUpdateCertificateCertificateFieldmask.java | 6 ++---- .../SyncUpdateCertificateMapCertificatemapFieldmask.java | 6 ++---- .../AsyncUpdateCertificateMapEntryLRO.java | 6 ++---- ...ateCertificateMapEntryCertificatemapentryFieldmask.java | 6 ++---- ...yncUpdateDnsAuthorizationDnsauthorizationFieldmask.java | 6 ++---- 43 files changed, 80 insertions(+), 132 deletions(-) diff --git a/java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerClient.java b/java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerClient.java index 2abf3105bbc9..0b39e2aeb052 100644 --- a/java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerClient.java +++ b/java-certificate-manager/google-cloud-certificate-manager/src/main/java/com/google/cloud/certificatemanager/v1/CertificateManagerClient.java @@ -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; @@ -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; } diff --git a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider.java index 558d330cd70e..0e9585cf06b4 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider1.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider1.java index f8e91299d630..df67f68475c0 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider1.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/create/SyncCreateSetCredentialsProvider1.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateLocationnameCertificateString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateLocationnameCertificateString.java index 0db8dce4c017..1bfd8354cf2c 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateLocationnameCertificateString.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateLocationnameCertificateString.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateStringCertificateString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateStringCertificateString.java index 9f3feb72fa2f..d2cda8d9dfa1 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateStringCertificateString.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificate/SyncCreateCertificateStringCertificateString.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapLocationnameCertificatemapString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapLocationnameCertificatemapString.java index bee91e3df63e..50ac8222d13b 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapLocationnameCertificatemapString.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapLocationnameCertificatemapString.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapStringCertificatemapString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapStringCertificatemapString.java index 2bdd96255204..2d27d6b0e68a 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapStringCertificatemapString.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemap/SyncCreateCertificateMapStringCertificatemapString.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/AsyncCreateCertificateMapEntryLRO.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/AsyncCreateCertificateMapEntryLRO.java index 7d89969aa99d..234063ec5990 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/AsyncCreateCertificateMapEntryLRO.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/AsyncCreateCertificateMapEntryLRO.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryCertificatemapnameCertificatemapentryString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryCertificatemapnameCertificatemapentryString.java index 549930b8481b..af695bd2a7f7 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryCertificatemapnameCertificatemapentryString.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryCertificatemapnameCertificatemapentryString.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryStringCertificatemapentryString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryStringCertificatemapentryString.java index 61c82f88cc87..bcd75e46c5cd 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryStringCertificatemapentryString.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/createcertificatemapentry/SyncCreateCertificateMapEntryStringCertificatemapentryString.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationLocationnameDnsauthorizationString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationLocationnameDnsauthorizationString.java index 47ba7f07b33c..47d298dd448d 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationLocationnameDnsauthorizationString.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationLocationnameDnsauthorizationString.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationStringDnsauthorizationString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationStringDnsauthorizationString.java index 954069d91253..2c0dc4e65f86 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationStringDnsauthorizationString.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/creatednsauthorization/SyncCreateDnsAuthorizationStringDnsauthorizationString.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificate.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificate.java index 778be331b728..d93cc36476c1 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificate.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificate.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateCertificatename.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateCertificatename.java index 251f49f02e82..1178762fb980 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateCertificatename.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateCertificatename.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateString.java index 53e57b4ee017..f8ccb7506350 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateString.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificate/SyncDeleteCertificateString.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMap.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMap.java index c30d206172fc..2acf9149d2f0 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMap.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMap.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapCertificatemapname.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapCertificatemapname.java index 78faeebca66f..219db6fedd5c 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapCertificatemapname.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapCertificatemapname.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapString.java index 61ef763a0c4d..7863a34b80dc 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapString.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemap/SyncDeleteCertificateMapString.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/AsyncDeleteCertificateMapEntryLRO.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/AsyncDeleteCertificateMapEntryLRO.java index 559f4896ab78..17b2c888ef4c 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/AsyncDeleteCertificateMapEntryLRO.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/AsyncDeleteCertificateMapEntryLRO.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntry.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntry.java index 5f288ed95c29..9cef3a58b3c9 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntry.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntry.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryCertificatemapentryname.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryCertificatemapentryname.java index b91e9f2fbd00..746f819716dd 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryCertificatemapentryname.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryCertificatemapentryname.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryString.java index 494048fe2bb6..063e36ccb83a 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryString.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletecertificatemapentry/SyncDeleteCertificateMapEntryString.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorization.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorization.java index 6732f72d6c57..ec13e365b7f8 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorization.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorization.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationDnsauthorizationname.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationDnsauthorizationname.java index 29803337f4f7..1462e2319600 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationDnsauthorizationname.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationDnsauthorizationname.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationString.java index 7eed663da661..e6a37ed5cbdc 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationString.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/deletednsauthorization/SyncDeleteDnsAuthorizationString.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificateCertificatename.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificateCertificatename.java index b9a8670f584f..a144ccfa838d 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificateCertificatename.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificate/SyncGetCertificateCertificatename.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMapCertificatemapname.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMapCertificatemapname.java index 5e832e45ac8d..faa764f67750 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMapCertificatemapname.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemap/SyncGetCertificateMapCertificatemapname.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryCertificatemapentryname.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryCertificatemapentryname.java index 634cc7c3d4b7..93b56540df0e 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryCertificatemapentryname.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryCertificatemapentryname.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryString.java index c926ee7ffa87..54087bbcc43d 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryString.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getcertificatemapentry/SyncGetCertificateMapEntryString.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorizationDnsauthorizationname.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorizationDnsauthorizationname.java index 577f1426ea86..9e5124213733 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorizationDnsauthorizationname.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/getdnsauthorization/SyncGetDnsAuthorizationDnsauthorizationname.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/AsyncListCertificateMapEntriesPaged.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/AsyncListCertificateMapEntriesPaged.java index 376f660db168..60be8cde5bed 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/AsyncListCertificateMapEntriesPaged.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/AsyncListCertificateMapEntriesPaged.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesCertificatemapname.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesCertificatemapname.java index da4caa1da9d6..3789eb515210 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesCertificatemapname.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesCertificatemapname.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesString.java index 360ea562685c..1f0292191e1f 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesString.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemapentries/SyncListCertificateMapEntriesString.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMapsLocationname.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMapsLocationname.java index 603fa8434f50..8f9780377ab4 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMapsLocationname.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificatemaps/SyncListCertificateMapsLocationname.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificatesLocationname.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificatesLocationname.java index 41f513de0976..48c0c97a0fd4 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificatesLocationname.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listcertificates/SyncListCertificatesLocationname.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/AsyncListDnsAuthorizationsPaged.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/AsyncListDnsAuthorizationsPaged.java index ea2429be09d6..dacdd19477e7 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/AsyncListDnsAuthorizationsPaged.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/AsyncListDnsAuthorizationsPaged.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsLocationname.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsLocationname.java index 7ede22f85f50..ecb863d521a4 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsLocationname.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsLocationname.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsString.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsString.java index 12ca6ea50421..478e883788d8 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsString.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/listdnsauthorizations/SyncListDnsAuthorizationsString.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/SyncUpdateCertificateCertificateFieldmask.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/SyncUpdateCertificateCertificateFieldmask.java index c7bdcd9016ae..fb730dbc0cd4 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/SyncUpdateCertificateCertificateFieldmask.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificate/SyncUpdateCertificateCertificateFieldmask.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/SyncUpdateCertificateMapCertificatemapFieldmask.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/SyncUpdateCertificateMapCertificatemapFieldmask.java index 18e6f61002ca..a5fdf73396cc 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/SyncUpdateCertificateMapCertificatemapFieldmask.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemap/SyncUpdateCertificateMapCertificatemapFieldmask.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/AsyncUpdateCertificateMapEntryLRO.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/AsyncUpdateCertificateMapEntryLRO.java index 9f55524c55e8..ef6f5dc5192c 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/AsyncUpdateCertificateMapEntryLRO.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/AsyncUpdateCertificateMapEntryLRO.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/SyncUpdateCertificateMapEntryCertificatemapentryFieldmask.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/SyncUpdateCertificateMapEntryCertificatemapentryFieldmask.java index 597e397b7d05..a84fdd76601b 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/SyncUpdateCertificateMapEntryCertificatemapentryFieldmask.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatecertificatemapentry/SyncUpdateCertificateMapEntryCertificatemapentryFieldmask.java @@ -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/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/SyncUpdateDnsAuthorizationDnsauthorizationFieldmask.java b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/SyncUpdateDnsAuthorizationDnsauthorizationFieldmask.java index bfc172a53c7c..11d884fc4c7f 100644 --- a/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/SyncUpdateDnsAuthorizationDnsauthorizationFieldmask.java +++ b/java-certificate-manager/samples/snippets/generated/com/google/cloud/certificatemanager/v1/certificatemanagerclient/updatednsauthorization/SyncUpdateDnsAuthorizationDnsauthorizationFieldmask.java @@ -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]