{@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 (FlexTemplatesServiceClient flexTemplatesServiceClient =
* FlexTemplatesServiceClient.create()) {
* LaunchFlexTemplateRequest request =
@@ -78,8 +81,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
* FlexTemplatesServiceSettings flexTemplatesServiceSettings =
* FlexTemplatesServiceSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -91,8 +97,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
* FlexTemplatesServiceSettings flexTemplatesServiceSettings =
* FlexTemplatesServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
* FlexTemplatesServiceClient flexTemplatesServiceClient =
@@ -103,8 +112,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
* FlexTemplatesServiceSettings flexTemplatesServiceSettings =
* FlexTemplatesServiceSettings.newBuilder()
* .setTransportChannelProvider(
@@ -174,8 +186,11 @@ public FlexTemplatesServiceStub 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 (FlexTemplatesServiceClient flexTemplatesServiceClient =
* FlexTemplatesServiceClient.create()) {
* LaunchFlexTemplateRequest request =
@@ -203,8 +218,11 @@ public final LaunchFlexTemplateResponse launchFlexTemplate(LaunchFlexTemplateReq
* 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 (FlexTemplatesServiceClient flexTemplatesServiceClient =
* FlexTemplatesServiceClient.create()) {
* LaunchFlexTemplateRequest request =
diff --git a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/FlexTemplatesServiceSettings.java b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/FlexTemplatesServiceSettings.java
index b2ca423f..9cef76ee 100644
--- a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/FlexTemplatesServiceSettings.java
+++ b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/FlexTemplatesServiceSettings.java
@@ -50,8 +50,11 @@
* For example, to set the total timeout of launchFlexTemplate 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
* FlexTemplatesServiceSettings.Builder flexTemplatesServiceSettingsBuilder =
* FlexTemplatesServiceSettings.newBuilder();
* flexTemplatesServiceSettingsBuilder
diff --git a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/JobsV1Beta3Client.java b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/JobsV1Beta3Client.java
index 9f68f185..d90ee613 100644
--- a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/JobsV1Beta3Client.java
+++ b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/JobsV1Beta3Client.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 (JobsV1Beta3Client jobsV1Beta3Client = JobsV1Beta3Client.create()) {
* CreateJobRequest request =
* CreateJobRequest.newBuilder()
@@ -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
* JobsV1Beta3Settings jobsV1Beta3Settings =
* JobsV1Beta3Settings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -98,8 +104,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
* JobsV1Beta3Settings jobsV1Beta3Settings =
* JobsV1Beta3Settings.newBuilder().setEndpoint(myEndpoint).build();
* JobsV1Beta3Client jobsV1Beta3Client = JobsV1Beta3Client.create(jobsV1Beta3Settings);
@@ -109,8 +118,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
* JobsV1Beta3Settings jobsV1Beta3Settings =
* JobsV1Beta3Settings.newBuilder()
* .setTransportChannelProvider(
@@ -182,8 +194,11 @@ public JobsV1Beta3Stub 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 (JobsV1Beta3Client jobsV1Beta3Client = JobsV1Beta3Client.create()) {
* CreateJobRequest request =
* CreateJobRequest.newBuilder()
@@ -215,8 +230,11 @@ public final Job createJob(CreateJobRequest 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 (JobsV1Beta3Client jobsV1Beta3Client = JobsV1Beta3Client.create()) {
* CreateJobRequest request =
* CreateJobRequest.newBuilder()
@@ -248,8 +266,11 @@ public final UnaryCallable createJobCallable() {
* 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 (JobsV1Beta3Client jobsV1Beta3Client = JobsV1Beta3Client.create()) {
* GetJobRequest request =
* GetJobRequest.newBuilder()
@@ -281,8 +302,11 @@ public final Job getJob(GetJobRequest 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 (JobsV1Beta3Client jobsV1Beta3Client = JobsV1Beta3Client.create()) {
* GetJobRequest request =
* GetJobRequest.newBuilder()
@@ -314,8 +338,11 @@ public final UnaryCallable getJobCallable() {
* 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 (JobsV1Beta3Client jobsV1Beta3Client = JobsV1Beta3Client.create()) {
* UpdateJobRequest request =
* UpdateJobRequest.newBuilder()
@@ -348,8 +375,11 @@ public final Job updateJob(UpdateJobRequest 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 (JobsV1Beta3Client jobsV1Beta3Client = JobsV1Beta3Client.create()) {
* UpdateJobRequest request =
* UpdateJobRequest.newBuilder()
@@ -381,8 +411,11 @@ public final UnaryCallable updateJobCallable() {
* 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 (JobsV1Beta3Client jobsV1Beta3Client = JobsV1Beta3Client.create()) {
* ListJobsRequest request =
* ListJobsRequest.newBuilder()
@@ -418,8 +451,11 @@ public final ListJobsPagedResponse listJobs(ListJobsRequest 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 (JobsV1Beta3Client jobsV1Beta3Client = JobsV1Beta3Client.create()) {
* ListJobsRequest request =
* ListJobsRequest.newBuilder()
@@ -454,8 +490,11 @@ public final UnaryCallable listJobsPaged
* 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 (JobsV1Beta3Client jobsV1Beta3Client = JobsV1Beta3Client.create()) {
* ListJobsRequest request =
* ListJobsRequest.newBuilder()
@@ -491,8 +530,11 @@ public final UnaryCallable listJobsCallable()
* 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 (JobsV1Beta3Client jobsV1Beta3Client = JobsV1Beta3Client.create()) {
* ListJobsRequest request =
* ListJobsRequest.newBuilder()
@@ -522,8 +564,11 @@ public final AggregatedListJobsPagedResponse aggregatedListJobs(ListJobsRequest
* 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 (JobsV1Beta3Client jobsV1Beta3Client = JobsV1Beta3Client.create()) {
* ListJobsRequest request =
* ListJobsRequest.newBuilder()
@@ -554,8 +599,11 @@ public final AggregatedListJobsPagedResponse aggregatedListJobs(ListJobsRequest
* 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 (JobsV1Beta3Client jobsV1Beta3Client = JobsV1Beta3Client.create()) {
* ListJobsRequest request =
* ListJobsRequest.newBuilder()
@@ -591,8 +639,11 @@ public final UnaryCallable aggregatedListJobs
* 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 (JobsV1Beta3Client jobsV1Beta3Client = JobsV1Beta3Client.create()) {
* CheckActiveJobsRequest request =
* CheckActiveJobsRequest.newBuilder().setProjectId("projectId-894832108").build();
@@ -614,8 +665,11 @@ public final CheckActiveJobsResponse checkActiveJobs(CheckActiveJobsRequest requ
* 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 (JobsV1Beta3Client jobsV1Beta3Client = JobsV1Beta3Client.create()) {
* CheckActiveJobsRequest request =
* CheckActiveJobsRequest.newBuilder().setProjectId("projectId-894832108").build();
@@ -638,8 +692,11 @@ public final CheckActiveJobsResponse checkActiveJobs(CheckActiveJobsRequest requ
* 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 (JobsV1Beta3Client jobsV1Beta3Client = JobsV1Beta3Client.create()) {
* SnapshotJobRequest request =
* SnapshotJobRequest.newBuilder()
@@ -668,8 +725,11 @@ public final Snapshot snapshotJob(SnapshotJobRequest 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 (JobsV1Beta3Client jobsV1Beta3Client = JobsV1Beta3Client.create()) {
* SnapshotJobRequest request =
* SnapshotJobRequest.newBuilder()
diff --git a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/JobsV1Beta3Settings.java b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/JobsV1Beta3Settings.java
index 446021d6..83889491 100644
--- a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/JobsV1Beta3Settings.java
+++ b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/JobsV1Beta3Settings.java
@@ -54,16 +54,16 @@
* For example, to set the total timeout of createJob 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
* JobsV1Beta3Settings.Builder jobsV1Beta3SettingsBuilder = JobsV1Beta3Settings.newBuilder();
* jobsV1Beta3SettingsBuilder
* .createJobSettings()
* .setRetrySettings(
- * jobsV1Beta3SettingsBuilder
- * .createJobSettings()
- * .getRetrySettings()
- * .toBuilder()
+ * jobsV1Beta3SettingsBuilder.createJobSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* JobsV1Beta3Settings jobsV1Beta3Settings = jobsV1Beta3SettingsBuilder.build();
diff --git a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/MessagesV1Beta3Client.java b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/MessagesV1Beta3Client.java
index b5731c90..5d36aafa 100644
--- a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/MessagesV1Beta3Client.java
+++ b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/MessagesV1Beta3Client.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 (MessagesV1Beta3Client messagesV1Beta3Client = MessagesV1Beta3Client.create()) {
* ListJobMessagesRequest request =
* ListJobMessagesRequest.newBuilder()
@@ -92,8 +95,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
* MessagesV1Beta3Settings messagesV1Beta3Settings =
* MessagesV1Beta3Settings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -105,8 +111,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
* MessagesV1Beta3Settings messagesV1Beta3Settings =
* MessagesV1Beta3Settings.newBuilder().setEndpoint(myEndpoint).build();
* MessagesV1Beta3Client messagesV1Beta3Client =
@@ -117,8 +126,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
* MessagesV1Beta3Settings messagesV1Beta3Settings =
* MessagesV1Beta3Settings.newBuilder()
* .setTransportChannelProvider(
@@ -194,8 +206,11 @@ public MessagesV1Beta3Stub 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 (MessagesV1Beta3Client messagesV1Beta3Client = MessagesV1Beta3Client.create()) {
* ListJobMessagesRequest request =
* ListJobMessagesRequest.newBuilder()
@@ -234,8 +249,11 @@ public final ListJobMessagesPagedResponse listJobMessages(ListJobMessagesRequest
* 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 (MessagesV1Beta3Client messagesV1Beta3Client = MessagesV1Beta3Client.create()) {
* ListJobMessagesRequest request =
* ListJobMessagesRequest.newBuilder()
@@ -275,8 +293,11 @@ public final ListJobMessagesPagedResponse listJobMessages(ListJobMessagesRequest
* 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 (MessagesV1Beta3Client messagesV1Beta3Client = MessagesV1Beta3Client.create()) {
* ListJobMessagesRequest request =
* ListJobMessagesRequest.newBuilder()
diff --git a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/MessagesV1Beta3Settings.java b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/MessagesV1Beta3Settings.java
index 12e0c779..039ce8b3 100644
--- a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/MessagesV1Beta3Settings.java
+++ b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/MessagesV1Beta3Settings.java
@@ -53,17 +53,17 @@
* For example, to set the total timeout of listJobMessages 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
* MessagesV1Beta3Settings.Builder messagesV1Beta3SettingsBuilder =
* MessagesV1Beta3Settings.newBuilder();
* messagesV1Beta3SettingsBuilder
* .listJobMessagesSettings()
* .setRetrySettings(
- * messagesV1Beta3SettingsBuilder
- * .listJobMessagesSettings()
- * .getRetrySettings()
- * .toBuilder()
+ * messagesV1Beta3SettingsBuilder.listJobMessagesSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* MessagesV1Beta3Settings messagesV1Beta3Settings = messagesV1Beta3SettingsBuilder.build();
diff --git a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/MetricsV1Beta3Client.java b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/MetricsV1Beta3Client.java
index dd56120e..8c0ef99b 100644
--- a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/MetricsV1Beta3Client.java
+++ b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/MetricsV1Beta3Client.java
@@ -41,8 +41,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 (MetricsV1Beta3Client metricsV1Beta3Client = MetricsV1Beta3Client.create()) {
* GetJobMetricsRequest request =
* GetJobMetricsRequest.newBuilder()
@@ -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
* MetricsV1Beta3Settings metricsV1Beta3Settings =
* MetricsV1Beta3Settings.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
* MetricsV1Beta3Settings metricsV1Beta3Settings =
* MetricsV1Beta3Settings.newBuilder().setEndpoint(myEndpoint).build();
* MetricsV1Beta3Client metricsV1Beta3Client = MetricsV1Beta3Client.create(metricsV1Beta3Settings);
@@ -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
* MetricsV1Beta3Settings metricsV1Beta3Settings =
* MetricsV1Beta3Settings.newBuilder()
* .setTransportChannelProvider(
@@ -182,8 +194,11 @@ public MetricsV1Beta3Stub 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 (MetricsV1Beta3Client metricsV1Beta3Client = MetricsV1Beta3Client.create()) {
* GetJobMetricsRequest request =
* GetJobMetricsRequest.newBuilder()
@@ -215,8 +230,11 @@ public final JobMetrics getJobMetrics(GetJobMetricsRequest 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 (MetricsV1Beta3Client metricsV1Beta3Client = MetricsV1Beta3Client.create()) {
* GetJobMetricsRequest request =
* GetJobMetricsRequest.newBuilder()
@@ -245,8 +263,11 @@ public final UnaryCallable getJobMetricsCallab
* 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 (MetricsV1Beta3Client metricsV1Beta3Client = MetricsV1Beta3Client.create()) {
* GetJobExecutionDetailsRequest request =
* GetJobExecutionDetailsRequest.newBuilder()
@@ -280,8 +301,11 @@ public final GetJobExecutionDetailsPagedResponse getJobExecutionDetails(
* 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 (MetricsV1Beta3Client metricsV1Beta3Client = MetricsV1Beta3Client.create()) {
* GetJobExecutionDetailsRequest request =
* GetJobExecutionDetailsRequest.newBuilder()
@@ -314,8 +338,11 @@ public final GetJobExecutionDetailsPagedResponse getJobExecutionDetails(
* 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 (MetricsV1Beta3Client metricsV1Beta3Client = MetricsV1Beta3Client.create()) {
* GetJobExecutionDetailsRequest request =
* GetJobExecutionDetailsRequest.newBuilder()
@@ -355,8 +382,11 @@ public final GetJobExecutionDetailsPagedResponse getJobExecutionDetails(
* 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 (MetricsV1Beta3Client metricsV1Beta3Client = MetricsV1Beta3Client.create()) {
* GetStageExecutionDetailsRequest request =
* GetStageExecutionDetailsRequest.newBuilder()
@@ -393,8 +423,11 @@ public final GetStageExecutionDetailsPagedResponse getStageExecutionDetails(
* 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 (MetricsV1Beta3Client metricsV1Beta3Client = MetricsV1Beta3Client.create()) {
* GetStageExecutionDetailsRequest request =
* GetStageExecutionDetailsRequest.newBuilder()
@@ -430,8 +463,11 @@ public final GetStageExecutionDetailsPagedResponse getStageExecutionDetails(
* 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 (MetricsV1Beta3Client metricsV1Beta3Client = MetricsV1Beta3Client.create()) {
* GetStageExecutionDetailsRequest request =
* GetStageExecutionDetailsRequest.newBuilder()
diff --git a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/MetricsV1Beta3Settings.java b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/MetricsV1Beta3Settings.java
index b77b2e12..7c4ab4a0 100644
--- a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/MetricsV1Beta3Settings.java
+++ b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/MetricsV1Beta3Settings.java
@@ -54,17 +54,17 @@
* For example, to set the total timeout of getJobMetrics 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
* MetricsV1Beta3Settings.Builder metricsV1Beta3SettingsBuilder =
* MetricsV1Beta3Settings.newBuilder();
* metricsV1Beta3SettingsBuilder
* .getJobMetricsSettings()
* .setRetrySettings(
- * metricsV1Beta3SettingsBuilder
- * .getJobMetricsSettings()
- * .getRetrySettings()
- * .toBuilder()
+ * metricsV1Beta3SettingsBuilder.getJobMetricsSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* MetricsV1Beta3Settings metricsV1Beta3Settings = metricsV1Beta3SettingsBuilder.build();
diff --git a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/SnapshotsV1Beta3Client.java b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/SnapshotsV1Beta3Client.java
index a53a4375..60abf7fa 100644
--- a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/SnapshotsV1Beta3Client.java
+++ b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/SnapshotsV1Beta3Client.java
@@ -33,8 +33,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 (SnapshotsV1Beta3Client snapshotsV1Beta3Client = SnapshotsV1Beta3Client.create()) {
* GetSnapshotRequest request =
* GetSnapshotRequest.newBuilder()
@@ -76,8 +79,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
* SnapshotsV1Beta3Settings snapshotsV1Beta3Settings =
* SnapshotsV1Beta3Settings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -89,8 +95,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
* SnapshotsV1Beta3Settings snapshotsV1Beta3Settings =
* SnapshotsV1Beta3Settings.newBuilder().setEndpoint(myEndpoint).build();
* SnapshotsV1Beta3Client snapshotsV1Beta3Client =
@@ -101,8 +110,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
* SnapshotsV1Beta3Settings snapshotsV1Beta3Settings =
* SnapshotsV1Beta3Settings.newBuilder()
* .setTransportChannelProvider(
@@ -172,8 +184,11 @@ public SnapshotsV1Beta3Stub 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 (SnapshotsV1Beta3Client snapshotsV1Beta3Client = SnapshotsV1Beta3Client.create()) {
* GetSnapshotRequest request =
* GetSnapshotRequest.newBuilder()
@@ -199,8 +214,11 @@ public final Snapshot getSnapshot(GetSnapshotRequest 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 (SnapshotsV1Beta3Client snapshotsV1Beta3Client = SnapshotsV1Beta3Client.create()) {
* GetSnapshotRequest request =
* GetSnapshotRequest.newBuilder()
@@ -225,8 +243,11 @@ public final UnaryCallable getSnapshotCallable() {
* 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 (SnapshotsV1Beta3Client snapshotsV1Beta3Client = SnapshotsV1Beta3Client.create()) {
* DeleteSnapshotRequest request =
* DeleteSnapshotRequest.newBuilder()
@@ -252,8 +273,11 @@ public final DeleteSnapshotResponse deleteSnapshot(DeleteSnapshotRequest 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 (SnapshotsV1Beta3Client snapshotsV1Beta3Client = SnapshotsV1Beta3Client.create()) {
* DeleteSnapshotRequest request =
* DeleteSnapshotRequest.newBuilder()
@@ -280,8 +304,11 @@ public final DeleteSnapshotResponse deleteSnapshot(DeleteSnapshotRequest 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 (SnapshotsV1Beta3Client snapshotsV1Beta3Client = SnapshotsV1Beta3Client.create()) {
* ListSnapshotsRequest request =
* ListSnapshotsRequest.newBuilder()
@@ -307,8 +334,11 @@ public final ListSnapshotsResponse listSnapshots(ListSnapshotsRequest 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 (SnapshotsV1Beta3Client snapshotsV1Beta3Client = SnapshotsV1Beta3Client.create()) {
* ListSnapshotsRequest request =
* ListSnapshotsRequest.newBuilder()
diff --git a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/SnapshotsV1Beta3Settings.java b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/SnapshotsV1Beta3Settings.java
index c9227927..0d701aab 100644
--- a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/SnapshotsV1Beta3Settings.java
+++ b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/SnapshotsV1Beta3Settings.java
@@ -50,17 +50,17 @@
* For example, to set the total timeout of getSnapshot 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
* SnapshotsV1Beta3Settings.Builder snapshotsV1Beta3SettingsBuilder =
* SnapshotsV1Beta3Settings.newBuilder();
* snapshotsV1Beta3SettingsBuilder
* .getSnapshotSettings()
* .setRetrySettings(
- * snapshotsV1Beta3SettingsBuilder
- * .getSnapshotSettings()
- * .getRetrySettings()
- * .toBuilder()
+ * snapshotsV1Beta3SettingsBuilder.getSnapshotSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* SnapshotsV1Beta3Settings snapshotsV1Beta3Settings = snapshotsV1Beta3SettingsBuilder.build();
diff --git a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/TemplatesServiceClient.java b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/TemplatesServiceClient.java
index f2cc11ae..28172b53 100644
--- a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/TemplatesServiceClient.java
+++ b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/TemplatesServiceClient.java
@@ -33,8 +33,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 (TemplatesServiceClient templatesServiceClient = TemplatesServiceClient.create()) {
* CreateJobFromTemplateRequest request =
* CreateJobFromTemplateRequest.newBuilder()
@@ -78,8 +81,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
* TemplatesServiceSettings templatesServiceSettings =
* TemplatesServiceSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -91,8 +97,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
* TemplatesServiceSettings templatesServiceSettings =
* TemplatesServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
* TemplatesServiceClient templatesServiceClient =
@@ -103,8 +112,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
* TemplatesServiceSettings templatesServiceSettings =
* TemplatesServiceSettings.newBuilder()
* .setTransportChannelProvider(
@@ -174,8 +186,11 @@ public TemplatesServiceStub 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 (TemplatesServiceClient templatesServiceClient = TemplatesServiceClient.create()) {
* CreateJobFromTemplateRequest request =
* CreateJobFromTemplateRequest.newBuilder()
@@ -203,8 +218,11 @@ public final Job createJobFromTemplate(CreateJobFromTemplateRequest 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 (TemplatesServiceClient templatesServiceClient = TemplatesServiceClient.create()) {
* CreateJobFromTemplateRequest request =
* CreateJobFromTemplateRequest.newBuilder()
@@ -232,8 +250,11 @@ public final UnaryCallable createJobFromTempl
* 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 (TemplatesServiceClient templatesServiceClient = TemplatesServiceClient.create()) {
* LaunchTemplateRequest request =
* LaunchTemplateRequest.newBuilder()
@@ -260,8 +281,11 @@ public final LaunchTemplateResponse launchTemplate(LaunchTemplateRequest 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 (TemplatesServiceClient templatesServiceClient = TemplatesServiceClient.create()) {
* LaunchTemplateRequest request =
* LaunchTemplateRequest.newBuilder()
@@ -289,8 +313,11 @@ public final LaunchTemplateResponse launchTemplate(LaunchTemplateRequest 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 (TemplatesServiceClient templatesServiceClient = TemplatesServiceClient.create()) {
* GetTemplateRequest request =
* GetTemplateRequest.newBuilder()
@@ -315,8 +342,11 @@ public final GetTemplateResponse getTemplate(GetTemplateRequest 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 (TemplatesServiceClient templatesServiceClient = TemplatesServiceClient.create()) {
* GetTemplateRequest request =
* GetTemplateRequest.newBuilder()
diff --git a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/TemplatesServiceSettings.java b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/TemplatesServiceSettings.java
index 709d3a8a..4ee289f1 100644
--- a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/TemplatesServiceSettings.java
+++ b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/TemplatesServiceSettings.java
@@ -50,8 +50,11 @@
* For example, to set the total timeout of createJobFromTemplate 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
* TemplatesServiceSettings.Builder templatesServiceSettingsBuilder =
* TemplatesServiceSettings.newBuilder();
* templatesServiceSettingsBuilder
diff --git a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/package-info.java b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/package-info.java
index 77d6ff77..ebd16c9f 100644
--- a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/package-info.java
+++ b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/package-info.java
@@ -27,8 +27,11 @@
* Sample for JobsV1Beta3Client:
*
*
{@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 (JobsV1Beta3Client jobsV1Beta3Client = JobsV1Beta3Client.create()) {
* CreateJobRequest request =
* CreateJobRequest.newBuilder()
@@ -50,8 +53,11 @@
* Sample for MessagesV1Beta3Client:
*
*
{@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 (MessagesV1Beta3Client messagesV1Beta3Client = MessagesV1Beta3Client.create()) {
* ListJobMessagesRequest request =
* ListJobMessagesRequest.newBuilder()
@@ -77,8 +83,11 @@
* Sample for MetricsV1Beta3Client:
*
*
{@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 (MetricsV1Beta3Client metricsV1Beta3Client = MetricsV1Beta3Client.create()) {
* GetJobMetricsRequest request =
* GetJobMetricsRequest.newBuilder()
@@ -98,8 +107,11 @@
* Sample for SnapshotsV1Beta3Client:
*
*
{@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 (SnapshotsV1Beta3Client snapshotsV1Beta3Client = SnapshotsV1Beta3Client.create()) {
* GetSnapshotRequest request =
* GetSnapshotRequest.newBuilder()
@@ -118,8 +130,11 @@
* Sample for TemplatesServiceClient:
*
*
{@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 (TemplatesServiceClient templatesServiceClient = TemplatesServiceClient.create()) {
* CreateJobFromTemplateRequest request =
* CreateJobFromTemplateRequest.newBuilder()
@@ -140,8 +155,11 @@
* Sample for FlexTemplatesServiceClient:
*
*
{@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 (FlexTemplatesServiceClient flexTemplatesServiceClient =
* FlexTemplatesServiceClient.create()) {
* LaunchFlexTemplateRequest request =
diff --git a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/FlexTemplatesServiceStubSettings.java b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/FlexTemplatesServiceStubSettings.java
index 97e06d91..8769ed53 100644
--- a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/FlexTemplatesServiceStubSettings.java
+++ b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/FlexTemplatesServiceStubSettings.java
@@ -62,8 +62,11 @@
* For example, to set the total timeout of launchFlexTemplate 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
* FlexTemplatesServiceStubSettings.Builder flexTemplatesServiceSettingsBuilder =
* FlexTemplatesServiceStubSettings.newBuilder();
* flexTemplatesServiceSettingsBuilder
diff --git a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/HttpJsonFlexTemplatesServiceStub.java b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/HttpJsonFlexTemplatesServiceStub.java
index 9ee342c5..2f2776bd 100644
--- a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/HttpJsonFlexTemplatesServiceStub.java
+++ b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/HttpJsonFlexTemplatesServiceStub.java
@@ -80,7 +80,8 @@ public class HttpJsonFlexTemplatesServiceStub extends FlexTemplatesServiceStub {
ProtoRestSerializer.create()
.toBody(
"*",
- request.toBuilder().clearLocation().clearProjectId().build()))
+ request.toBuilder().clearLocation().clearProjectId().build(),
+ false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
diff --git a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/HttpJsonJobsV1Beta3Stub.java b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/HttpJsonJobsV1Beta3Stub.java
index 639622ee..8a709800 100644
--- a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/HttpJsonJobsV1Beta3Stub.java
+++ b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/HttpJsonJobsV1Beta3Stub.java
@@ -87,7 +87,8 @@ public class HttpJsonJobsV1Beta3Stub extends JobsV1Beta3Stub {
return fields;
})
.setRequestBodyExtractor(
- request -> ProtoRestSerializer.create().toBody("job", request.getJob()))
+ request ->
+ ProtoRestSerializer.create().toBody("job", request.getJob(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
@@ -159,7 +160,8 @@ public class HttpJsonJobsV1Beta3Stub extends JobsV1Beta3Stub {
return fields;
})
.setRequestBodyExtractor(
- request -> ProtoRestSerializer.create().toBody("job", request.getJob()))
+ request ->
+ ProtoRestSerializer.create().toBody("job", request.getJob(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
@@ -282,7 +284,8 @@ public class HttpJsonJobsV1Beta3Stub extends JobsV1Beta3Stub {
.clearJobId()
.clearLocation()
.clearProjectId()
- .build()))
+ .build(),
+ false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
diff --git a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/HttpJsonTemplatesServiceStub.java b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/HttpJsonTemplatesServiceStub.java
index c76e9217..8fc02fe1 100644
--- a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/HttpJsonTemplatesServiceStub.java
+++ b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/HttpJsonTemplatesServiceStub.java
@@ -85,7 +85,8 @@ public class HttpJsonTemplatesServiceStub extends TemplatesServiceStub {
ProtoRestSerializer.create()
.toBody(
"*",
- request.toBuilder().clearLocation().clearProjectId().build()))
+ request.toBuilder().clearLocation().clearProjectId().build(),
+ false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
@@ -128,7 +129,7 @@ public class HttpJsonTemplatesServiceStub extends TemplatesServiceStub {
.setRequestBodyExtractor(
request ->
ProtoRestSerializer.create()
- .toBody("launchParameters", request.getLaunchParameters()))
+ .toBody("launchParameters", request.getLaunchParameters(), false))
.build())
.setResponseParser(
ProtoMessageResponseParser.newBuilder()
diff --git a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/JobsV1Beta3StubSettings.java b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/JobsV1Beta3StubSettings.java
index 298a2e1a..030d80d7 100644
--- a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/JobsV1Beta3StubSettings.java
+++ b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/JobsV1Beta3StubSettings.java
@@ -81,17 +81,17 @@
* For example, to set the total timeout of createJob 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
* JobsV1Beta3StubSettings.Builder jobsV1Beta3SettingsBuilder =
* JobsV1Beta3StubSettings.newBuilder();
* jobsV1Beta3SettingsBuilder
* .createJobSettings()
* .setRetrySettings(
- * jobsV1Beta3SettingsBuilder
- * .createJobSettings()
- * .getRetrySettings()
- * .toBuilder()
+ * jobsV1Beta3SettingsBuilder.createJobSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* JobsV1Beta3StubSettings jobsV1Beta3Settings = jobsV1Beta3SettingsBuilder.build();
diff --git a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/MessagesV1Beta3StubSettings.java b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/MessagesV1Beta3StubSettings.java
index e9b535d9..9d814749 100644
--- a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/MessagesV1Beta3StubSettings.java
+++ b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/MessagesV1Beta3StubSettings.java
@@ -73,17 +73,17 @@
* For example, to set the total timeout of listJobMessages 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
* MessagesV1Beta3StubSettings.Builder messagesV1Beta3SettingsBuilder =
* MessagesV1Beta3StubSettings.newBuilder();
* messagesV1Beta3SettingsBuilder
* .listJobMessagesSettings()
* .setRetrySettings(
- * messagesV1Beta3SettingsBuilder
- * .listJobMessagesSettings()
- * .getRetrySettings()
- * .toBuilder()
+ * messagesV1Beta3SettingsBuilder.listJobMessagesSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* MessagesV1Beta3StubSettings messagesV1Beta3Settings = messagesV1Beta3SettingsBuilder.build();
diff --git a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/MetricsV1Beta3StubSettings.java b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/MetricsV1Beta3StubSettings.java
index 8692fbb1..c827fd34 100644
--- a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/MetricsV1Beta3StubSettings.java
+++ b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/MetricsV1Beta3StubSettings.java
@@ -79,17 +79,17 @@
* For example, to set the total timeout of getJobMetrics 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
* MetricsV1Beta3StubSettings.Builder metricsV1Beta3SettingsBuilder =
* MetricsV1Beta3StubSettings.newBuilder();
* metricsV1Beta3SettingsBuilder
* .getJobMetricsSettings()
* .setRetrySettings(
- * metricsV1Beta3SettingsBuilder
- * .getJobMetricsSettings()
- * .getRetrySettings()
- * .toBuilder()
+ * metricsV1Beta3SettingsBuilder.getJobMetricsSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* MetricsV1Beta3StubSettings metricsV1Beta3Settings = metricsV1Beta3SettingsBuilder.build();
diff --git a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/SnapshotsV1Beta3StubSettings.java b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/SnapshotsV1Beta3StubSettings.java
index 17bed099..07be4d2d 100644
--- a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/SnapshotsV1Beta3StubSettings.java
+++ b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/SnapshotsV1Beta3StubSettings.java
@@ -67,17 +67,17 @@
* For example, to set the total timeout of getSnapshot 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
* SnapshotsV1Beta3StubSettings.Builder snapshotsV1Beta3SettingsBuilder =
* SnapshotsV1Beta3StubSettings.newBuilder();
* snapshotsV1Beta3SettingsBuilder
* .getSnapshotSettings()
* .setRetrySettings(
- * snapshotsV1Beta3SettingsBuilder
- * .getSnapshotSettings()
- * .getRetrySettings()
- * .toBuilder()
+ * snapshotsV1Beta3SettingsBuilder.getSnapshotSettings().getRetrySettings().toBuilder()
* .setTotalTimeout(Duration.ofSeconds(30))
* .build());
* SnapshotsV1Beta3StubSettings snapshotsV1Beta3Settings = snapshotsV1Beta3SettingsBuilder.build();
diff --git a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/TemplatesServiceStubSettings.java b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/TemplatesServiceStubSettings.java
index d4fbc4a7..cb8656ce 100644
--- a/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/TemplatesServiceStubSettings.java
+++ b/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/stub/TemplatesServiceStubSettings.java
@@ -67,8 +67,11 @@
* For example, to set the total timeout of createJobFromTemplate 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
* TemplatesServiceStubSettings.Builder templatesServiceSettingsBuilder =
* TemplatesServiceStubSettings.newBuilder();
* templatesServiceSettingsBuilder
diff --git a/grpc-google-cloud-dataflow-v1beta3/pom.xml b/grpc-google-cloud-dataflow-v1beta3/pom.xml
index b00d19f7..e026df8b 100644
--- a/grpc-google-cloud-dataflow-v1beta3/pom.xml
+++ b/grpc-google-cloud-dataflow-v1beta3/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
grpc-google-cloud-dataflow-v1beta3
- 0.7.3
+ 0.7.4
grpc-google-cloud-dataflow-v1beta3
GRPC library for google-cloud-dataflow
com.google.cloud
google-cloud-dataflow-parent
- 0.7.3
+ 0.7.4
diff --git a/pom.xml b/pom.xml
index 5b0d12a4..99540581 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
com.google.cloud
google-cloud-dataflow-parent
pom
- 0.7.3
+ 0.7.4
Google Dataflow Parent
https://github.com/googleapis/java-dataflow
@@ -69,23 +69,23 @@
com.google.cloud
google-cloud-dataflow
- 0.7.3
+ 0.7.4
com.google.api.grpc
grpc-google-cloud-dataflow-v1beta3
- 0.7.3
+ 0.7.4
com.google.api.grpc
proto-google-cloud-dataflow-v1beta3
- 0.7.3
+ 0.7.4
com.google.cloud
google-cloud-shared-dependencies
- 3.0.2
+ 3.0.3
pom
import
diff --git a/proto-google-cloud-dataflow-v1beta3/pom.xml b/proto-google-cloud-dataflow-v1beta3/pom.xml
index 25c35500..7a43461d 100644
--- a/proto-google-cloud-dataflow-v1beta3/pom.xml
+++ b/proto-google-cloud-dataflow-v1beta3/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
proto-google-cloud-dataflow-v1beta3
- 0.7.3
+ 0.7.4
proto-google-cloud-dataflow-v1beta3
Proto library for google-cloud-dataflow
com.google.cloud
google-cloud-dataflow-parent
- 0.7.3
+ 0.7.4
diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index b5ab9ec1..1d60b33b 100644
--- a/samples/install-without-bom/pom.xml
+++ b/samples/install-without-bom/pom.xml
@@ -29,7 +29,7 @@
com.google.cloud
google-cloud-dataflow
- 0.7.2
+ 0.7.3
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index 45ed698d..288aa906 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
google-cloud-dataflow
- 0.7.2
+ 0.7.3
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index 3ecfcbb9..2274d583 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
google-cloud-dataflow
- 0.7.2
+ 0.7.3
diff --git a/versions.txt b/versions.txt
index 4ee9e054..647ceb60 100644
--- a/versions.txt
+++ b/versions.txt
@@ -1,6 +1,6 @@
# Format:
# module:released-version:current-version
-google-cloud-dataflow:0.7.3:0.7.3
-grpc-google-cloud-dataflow-v1beta3:0.7.3:0.7.3
-proto-google-cloud-dataflow-v1beta3:0.7.3:0.7.3
+google-cloud-dataflow:0.7.4:0.7.4
+grpc-google-cloud-dataflow-v1beta3:0.7.4:0.7.4
+proto-google-cloud-dataflow-v1beta3:0.7.4:0.7.4