diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ApplicationsClient.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ApplicationsClient.java index 98936f3535da..e076fd18e447 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ApplicationsClient.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ApplicationsClient.java @@ -37,8 +37,11 @@ * calls that map to API methods. Sample code to get started: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ApplicationsClient applicationsClient = ApplicationsClient.create()) { * String name = "name3373707"; * Application response = applicationsClient.getApplication(name); @@ -74,8 +77,11 @@ *To customize credentials: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * ApplicationsSettings applicationsSettings = * ApplicationsSettings.newBuilder() * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) @@ -86,8 +92,11 @@ *To customize the endpoint: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * ApplicationsSettings applicationsSettings = * ApplicationsSettings.newBuilder().setEndpoint(myEndpoint).build(); * ApplicationsClient applicationsClient = ApplicationsClient.create(applicationsSettings); @@ -97,8 +106,11 @@ * the wire: * *{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * ApplicationsSettings applicationsSettings = * ApplicationsSettings.newBuilder() * .setTransportChannelProvider( @@ -190,8 +202,11 @@ public final OperationsClient getHttpJsonOperationsClient() { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ApplicationsClient applicationsClient = ApplicationsClient.create()) { * String name = "name3373707"; * Application response = applicationsClient.getApplication(name); @@ -213,8 +228,11 @@ public final Application getApplication(String name) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ApplicationsClient applicationsClient = ApplicationsClient.create()) { * GetApplicationRequest request = * GetApplicationRequest.newBuilder().setName("name3373707").build(); @@ -236,8 +254,11 @@ public final Application getApplication(GetApplicationRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ApplicationsClient applicationsClient = ApplicationsClient.create()) { * GetApplicationRequest request = * GetApplicationRequest.newBuilder().setName("name3373707").build(); @@ -268,8 +289,11 @@ public final UnaryCallablegetApplicationCal * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ApplicationsClient applicationsClient = ApplicationsClient.create()) { * CreateApplicationRequest request = * CreateApplicationRequest.newBuilder() @@ -303,8 +327,11 @@ public final OperationFuturecreateApplication * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ApplicationsClient applicationsClient = ApplicationsClient.create()) { * CreateApplicationRequest request = * CreateApplicationRequest.newBuilder() @@ -338,8 +365,11 @@ public final OperationFuturecreateApplication * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ApplicationsClient applicationsClient = ApplicationsClient.create()) { * CreateApplicationRequest request = * CreateApplicationRequest.newBuilder() @@ -370,8 +400,11 @@ public final UnaryCallablecreateApplicatio * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ApplicationsClient applicationsClient = ApplicationsClient.create()) { * UpdateApplicationRequest request = * UpdateApplicationRequest.newBuilder() @@ -405,8 +438,11 @@ public final OperationFutureupdateApplication * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ApplicationsClient applicationsClient = ApplicationsClient.create()) { * UpdateApplicationRequest request = * UpdateApplicationRequest.newBuilder() @@ -440,8 +476,11 @@ public final OperationFutureupdateApplication * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ApplicationsClient applicationsClient = ApplicationsClient.create()) { * UpdateApplicationRequest request = * UpdateApplicationRequest.newBuilder() @@ -473,8 +512,11 @@ public final UnaryCallableupdateApplicatio * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ApplicationsClient applicationsClient = ApplicationsClient.create()) { * RepairApplicationRequest request = * RepairApplicationRequest.newBuilder().setName("name3373707").build(); @@ -503,8 +545,11 @@ public final OperationFuturerepairApplication * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ApplicationsClient applicationsClient = ApplicationsClient.create()) { * RepairApplicationRequest request = * RepairApplicationRequest.newBuilder().setName("name3373707").build(); @@ -533,8 +578,11 @@ public final OperationFuturerepairApplication * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ApplicationsClient applicationsClient = ApplicationsClient.create()) { * RepairApplicationRequest request = * RepairApplicationRequest.newBuilder().setName("name3373707").build(); diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ApplicationsSettings.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ApplicationsSettings.java index e47a5f719fa5..7c8d82e8a7a9 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ApplicationsSettings.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ApplicationsSettings.java @@ -52,16 +52,16 @@ *For example, to set the total timeout of getApplication to 30 seconds: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * ApplicationsSettings.Builder applicationsSettingsBuilder = ApplicationsSettings.newBuilder(); * applicationsSettingsBuilder * .getApplicationSettings() * .setRetrySettings( - * applicationsSettingsBuilder - * .getApplicationSettings() - * .getRetrySettings() - * .toBuilder() + * applicationsSettingsBuilder.getApplicationSettings().getRetrySettings().toBuilder() * .setTotalTimeout(Duration.ofSeconds(30)) * .build()); * ApplicationsSettings applicationsSettings = applicationsSettingsBuilder.build(); diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedCertificatesClient.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedCertificatesClient.java index 2f032fe7d9fe..0d2f3bd727ae 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedCertificatesClient.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedCertificatesClient.java @@ -42,8 +42,11 @@ * calls that map to API methods. Sample code to get started: * *{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AuthorizedCertificatesClient authorizedCertificatesClient = * AuthorizedCertificatesClient.create()) { * GetAuthorizedCertificateRequest request = @@ -86,8 +89,11 @@ *To customize credentials: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * AuthorizedCertificatesSettings authorizedCertificatesSettings = * AuthorizedCertificatesSettings.newBuilder() * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) @@ -99,8 +105,11 @@ *To customize the endpoint: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * AuthorizedCertificatesSettings authorizedCertificatesSettings = * AuthorizedCertificatesSettings.newBuilder().setEndpoint(myEndpoint).build(); * AuthorizedCertificatesClient authorizedCertificatesClient = @@ -111,8 +120,11 @@ * the wire: * *{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * AuthorizedCertificatesSettings authorizedCertificatesSettings = * AuthorizedCertificatesSettings.newBuilder() * .setTransportChannelProvider( @@ -182,8 +194,11 @@ public AuthorizedCertificatesStub getStub() { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AuthorizedCertificatesClient authorizedCertificatesClient = * AuthorizedCertificatesClient.create()) { * ListAuthorizedCertificatesRequest request = @@ -215,8 +230,11 @@ public final ListAuthorizedCertificatesPagedResponse listAuthorizedCertificates( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AuthorizedCertificatesClient authorizedCertificatesClient = * AuthorizedCertificatesClient.create()) { * ListAuthorizedCertificatesRequest request = @@ -250,8 +268,11 @@ public final ListAuthorizedCertificatesPagedResponse listAuthorizedCertificates( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AuthorizedCertificatesClient authorizedCertificatesClient = * AuthorizedCertificatesClient.create()) { * ListAuthorizedCertificatesRequest request = @@ -289,8 +310,11 @@ public final ListAuthorizedCertificatesPagedResponse listAuthorizedCertificates( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AuthorizedCertificatesClient authorizedCertificatesClient = * AuthorizedCertificatesClient.create()) { * GetAuthorizedCertificateRequest request = @@ -318,8 +342,11 @@ public final AuthorizedCertificate getAuthorizedCertificate( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AuthorizedCertificatesClient authorizedCertificatesClient = * AuthorizedCertificatesClient.create()) { * GetAuthorizedCertificateRequest request = @@ -346,8 +373,11 @@ public final AuthorizedCertificate getAuthorizedCertificate( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AuthorizedCertificatesClient authorizedCertificatesClient = * AuthorizedCertificatesClient.create()) { * CreateAuthorizedCertificateRequest request = @@ -375,8 +405,11 @@ public final AuthorizedCertificate createAuthorizedCertificate( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AuthorizedCertificatesClient authorizedCertificatesClient = * AuthorizedCertificatesClient.create()) { * CreateAuthorizedCertificateRequest request = @@ -406,8 +439,11 @@ public final AuthorizedCertificate createAuthorizedCertificate( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AuthorizedCertificatesClient authorizedCertificatesClient = * AuthorizedCertificatesClient.create()) { * UpdateAuthorizedCertificateRequest request = @@ -439,8 +475,11 @@ public final AuthorizedCertificate updateAuthorizedCertificate( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AuthorizedCertificatesClient authorizedCertificatesClient = * AuthorizedCertificatesClient.create()) { * UpdateAuthorizedCertificateRequest request = @@ -468,8 +507,11 @@ public final AuthorizedCertificate updateAuthorizedCertificate( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AuthorizedCertificatesClient authorizedCertificatesClient = * AuthorizedCertificatesClient.create()) { * DeleteAuthorizedCertificateRequest request = @@ -492,8 +534,11 @@ public final void deleteAuthorizedCertificate(DeleteAuthorizedCertificateRequest *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AuthorizedCertificatesClient authorizedCertificatesClient = * AuthorizedCertificatesClient.create()) { * DeleteAuthorizedCertificateRequest request = diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedCertificatesSettings.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedCertificatesSettings.java index 42213f60991f..4d328f1c3f56 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedCertificatesSettings.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedCertificatesSettings.java @@ -54,8 +54,11 @@ *For example, to set the total timeout of getAuthorizedCertificate to 30 seconds: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * AuthorizedCertificatesSettings.Builder authorizedCertificatesSettingsBuilder = * AuthorizedCertificatesSettings.newBuilder(); * authorizedCertificatesSettingsBuilder diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedDomainsClient.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedDomainsClient.java index dea2e3282a6a..2b4c829248af 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedDomainsClient.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedDomainsClient.java @@ -42,8 +42,11 @@ * calls that map to API methods. Sample code to get started: * *{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AuthorizedDomainsClient authorizedDomainsClient = AuthorizedDomainsClient.create()) { * ListAuthorizedDomainsRequest request = * ListAuthorizedDomainsRequest.newBuilder() @@ -88,8 +91,11 @@ *To customize credentials: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * AuthorizedDomainsSettings authorizedDomainsSettings = * AuthorizedDomainsSettings.newBuilder() * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) @@ -101,8 +107,11 @@ *To customize the endpoint: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * AuthorizedDomainsSettings authorizedDomainsSettings = * AuthorizedDomainsSettings.newBuilder().setEndpoint(myEndpoint).build(); * AuthorizedDomainsClient authorizedDomainsClient = @@ -113,8 +122,11 @@ * the wire: * *{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * AuthorizedDomainsSettings authorizedDomainsSettings = * AuthorizedDomainsSettings.newBuilder() * .setTransportChannelProvider( @@ -183,8 +195,11 @@ public AuthorizedDomainsStub getStub() { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AuthorizedDomainsClient authorizedDomainsClient = AuthorizedDomainsClient.create()) { * ListAuthorizedDomainsRequest request = * ListAuthorizedDomainsRequest.newBuilder() @@ -214,8 +229,11 @@ public final ListAuthorizedDomainsPagedResponse listAuthorizedDomains( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AuthorizedDomainsClient authorizedDomainsClient = AuthorizedDomainsClient.create()) { * ListAuthorizedDomainsRequest request = * ListAuthorizedDomainsRequest.newBuilder() @@ -244,8 +262,11 @@ public final ListAuthorizedDomainsPagedResponse listAuthorizedDomains( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AuthorizedDomainsClient authorizedDomainsClient = AuthorizedDomainsClient.create()) { * ListAuthorizedDomainsRequest request = * ListAuthorizedDomainsRequest.newBuilder() diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedDomainsSettings.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedDomainsSettings.java index 762544736cf1..2f6f9131c08b 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedDomainsSettings.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/AuthorizedDomainsSettings.java @@ -53,8 +53,11 @@ *For example, to set the total timeout of listAuthorizedDomains to 30 seconds: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * AuthorizedDomainsSettings.Builder authorizedDomainsSettingsBuilder = * AuthorizedDomainsSettings.newBuilder(); * authorizedDomainsSettingsBuilder diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/DomainMappingsClient.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/DomainMappingsClient.java index 3ed91d0eeac5..f5e2e97c7497 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/DomainMappingsClient.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/DomainMappingsClient.java @@ -46,8 +46,11 @@ * calls that map to API methods. Sample code to get started: * *{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DomainMappingsClient domainMappingsClient = DomainMappingsClient.create()) { * GetDomainMappingRequest request = * GetDomainMappingRequest.newBuilder().setName("name3373707").build(); @@ -84,8 +87,11 @@ *To customize credentials: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * DomainMappingsSettings domainMappingsSettings = * DomainMappingsSettings.newBuilder() * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) @@ -96,8 +102,11 @@ *To customize the endpoint: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * DomainMappingsSettings domainMappingsSettings = * DomainMappingsSettings.newBuilder().setEndpoint(myEndpoint).build(); * DomainMappingsClient domainMappingsClient = DomainMappingsClient.create(domainMappingsSettings); @@ -107,8 +116,11 @@ * the wire: * *{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * DomainMappingsSettings domainMappingsSettings = * DomainMappingsSettings.newBuilder() * .setTransportChannelProvider( @@ -201,8 +213,11 @@ public final OperationsClient getHttpJsonOperationsClient() { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DomainMappingsClient domainMappingsClient = DomainMappingsClient.create()) { * ListDomainMappingsRequest request = * ListDomainMappingsRequest.newBuilder() @@ -231,8 +246,11 @@ public final ListDomainMappingsPagedResponse listDomainMappings( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DomainMappingsClient domainMappingsClient = DomainMappingsClient.create()) { * ListDomainMappingsRequest request = * ListDomainMappingsRequest.newBuilder() @@ -261,8 +279,11 @@ public final ListDomainMappingsPagedResponse listDomainMappings( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DomainMappingsClient domainMappingsClient = DomainMappingsClient.create()) { * ListDomainMappingsRequest request = * ListDomainMappingsRequest.newBuilder() @@ -298,8 +319,11 @@ public final ListDomainMappingsPagedResponse listDomainMappings( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DomainMappingsClient domainMappingsClient = DomainMappingsClient.create()) { * GetDomainMappingRequest request = * GetDomainMappingRequest.newBuilder().setName("name3373707").build(); @@ -321,8 +345,11 @@ public final DomainMapping getDomainMapping(GetDomainMappingRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DomainMappingsClient domainMappingsClient = DomainMappingsClient.create()) { * GetDomainMappingRequest request = * GetDomainMappingRequest.newBuilder().setName("name3373707").build(); @@ -346,8 +373,11 @@ public final UnaryCallablegetDomainMapp * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DomainMappingsClient domainMappingsClient = DomainMappingsClient.create()) { * CreateDomainMappingRequest request = * CreateDomainMappingRequest.newBuilder() @@ -376,8 +406,11 @@ public final OperationFuturecreateDomainMap * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DomainMappingsClient domainMappingsClient = DomainMappingsClient.create()) { * CreateDomainMappingRequest request = * CreateDomainMappingRequest.newBuilder() @@ -406,8 +439,11 @@ public final OperationFuturecreateDomainMap * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DomainMappingsClient domainMappingsClient = DomainMappingsClient.create()) { * CreateDomainMappingRequest request = * CreateDomainMappingRequest.newBuilder() @@ -435,8 +471,11 @@ public final UnaryCallablecreateDomainMa * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DomainMappingsClient domainMappingsClient = DomainMappingsClient.create()) { * UpdateDomainMappingRequest request = * UpdateDomainMappingRequest.newBuilder() @@ -465,8 +504,11 @@ public final OperationFutureupdateDomainMap * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DomainMappingsClient domainMappingsClient = DomainMappingsClient.create()) { * UpdateDomainMappingRequest request = * UpdateDomainMappingRequest.newBuilder() @@ -495,8 +537,11 @@ public final OperationFutureupdateDomainMap * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DomainMappingsClient domainMappingsClient = DomainMappingsClient.create()) { * UpdateDomainMappingRequest request = * UpdateDomainMappingRequest.newBuilder() @@ -523,8 +568,11 @@ public final UnaryCallableupdateDomainMa * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DomainMappingsClient domainMappingsClient = DomainMappingsClient.create()) { * DeleteDomainMappingRequest request = * DeleteDomainMappingRequest.newBuilder().setName("name3373707").build(); @@ -548,8 +596,11 @@ public final OperationFuturedeleteDomainMappingAsyn * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DomainMappingsClient domainMappingsClient = DomainMappingsClient.create()) { * DeleteDomainMappingRequest request = * DeleteDomainMappingRequest.newBuilder().setName("name3373707").build(); @@ -573,8 +624,11 @@ public final OperationFuturedeleteDomainMappingAsyn * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DomainMappingsClient domainMappingsClient = DomainMappingsClient.create()) { * DeleteDomainMappingRequest request = * DeleteDomainMappingRequest.newBuilder().setName("name3373707").build(); diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/DomainMappingsSettings.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/DomainMappingsSettings.java index b8e6265c2e9b..42e83e5fc263 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/DomainMappingsSettings.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/DomainMappingsSettings.java @@ -56,17 +56,17 @@ *For example, to set the total timeout of getDomainMapping to 30 seconds: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * DomainMappingsSettings.Builder domainMappingsSettingsBuilder = * DomainMappingsSettings.newBuilder(); * domainMappingsSettingsBuilder * .getDomainMappingSettings() * .setRetrySettings( - * domainMappingsSettingsBuilder - * .getDomainMappingSettings() - * .getRetrySettings() - * .toBuilder() + * domainMappingsSettingsBuilder.getDomainMappingSettings().getRetrySettings().toBuilder() * .setTotalTimeout(Duration.ofSeconds(30)) * .build()); * DomainMappingsSettings domainMappingsSettings = domainMappingsSettingsBuilder.build(); diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/FirewallClient.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/FirewallClient.java index 05317b9cdf8a..c6d28fd703ed 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/FirewallClient.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/FirewallClient.java @@ -50,8 +50,11 @@ * calls that map to API methods. Sample code to get started: * *{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FirewallClient firewallClient = FirewallClient.create()) { * BatchUpdateIngressRulesRequest request = * BatchUpdateIngressRulesRequest.newBuilder() @@ -91,8 +94,11 @@ *To customize credentials: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * FirewallSettings firewallSettings = * FirewallSettings.newBuilder() * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) @@ -103,8 +109,11 @@ *To customize the endpoint: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * FirewallSettings firewallSettings = * FirewallSettings.newBuilder().setEndpoint(myEndpoint).build(); * FirewallClient firewallClient = FirewallClient.create(firewallSettings); @@ -114,8 +123,11 @@ * the wire: * *{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * FirewallSettings firewallSettings = * FirewallSettings.newBuilder() * .setTransportChannelProvider( @@ -181,8 +193,11 @@ public FirewallStub getStub() { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FirewallClient firewallClient = FirewallClient.create()) { * ListIngressRulesRequest request = * ListIngressRulesRequest.newBuilder() @@ -211,8 +226,11 @@ public final ListIngressRulesPagedResponse listIngressRules(ListIngressRulesRequ *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FirewallClient firewallClient = FirewallClient.create()) { * ListIngressRulesRequest request = * ListIngressRulesRequest.newBuilder() @@ -242,8 +260,11 @@ public final ListIngressRulesPagedResponse listIngressRules(ListIngressRulesRequ *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FirewallClient firewallClient = FirewallClient.create()) { * ListIngressRulesRequest request = * ListIngressRulesRequest.newBuilder() @@ -283,8 +304,11 @@ public final ListIngressRulesPagedResponse listIngressRules(ListIngressRulesRequ *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FirewallClient firewallClient = FirewallClient.create()) { * BatchUpdateIngressRulesRequest request = * BatchUpdateIngressRulesRequest.newBuilder() @@ -314,8 +338,11 @@ public final BatchUpdateIngressRulesResponse batchUpdateIngressRules( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FirewallClient firewallClient = FirewallClient.create()) { * BatchUpdateIngressRulesRequest request = * BatchUpdateIngressRulesRequest.newBuilder() @@ -341,8 +368,11 @@ public final BatchUpdateIngressRulesResponse batchUpdateIngressRules( *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FirewallClient firewallClient = FirewallClient.create()) { * CreateIngressRuleRequest request = * CreateIngressRuleRequest.newBuilder() @@ -367,8 +397,11 @@ public final FirewallRule createIngressRule(CreateIngressRuleRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FirewallClient firewallClient = FirewallClient.create()) { * CreateIngressRuleRequest request = * CreateIngressRuleRequest.newBuilder() @@ -393,8 +426,11 @@ public final UnaryCallablecreateIngress * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FirewallClient firewallClient = FirewallClient.create()) { * GetIngressRuleRequest request = * GetIngressRuleRequest.newBuilder().setName("name3373707").build(); @@ -416,8 +452,11 @@ public final FirewallRule getIngressRule(GetIngressRuleRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FirewallClient firewallClient = FirewallClient.create()) { * GetIngressRuleRequest request = * GetIngressRuleRequest.newBuilder().setName("name3373707").build(); @@ -438,8 +477,11 @@ public final UnaryCallablegetIngressRuleCa * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FirewallClient firewallClient = FirewallClient.create()) { * UpdateIngressRuleRequest request = * UpdateIngressRuleRequest.newBuilder() @@ -465,8 +507,11 @@ public final FirewallRule updateIngressRule(UpdateIngressRuleRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FirewallClient firewallClient = FirewallClient.create()) { * UpdateIngressRuleRequest request = * UpdateIngressRuleRequest.newBuilder() @@ -492,8 +537,11 @@ public final UnaryCallableupdateIngress * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FirewallClient firewallClient = FirewallClient.create()) { * DeleteIngressRuleRequest request = * DeleteIngressRuleRequest.newBuilder().setName("name3373707").build(); @@ -515,8 +563,11 @@ public final void deleteIngressRule(DeleteIngressRuleRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FirewallClient firewallClient = FirewallClient.create()) { * DeleteIngressRuleRequest request = * DeleteIngressRuleRequest.newBuilder().setName("name3373707").build(); diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/FirewallSettings.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/FirewallSettings.java index cf6191be100c..97586d3c3649 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/FirewallSettings.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/FirewallSettings.java @@ -55,16 +55,16 @@ *For example, to set the total timeout of batchUpdateIngressRules to 30 seconds: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * FirewallSettings.Builder firewallSettingsBuilder = FirewallSettings.newBuilder(); * firewallSettingsBuilder * .batchUpdateIngressRulesSettings() * .setRetrySettings( - * firewallSettingsBuilder - * .batchUpdateIngressRulesSettings() - * .getRetrySettings() - * .toBuilder() + * firewallSettingsBuilder.batchUpdateIngressRulesSettings().getRetrySettings().toBuilder() * .setTotalTimeout(Duration.ofSeconds(30)) * .build()); * FirewallSettings firewallSettings = firewallSettingsBuilder.build(); diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/InstancesClient.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/InstancesClient.java index 53c0aa810dfa..752f0f3f8503 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/InstancesClient.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/InstancesClient.java @@ -46,8 +46,11 @@ * calls that map to API methods. Sample code to get started: * *{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (InstancesClient instancesClient = InstancesClient.create()) { * GetInstanceRequest request = GetInstanceRequest.newBuilder().setName("name3373707").build(); * Instance response = instancesClient.getInstance(request); @@ -83,8 +86,11 @@ *To customize credentials: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * InstancesSettings instancesSettings = * InstancesSettings.newBuilder() * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) @@ -95,8 +101,11 @@ *To customize the endpoint: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * InstancesSettings instancesSettings = * InstancesSettings.newBuilder().setEndpoint(myEndpoint).build(); * InstancesClient instancesClient = InstancesClient.create(instancesSettings); @@ -106,8 +115,11 @@ * the wire: * *{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * InstancesSettings instancesSettings = * InstancesSettings.newBuilder() * .setTransportChannelProvider( @@ -201,8 +213,11 @@ public final OperationsClient getHttpJsonOperationsClient() { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (InstancesClient instancesClient = InstancesClient.create()) { * ListInstancesRequest request = * ListInstancesRequest.newBuilder() @@ -233,8 +248,11 @@ public final ListInstancesPagedResponse listInstances(ListInstancesRequest reque *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (InstancesClient instancesClient = InstancesClient.create()) { * ListInstancesRequest request = * ListInstancesRequest.newBuilder() @@ -265,8 +283,11 @@ public final ListInstancesPagedResponse listInstances(ListInstancesRequest reque *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (InstancesClient instancesClient = InstancesClient.create()) { * ListInstancesRequest request = * ListInstancesRequest.newBuilder() @@ -300,8 +321,11 @@ public final UnaryCallablelistInst * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (InstancesClient instancesClient = InstancesClient.create()) { * GetInstanceRequest request = GetInstanceRequest.newBuilder().setName("name3373707").build(); * Instance response = instancesClient.getInstance(request); @@ -322,8 +346,11 @@ public final Instance getInstance(GetInstanceRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (InstancesClient instancesClient = InstancesClient.create()) { * GetInstanceRequest request = GetInstanceRequest.newBuilder().setName("name3373707").build(); * ApiFuturefuture = instancesClient.getInstanceCallable().futureCall(request); @@ -355,8 +382,11 @@ public final UnaryCallable getInstanceCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (InstancesClient instancesClient = InstancesClient.create()) { * DeleteInstanceRequest request = * DeleteInstanceRequest.newBuilder().setName("name3373707").build(); @@ -391,8 +421,11 @@ public final OperationFuturedeleteInstanceAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (InstancesClient instancesClient = InstancesClient.create()) { * DeleteInstanceRequest request = * DeleteInstanceRequest.newBuilder().setName("name3373707").build(); @@ -427,8 +460,11 @@ public final OperationFuturedeleteInstanceAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (InstancesClient instancesClient = InstancesClient.create()) { * DeleteInstanceRequest request = * DeleteInstanceRequest.newBuilder().setName("name3373707").build(); @@ -454,8 +490,11 @@ public final UnaryCallabledeleteInstanceCalla * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (InstancesClient instancesClient = InstancesClient.create()) { * DebugInstanceRequest request = * DebugInstanceRequest.newBuilder() @@ -486,8 +525,11 @@ public final OperationFuturedebugInstanceAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (InstancesClient instancesClient = InstancesClient.create()) { * DebugInstanceRequest request = * DebugInstanceRequest.newBuilder() @@ -518,8 +560,11 @@ public final OperationFuturedebugInstanceAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (InstancesClient instancesClient = InstancesClient.create()) { * DebugInstanceRequest request = * DebugInstanceRequest.newBuilder() diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/InstancesSettings.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/InstancesSettings.java index 4c0c3f03561d..0b81a64f21fb 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/InstancesSettings.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/InstancesSettings.java @@ -56,16 +56,16 @@ *For example, to set the total timeout of getInstance to 30 seconds: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * InstancesSettings.Builder instancesSettingsBuilder = InstancesSettings.newBuilder(); * instancesSettingsBuilder * .getInstanceSettings() * .setRetrySettings( - * instancesSettingsBuilder - * .getInstanceSettings() - * .getRetrySettings() - * .toBuilder() + * instancesSettingsBuilder.getInstanceSettings().getRetrySettings().toBuilder() * .setTotalTimeout(Duration.ofSeconds(30)) * .build()); * InstancesSettings instancesSettings = instancesSettingsBuilder.build(); diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ServicesClient.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ServicesClient.java index ccbf0f8b7752..8ae3bd621fbf 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ServicesClient.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ServicesClient.java @@ -46,8 +46,11 @@ * calls that map to API methods. Sample code to get started: * *{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ServicesClient servicesClient = ServicesClient.create()) { * GetServiceRequest request = GetServiceRequest.newBuilder().setName("name3373707").build(); * Service response = servicesClient.getService(request); @@ -83,8 +86,11 @@ *To customize credentials: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * ServicesSettings servicesSettings = * ServicesSettings.newBuilder() * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) @@ -95,8 +101,11 @@ *To customize the endpoint: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * ServicesSettings servicesSettings = * ServicesSettings.newBuilder().setEndpoint(myEndpoint).build(); * ServicesClient servicesClient = ServicesClient.create(servicesSettings); @@ -106,8 +115,11 @@ * the wire: * *{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * ServicesSettings servicesSettings = * ServicesSettings.newBuilder() * .setTransportChannelProvider( @@ -198,8 +210,11 @@ public final OperationsClient getHttpJsonOperationsClient() { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ServicesClient servicesClient = ServicesClient.create()) { * ListServicesRequest request = * ListServicesRequest.newBuilder() @@ -227,8 +242,11 @@ public final ListServicesPagedResponse listServices(ListServicesRequest request) *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ServicesClient servicesClient = ServicesClient.create()) { * ListServicesRequest request = * ListServicesRequest.newBuilder() @@ -256,8 +274,11 @@ public final ListServicesPagedResponse listServices(ListServicesRequest request) *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ServicesClient servicesClient = ServicesClient.create()) { * ListServicesRequest request = * ListServicesRequest.newBuilder() @@ -291,8 +312,11 @@ public final UnaryCallablelistServic * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ServicesClient servicesClient = ServicesClient.create()) { * GetServiceRequest request = GetServiceRequest.newBuilder().setName("name3373707").build(); * Service response = servicesClient.getService(request); @@ -313,8 +337,11 @@ public final Service getService(GetServiceRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ServicesClient servicesClient = ServicesClient.create()) { * GetServiceRequest request = GetServiceRequest.newBuilder().setName("name3373707").build(); * ApiFuturefuture = servicesClient.getServiceCallable().futureCall(request); @@ -334,8 +361,11 @@ public final UnaryCallable getServiceCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ServicesClient servicesClient = ServicesClient.create()) { * UpdateServiceRequest request = * UpdateServiceRequest.newBuilder() @@ -363,8 +393,11 @@ public final OperationFutureupdateServiceAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ServicesClient servicesClient = ServicesClient.create()) { * UpdateServiceRequest request = * UpdateServiceRequest.newBuilder() @@ -392,8 +425,11 @@ public final OperationFutureupdateServiceAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ServicesClient servicesClient = ServicesClient.create()) { * UpdateServiceRequest request = * UpdateServiceRequest.newBuilder() @@ -419,8 +455,11 @@ public final UnaryCallableupdateServiceCallabl * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ServicesClient servicesClient = ServicesClient.create()) { * DeleteServiceRequest request = * DeleteServiceRequest.newBuilder().setName("name3373707").build(); @@ -443,8 +482,11 @@ public final OperationFuturedeleteServiceAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ServicesClient servicesClient = ServicesClient.create()) { * DeleteServiceRequest request = * DeleteServiceRequest.newBuilder().setName("name3373707").build(); @@ -467,8 +509,11 @@ public final OperationFuturedeleteServiceAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ServicesClient servicesClient = ServicesClient.create()) { * DeleteServiceRequest request = * DeleteServiceRequest.newBuilder().setName("name3373707").build(); diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ServicesSettings.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ServicesSettings.java index f6223acf95ca..fa530eb5cc90 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ServicesSettings.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/ServicesSettings.java @@ -56,16 +56,16 @@ *For example, to set the total timeout of getService to 30 seconds: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * ServicesSettings.Builder servicesSettingsBuilder = ServicesSettings.newBuilder(); * servicesSettingsBuilder * .getServiceSettings() * .setRetrySettings( - * servicesSettingsBuilder - * .getServiceSettings() - * .getRetrySettings() - * .toBuilder() + * servicesSettingsBuilder.getServiceSettings().getRetrySettings().toBuilder() * .setTotalTimeout(Duration.ofSeconds(30)) * .build()); * ServicesSettings servicesSettings = servicesSettingsBuilder.build(); diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/VersionsClient.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/VersionsClient.java index 05977fc70a8a..1e41abd4c0c3 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/VersionsClient.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/VersionsClient.java @@ -46,8 +46,11 @@ * calls that map to API methods. Sample code to get started: * *{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (VersionsClient versionsClient = VersionsClient.create()) { * GetVersionRequest request = * GetVersionRequest.newBuilder() @@ -87,8 +90,11 @@ *To customize credentials: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * VersionsSettings versionsSettings = * VersionsSettings.newBuilder() * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) @@ -99,8 +105,11 @@ *To customize the endpoint: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * VersionsSettings versionsSettings = * VersionsSettings.newBuilder().setEndpoint(myEndpoint).build(); * VersionsClient versionsClient = VersionsClient.create(versionsSettings); @@ -110,8 +119,11 @@ * the wire: * *{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * VersionsSettings versionsSettings = * VersionsSettings.newBuilder() * .setTransportChannelProvider( @@ -202,8 +214,11 @@ public final OperationsClient getHttpJsonOperationsClient() { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (VersionsClient versionsClient = VersionsClient.create()) { * ListVersionsRequest request = * ListVersionsRequest.newBuilder() @@ -232,8 +247,11 @@ public final ListVersionsPagedResponse listVersions(ListVersionsRequest request) *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (VersionsClient versionsClient = VersionsClient.create()) { * ListVersionsRequest request = * ListVersionsRequest.newBuilder() @@ -262,8 +280,11 @@ public final ListVersionsPagedResponse listVersions(ListVersionsRequest request) *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (VersionsClient versionsClient = VersionsClient.create()) { * ListVersionsRequest request = * ListVersionsRequest.newBuilder() @@ -299,8 +320,11 @@ public final UnaryCallablelistVersio * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (VersionsClient versionsClient = VersionsClient.create()) { * GetVersionRequest request = * GetVersionRequest.newBuilder() @@ -326,8 +350,11 @@ public final Version getVersion(GetVersionRequest request) { *Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (VersionsClient versionsClient = VersionsClient.create()) { * GetVersionRequest request = * GetVersionRequest.newBuilder() @@ -351,8 +378,11 @@ public final UnaryCallablegetVersionCallable() { * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (VersionsClient versionsClient = VersionsClient.create()) { * CreateVersionRequest request = * CreateVersionRequest.newBuilder() @@ -378,8 +408,11 @@ public final OperationFuturecreateVersionAsyn * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (VersionsClient versionsClient = VersionsClient.create()) { * CreateVersionRequest request = * CreateVersionRequest.newBuilder() @@ -405,8 +438,11 @@ public final OperationFuturecreateVersionAsyn * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (VersionsClient versionsClient = VersionsClient.create()) { * CreateVersionRequest request = * CreateVersionRequest.newBuilder() @@ -476,8 +512,11 @@ public final UnaryCallablecreateVersionCallabl * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (VersionsClient versionsClient = VersionsClient.create()) { * UpdateVersionRequest request = * UpdateVersionRequest.newBuilder() @@ -550,8 +589,11 @@ public final OperationFutureupdateVersionAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (VersionsClient versionsClient = VersionsClient.create()) { * UpdateVersionRequest request = * UpdateVersionRequest.newBuilder() @@ -624,8 +666,11 @@ public final OperationFutureupdateVersionAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (VersionsClient versionsClient = VersionsClient.create()) { * UpdateVersionRequest request = * UpdateVersionRequest.newBuilder() @@ -650,8 +695,11 @@ public final UnaryCallableupdateVersionCallabl * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (VersionsClient versionsClient = VersionsClient.create()) { * DeleteVersionRequest request = * DeleteVersionRequest.newBuilder().setName("name3373707").build(); @@ -674,8 +722,11 @@ public final OperationFuturedeleteVersionAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (VersionsClient versionsClient = VersionsClient.create()) { * DeleteVersionRequest request = * DeleteVersionRequest.newBuilder().setName("name3373707").build(); @@ -698,8 +749,11 @@ public final OperationFuturedeleteVersionAsync( * Sample code: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (VersionsClient versionsClient = VersionsClient.create()) { * DeleteVersionRequest request = * DeleteVersionRequest.newBuilder().setName("name3373707").build(); diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/VersionsSettings.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/VersionsSettings.java index 3cf4141de9cf..3d1f2410d633 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/VersionsSettings.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/VersionsSettings.java @@ -56,16 +56,16 @@ *For example, to set the total timeout of getVersion to 30 seconds: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * VersionsSettings.Builder versionsSettingsBuilder = VersionsSettings.newBuilder(); * versionsSettingsBuilder * .getVersionSettings() * .setRetrySettings( - * versionsSettingsBuilder - * .getVersionSettings() - * .getRetrySettings() - * .toBuilder() + * versionsSettingsBuilder.getVersionSettings().getRetrySettings().toBuilder() * .setTotalTimeout(Duration.ofSeconds(30)) * .build()); * VersionsSettings versionsSettings = versionsSettingsBuilder.build(); diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/package-info.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/package-info.java index 34c5a5b2b80e..431c8e5b6f32 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/package-info.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/package-info.java @@ -24,8 +24,11 @@ *Sample for ApplicationsClient: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ApplicationsClient applicationsClient = ApplicationsClient.create()) { * String name = "name3373707"; * Application response = applicationsClient.getApplication(name); @@ -39,8 +42,11 @@ *Sample for ServicesClient: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (ServicesClient servicesClient = ServicesClient.create()) { * GetServiceRequest request = GetServiceRequest.newBuilder().setName("name3373707").build(); * Service response = servicesClient.getService(request); @@ -54,8 +60,11 @@ *Sample for VersionsClient: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (VersionsClient versionsClient = VersionsClient.create()) { * GetVersionRequest request = * GetVersionRequest.newBuilder() @@ -73,8 +82,11 @@ *Sample for InstancesClient: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (InstancesClient instancesClient = InstancesClient.create()) { * GetInstanceRequest request = GetInstanceRequest.newBuilder().setName("name3373707").build(); * Instance response = instancesClient.getInstance(request); @@ -96,8 +108,11 @@ *Sample for FirewallClient: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (FirewallClient firewallClient = FirewallClient.create()) { * BatchUpdateIngressRulesRequest request = * BatchUpdateIngressRulesRequest.newBuilder() @@ -117,8 +132,11 @@ *Sample for AuthorizedDomainsClient: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AuthorizedDomainsClient authorizedDomainsClient = AuthorizedDomainsClient.create()) { * ListAuthorizedDomainsRequest request = * ListAuthorizedDomainsRequest.newBuilder() @@ -141,8 +159,11 @@ *Sample for AuthorizedCertificatesClient: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (AuthorizedCertificatesClient authorizedCertificatesClient = * AuthorizedCertificatesClient.create()) { * GetAuthorizedCertificateRequest request = @@ -162,8 +183,11 @@ *Sample for DomainMappingsClient: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * try (DomainMappingsClient domainMappingsClient = DomainMappingsClient.create()) { * GetDomainMappingRequest request = * GetDomainMappingRequest.newBuilder().setName("name3373707").build(); diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/ApplicationsStubSettings.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/ApplicationsStubSettings.java index 854cd87fd0d5..cd1d302d05c8 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/ApplicationsStubSettings.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/ApplicationsStubSettings.java @@ -72,17 +72,17 @@ *For example, to set the total timeout of getApplication to 30 seconds: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * ApplicationsStubSettings.Builder applicationsSettingsBuilder = * ApplicationsStubSettings.newBuilder(); * applicationsSettingsBuilder * .getApplicationSettings() * .setRetrySettings( - * applicationsSettingsBuilder - * .getApplicationSettings() - * .getRetrySettings() - * .toBuilder() + * applicationsSettingsBuilder.getApplicationSettings().getRetrySettings().toBuilder() * .setTotalTimeout(Duration.ofSeconds(30)) * .build()); * ApplicationsStubSettings applicationsSettings = applicationsSettingsBuilder.build(); diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/AuthorizedCertificatesStubSettings.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/AuthorizedCertificatesStubSettings.java index ff1a841b71ec..e5627eaf196d 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/AuthorizedCertificatesStubSettings.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/AuthorizedCertificatesStubSettings.java @@ -78,8 +78,11 @@ *For example, to set the total timeout of getAuthorizedCertificate to 30 seconds: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * AuthorizedCertificatesStubSettings.Builder authorizedCertificatesSettingsBuilder = * AuthorizedCertificatesStubSettings.newBuilder(); * authorizedCertificatesSettingsBuilder diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/AuthorizedDomainsStubSettings.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/AuthorizedDomainsStubSettings.java index 31db72663957..f4ac9eaa6c13 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/AuthorizedDomainsStubSettings.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/AuthorizedDomainsStubSettings.java @@ -73,8 +73,11 @@ *For example, to set the total timeout of listAuthorizedDomains to 30 seconds: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * AuthorizedDomainsStubSettings.Builder authorizedDomainsSettingsBuilder = * AuthorizedDomainsStubSettings.newBuilder(); * authorizedDomainsSettingsBuilder diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/DomainMappingsStubSettings.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/DomainMappingsStubSettings.java index b069005137ba..aabb8f07efdf 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/DomainMappingsStubSettings.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/DomainMappingsStubSettings.java @@ -84,17 +84,17 @@ *For example, to set the total timeout of getDomainMapping to 30 seconds: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * DomainMappingsStubSettings.Builder domainMappingsSettingsBuilder = * DomainMappingsStubSettings.newBuilder(); * domainMappingsSettingsBuilder * .getDomainMappingSettings() * .setRetrySettings( - * domainMappingsSettingsBuilder - * .getDomainMappingSettings() - * .getRetrySettings() - * .toBuilder() + * domainMappingsSettingsBuilder.getDomainMappingSettings().getRetrySettings().toBuilder() * .setTotalTimeout(Duration.ofSeconds(30)) * .build()); * DomainMappingsStubSettings domainMappingsSettings = domainMappingsSettingsBuilder.build(); diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/FirewallStubSettings.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/FirewallStubSettings.java index 90e5ee7cc9aa..ddeb6239f01d 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/FirewallStubSettings.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/FirewallStubSettings.java @@ -80,16 +80,16 @@ *For example, to set the total timeout of batchUpdateIngressRules to 30 seconds: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * FirewallStubSettings.Builder firewallSettingsBuilder = FirewallStubSettings.newBuilder(); * firewallSettingsBuilder * .batchUpdateIngressRulesSettings() * .setRetrySettings( - * firewallSettingsBuilder - * .batchUpdateIngressRulesSettings() - * .getRetrySettings() - * .toBuilder() + * firewallSettingsBuilder.batchUpdateIngressRulesSettings().getRetrySettings().toBuilder() * .setTotalTimeout(Duration.ofSeconds(30)) * .build()); * FirewallStubSettings firewallSettings = firewallSettingsBuilder.build(); diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/HttpJsonApplicationsStub.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/HttpJsonApplicationsStub.java index 0a58e58777f3..4cdd13c79d57 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/HttpJsonApplicationsStub.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/HttpJsonApplicationsStub.java @@ -121,7 +121,7 @@ public class HttpJsonApplicationsStub extends ApplicationsStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("application", request.getApplication())) + .toBody("application", request.getApplication(), false)) .build()) .setResponseParser( ProtoMessageResponseParser.newBuilder() @@ -161,7 +161,7 @@ public class HttpJsonApplicationsStub extends ApplicationsStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("application", request.getApplication())) + .toBody("application", request.getApplication(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -200,7 +200,7 @@ public class HttpJsonApplicationsStub extends ApplicationsStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearName().build())) + .toBody("*", request.toBuilder().clearName().build(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/HttpJsonAuthorizedCertificatesStub.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/HttpJsonAuthorizedCertificatesStub.java index f2f3b863dfd7..35b89833ca25 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/HttpJsonAuthorizedCertificatesStub.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/HttpJsonAuthorizedCertificatesStub.java @@ -162,7 +162,7 @@ public class HttpJsonAuthorizedCertificatesStub extends AuthorizedCertificatesSt .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("certificate", request.getCertificate())) + .toBody("certificate", request.getCertificate(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -202,7 +202,7 @@ public class HttpJsonAuthorizedCertificatesStub extends AuthorizedCertificatesSt .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("certificate", request.getCertificate())) + .toBody("certificate", request.getCertificate(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/HttpJsonDomainMappingsStub.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/HttpJsonDomainMappingsStub.java index 11ca17304b49..489a48783b28 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/HttpJsonDomainMappingsStub.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/HttpJsonDomainMappingsStub.java @@ -165,7 +165,7 @@ public class HttpJsonDomainMappingsStub extends DomainMappingsStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("domainMapping", request.getDomainMapping())) + .toBody("domainMapping", request.getDomainMapping(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -205,7 +205,7 @@ public class HttpJsonDomainMappingsStub extends DomainMappingsStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("domainMapping", request.getDomainMapping())) + .toBody("domainMapping", request.getDomainMapping(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/HttpJsonFirewallStub.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/HttpJsonFirewallStub.java index edbf82d303be..2a6cdaa7465e 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/HttpJsonFirewallStub.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/HttpJsonFirewallStub.java @@ -126,7 +126,7 @@ public class HttpJsonFirewallStub extends FirewallStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearName().build())) + .toBody("*", request.toBuilder().clearName().build(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -160,7 +160,8 @@ public class HttpJsonFirewallStub extends FirewallStub { return fields; }) .setRequestBodyExtractor( - request -> ProtoRestSerializer.create().toBody("rule", request.getRule())) + request -> + ProtoRestSerializer.create().toBody("rule", request.getRule(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -228,7 +229,8 @@ public class HttpJsonFirewallStub extends FirewallStub { return fields; }) .setRequestBodyExtractor( - request -> ProtoRestSerializer.create().toBody("rule", request.getRule())) + request -> + ProtoRestSerializer.create().toBody("rule", request.getRule(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/HttpJsonInstancesStub.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/HttpJsonInstancesStub.java index 19ec34aecfb7..de516cc76e7f 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/HttpJsonInstancesStub.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/HttpJsonInstancesStub.java @@ -198,7 +198,7 @@ public class HttpJsonInstancesStub extends InstancesStub { .setRequestBodyExtractor( request -> ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearName().build())) + .toBody("*", request.toBuilder().clearName().build(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/HttpJsonServicesStub.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/HttpJsonServicesStub.java index 92d91683b41e..5d7b02213838 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/HttpJsonServicesStub.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/HttpJsonServicesStub.java @@ -163,7 +163,8 @@ public class HttpJsonServicesStub extends ServicesStub { }) .setRequestBodyExtractor( request -> - ProtoRestSerializer.create().toBody("service", request.getService())) + ProtoRestSerializer.create() + .toBody("service", request.getService(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/HttpJsonVersionsStub.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/HttpJsonVersionsStub.java index cca7aa763c17..8172abb904d1 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/HttpJsonVersionsStub.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/HttpJsonVersionsStub.java @@ -165,7 +165,8 @@ public class HttpJsonVersionsStub extends VersionsStub { }) .setRequestBodyExtractor( request -> - ProtoRestSerializer.create().toBody("version", request.getVersion())) + ProtoRestSerializer.create() + .toBody("version", request.getVersion(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() @@ -204,7 +205,8 @@ public class HttpJsonVersionsStub extends VersionsStub { }) .setRequestBodyExtractor( request -> - ProtoRestSerializer.create().toBody("version", request.getVersion())) + ProtoRestSerializer.create() + .toBody("version", request.getVersion(), false)) .build()) .setResponseParser( ProtoMessageResponseParser. newBuilder() diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/InstancesStubSettings.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/InstancesStubSettings.java index 4d71901f373f..d4f46c788dcf 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/InstancesStubSettings.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/InstancesStubSettings.java @@ -83,16 +83,16 @@ * For example, to set the total timeout of getInstance to 30 seconds: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * InstancesStubSettings.Builder instancesSettingsBuilder = InstancesStubSettings.newBuilder(); * instancesSettingsBuilder * .getInstanceSettings() * .setRetrySettings( - * instancesSettingsBuilder - * .getInstanceSettings() - * .getRetrySettings() - * .toBuilder() + * instancesSettingsBuilder.getInstanceSettings().getRetrySettings().toBuilder() * .setTotalTimeout(Duration.ofSeconds(30)) * .build()); * InstancesStubSettings instancesSettings = instancesSettingsBuilder.build(); diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/ServicesStubSettings.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/ServicesStubSettings.java index 2b230cd125bc..161e47fb50fc 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/ServicesStubSettings.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/ServicesStubSettings.java @@ -83,16 +83,16 @@ *For example, to set the total timeout of getService to 30 seconds: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * ServicesStubSettings.Builder servicesSettingsBuilder = ServicesStubSettings.newBuilder(); * servicesSettingsBuilder * .getServiceSettings() * .setRetrySettings( - * servicesSettingsBuilder - * .getServiceSettings() - * .getRetrySettings() - * .toBuilder() + * servicesSettingsBuilder.getServiceSettings().getRetrySettings().toBuilder() * .setTotalTimeout(Duration.ofSeconds(30)) * .build()); * ServicesStubSettings servicesSettings = servicesSettingsBuilder.build(); diff --git a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/VersionsStubSettings.java b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/VersionsStubSettings.java index 7404285aba44..300b04cd9122 100644 --- a/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/VersionsStubSettings.java +++ b/java-appengine-admin/google-cloud-appengine-admin/src/main/java/com/google/appengine/v1/stub/VersionsStubSettings.java @@ -85,16 +85,16 @@ *For example, to set the total timeout of getVersion to 30 seconds: * *
{@code - * // This snippet has been automatically generated for illustrative purposes only. - * // It may require modifications to work in your environment. + * // This snippet has been automatically generated and should be regarded as a code template only. + * // It will require modifications to work: + * // - It may require correct/in-range values for request initialization. + * // - It may require specifying regional endpoints when creating the service client as shown in + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library * VersionsStubSettings.Builder versionsSettingsBuilder = VersionsStubSettings.newBuilder(); * versionsSettingsBuilder * .getVersionSettings() * .setRetrySettings( - * versionsSettingsBuilder - * .getVersionSettings() - * .getRetrySettings() - * .toBuilder() + * versionsSettingsBuilder.getVersionSettings().getRetrySettings().toBuilder() * .setTotalTimeout(Duration.ofSeconds(30)) * .build()); * VersionsStubSettings versionsSettings = versionsSettingsBuilder.build();