{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * WorkflowName parent = WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]"); * Execution execution = Execution.newBuilder().build(); @@ -78,6 +80,8 @@ *To customize credentials: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * ExecutionsSettings executionsSettings = * ExecutionsSettings.newBuilder() * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) @@ -88,6 +92,8 @@ *To customize the endpoint: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * ExecutionsSettings executionsSettings = * ExecutionsSettings.newBuilder().setEndpoint(myEndpoint).build(); * ExecutionsClient executionsClient = ExecutionsClient.create(executionsSettings); @@ -155,6 +161,8 @@ public ExecutionsStub getStub() { *Sample code: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * WorkflowName parent = WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]"); * for (Execution element : executionsClient.listExecutions(parent).iterateAll()) { @@ -184,6 +192,8 @@ public final ListExecutionsPagedResponse listExecutions(WorkflowName parent) { *Sample code: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * String parent = WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]").toString(); * for (Execution element : executionsClient.listExecutions(parent).iterateAll()) { @@ -210,6 +220,8 @@ public final ListExecutionsPagedResponse listExecutions(String parent) { *Sample code: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * ListExecutionsRequest request = * ListExecutionsRequest.newBuilder() @@ -240,6 +252,8 @@ public final ListExecutionsPagedResponse listExecutions(ListExecutionsRequest re *Sample code: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * ListExecutionsRequest request = * ListExecutionsRequest.newBuilder() @@ -271,6 +285,8 @@ public final ListExecutionsPagedResponse listExecutions(ListExecutionsRequest re *Sample code: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * ListExecutionsRequest request = * ListExecutionsRequest.newBuilder() @@ -306,6 +322,8 @@ public final ListExecutionsPagedResponse listExecutions(ListExecutionsRequest re *Sample code: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * WorkflowName parent = WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]"); * Execution execution = Execution.newBuilder().build(); @@ -335,6 +353,8 @@ public final Execution createExecution(WorkflowName parent, Execution execution) *Sample code: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * String parent = WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]").toString(); * Execution execution = Execution.newBuilder().build(); @@ -361,6 +381,8 @@ public final Execution createExecution(String parent, Execution execution) { *Sample code: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * CreateExecutionRequest request = * CreateExecutionRequest.newBuilder() @@ -385,6 +407,8 @@ public final Execution createExecution(CreateExecutionRequest request) { *Sample code: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * CreateExecutionRequest request = * CreateExecutionRequest.newBuilder() @@ -408,6 +432,8 @@ public final UnaryCallablecreateExecutionCal * Sample code: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * ExecutionName name = ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]"); * Execution response = executionsClient.getExecution(name); @@ -431,6 +457,8 @@ public final Execution getExecution(ExecutionName name) { *Sample code: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * String name = * ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]").toString(); @@ -454,6 +482,8 @@ public final Execution getExecution(String name) { *Sample code: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * GetExecutionRequest request = * GetExecutionRequest.newBuilder() @@ -480,6 +510,8 @@ public final Execution getExecution(GetExecutionRequest request) { *Sample code: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * GetExecutionRequest request = * GetExecutionRequest.newBuilder() @@ -505,6 +537,8 @@ public final UnaryCallablegetExecutionCallable( * Sample code: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * ExecutionName name = ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]"); * Execution response = executionsClient.cancelExecution(name); @@ -528,6 +562,8 @@ public final Execution cancelExecution(ExecutionName name) { *Sample code: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * String name = * ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]").toString(); @@ -551,6 +587,8 @@ public final Execution cancelExecution(String name) { *Sample code: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * CancelExecutionRequest request = * CancelExecutionRequest.newBuilder() @@ -576,6 +614,8 @@ public final Execution cancelExecution(CancelExecutionRequest request) { *Sample code: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * CancelExecutionRequest request = * CancelExecutionRequest.newBuilder() diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java index 5eae335a..4bef877f 100644 --- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java +++ b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2021 Google LLC + * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -53,6 +53,8 @@ *For example, to set the total timeout of createExecution to 30 seconds: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * ExecutionsSettings.Builder executionsSettingsBuilder = ExecutionsSettings.newBuilder(); * executionsSettingsBuilder * .createExecutionSettings() diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java index 90f7a0d7..6368987b 100644 --- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java +++ b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2021 Google LLC + * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -27,6 +27,8 @@ *Sample for ExecutionsClient: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * WorkflowName parent = WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]"); * Execution execution = Execution.newBuilder().build(); diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java index c2fb64b0..2696edff 100644 --- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java +++ b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2021 Google LLC + * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java index 43324830..3614293f 100644 --- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java +++ b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2021 Google LLC + * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -73,6 +73,8 @@ *For example, to set the total timeout of createExecution to 30 seconds: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * ExecutionsStubSettings.Builder executionsSettingsBuilder = ExecutionsStubSettings.newBuilder(); * executionsSettingsBuilder * .createExecutionSettings() diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java index 0c913827..dc18f240 100644 --- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java +++ b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2021 Google LLC + * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java index 7ad2a861..203d4698 100644 --- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java +++ b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2021 Google LLC + * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java index 2af16785..2be349f7 100644 --- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java +++ b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2021 Google LLC + * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -42,6 +42,8 @@ * 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. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * WorkflowName parent = WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]"); * Execution execution = Execution.newBuilder().build(); @@ -78,6 +80,8 @@ *To customize credentials: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * ExecutionsSettings executionsSettings = * ExecutionsSettings.newBuilder() * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) @@ -88,6 +92,8 @@ *To customize the endpoint: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * ExecutionsSettings executionsSettings = * ExecutionsSettings.newBuilder().setEndpoint(myEndpoint).build(); * ExecutionsClient executionsClient = ExecutionsClient.create(executionsSettings); @@ -156,6 +162,8 @@ public ExecutionsStub getStub() { *Sample code: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * WorkflowName parent = WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]"); * for (Execution element : executionsClient.listExecutions(parent).iterateAll()) { @@ -185,6 +193,8 @@ public final ListExecutionsPagedResponse listExecutions(WorkflowName parent) { *Sample code: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * String parent = WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]").toString(); * for (Execution element : executionsClient.listExecutions(parent).iterateAll()) { @@ -211,6 +221,8 @@ public final ListExecutionsPagedResponse listExecutions(String parent) { *Sample code: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * ListExecutionsRequest request = * ListExecutionsRequest.newBuilder() @@ -241,6 +253,8 @@ public final ListExecutionsPagedResponse listExecutions(ListExecutionsRequest re *Sample code: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * ListExecutionsRequest request = * ListExecutionsRequest.newBuilder() @@ -272,6 +286,8 @@ public final ListExecutionsPagedResponse listExecutions(ListExecutionsRequest re *Sample code: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * ListExecutionsRequest request = * ListExecutionsRequest.newBuilder() @@ -307,6 +323,8 @@ public final ListExecutionsPagedResponse listExecutions(ListExecutionsRequest re *Sample code: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * WorkflowName parent = WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]"); * Execution execution = Execution.newBuilder().build(); @@ -336,6 +354,8 @@ public final Execution createExecution(WorkflowName parent, Execution execution) *Sample code: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * String parent = WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]").toString(); * Execution execution = Execution.newBuilder().build(); @@ -362,6 +382,8 @@ public final Execution createExecution(String parent, Execution execution) { *Sample code: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * CreateExecutionRequest request = * CreateExecutionRequest.newBuilder() @@ -386,6 +408,8 @@ public final Execution createExecution(CreateExecutionRequest request) { *Sample code: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * CreateExecutionRequest request = * CreateExecutionRequest.newBuilder() @@ -409,6 +433,8 @@ public final UnaryCallablecreateExecutionCal * Sample code: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * ExecutionName name = ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]"); * Execution response = executionsClient.getExecution(name); @@ -432,6 +458,8 @@ public final Execution getExecution(ExecutionName name) { *Sample code: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * String name = * ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]").toString(); @@ -455,6 +483,8 @@ public final Execution getExecution(String name) { *Sample code: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * GetExecutionRequest request = * GetExecutionRequest.newBuilder() @@ -481,6 +511,8 @@ public final Execution getExecution(GetExecutionRequest request) { *Sample code: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * GetExecutionRequest request = * GetExecutionRequest.newBuilder() @@ -506,6 +538,8 @@ public final UnaryCallablegetExecutionCallable( * Sample code: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * ExecutionName name = ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]"); * Execution response = executionsClient.cancelExecution(name); @@ -529,6 +563,8 @@ public final Execution cancelExecution(ExecutionName name) { *Sample code: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * String name = * ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]").toString(); @@ -552,6 +588,8 @@ public final Execution cancelExecution(String name) { *Sample code: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * CancelExecutionRequest request = * CancelExecutionRequest.newBuilder() @@ -577,6 +615,8 @@ public final Execution cancelExecution(CancelExecutionRequest request) { *Sample code: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * CancelExecutionRequest request = * CancelExecutionRequest.newBuilder() diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java index 79f5f4ee..0db5f1a1 100644 --- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java +++ b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2021 Google LLC + * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -53,6 +53,8 @@ *For example, to set the total timeout of createExecution to 30 seconds: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * ExecutionsSettings.Builder executionsSettingsBuilder = ExecutionsSettings.newBuilder(); * executionsSettingsBuilder * .createExecutionSettings() diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java index 68681ee6..96afe496 100644 --- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java +++ b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2021 Google LLC + * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,6 +25,8 @@ *Sample for ExecutionsClient: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * try (ExecutionsClient executionsClient = ExecutionsClient.create()) { * WorkflowName parent = WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]"); * Execution execution = Execution.newBuilder().build(); diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java index 854303d0..a9a6d6fe 100644 --- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java +++ b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2021 Google LLC + * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java index 33137be3..1aac28d2 100644 --- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java +++ b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2021 Google LLC + * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -73,6 +73,8 @@ *For example, to set the total timeout of createExecution to 30 seconds: * *
{@code + * // This snippet has been automatically generated for illustrative purposes only. + * // It may require modifications to work in your environment. * ExecutionsStubSettings.Builder executionsSettingsBuilder = ExecutionsStubSettings.newBuilder(); * executionsSettingsBuilder * .createExecutionSettings() diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java index 5800d85f..f766b4c1 100644 --- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java +++ b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2021 Google LLC + * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java index 7c2e180b..7954ed6e 100644 --- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java +++ b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2021 Google LLC + * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java b/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java index 85d72fbe..5bb8f2c6 100644 --- a/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java +++ b/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2021 Google LLC + * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java b/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java index 3355c577..a8cc9ca4 100644 --- a/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java +++ b/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java @@ -1,5 +1,5 @@ /* - * Copyright 2021 Google LLC + * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java b/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java index f3777544..9da579d4 100644 --- a/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java +++ b/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2021 Google LLC + * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java b/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java index d1b74003..e07ee3a2 100644 --- a/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java +++ b/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2021 Google LLC + * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java b/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java index b75692f5..7b2d1115 100644 --- a/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java +++ b/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java @@ -1,5 +1,5 @@ /* - * Copyright 2021 Google LLC + * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java b/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java index fb79a7d4..ecf3c26f 100644 --- a/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java +++ b/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2021 Google LLC + * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/grpc-google-cloud-workflow-executions-v1/pom.xml b/grpc-google-cloud-workflow-executions-v1/pom.xml index 7ae86b01..e0315646 100644 --- a/grpc-google-cloud-workflow-executions-v1/pom.xml +++ b/grpc-google-cloud-workflow-executions-v1/pom.xml @@ -4,13 +4,13 @@4.0.0 com.google.api.grpc grpc-google-cloud-workflow-executions-v1 -2.1.7 +2.2.0 grpc-google-cloud-workflow-executions-v1 GRPC library for google-cloud-workflow-executions com.google.cloud google-cloud-workflow-executions-parent -2.1.7 +2.2.0 diff --git a/grpc-google-cloud-workflow-executions-v1beta/pom.xml b/grpc-google-cloud-workflow-executions-v1beta/pom.xml index 1ce62974..a1d69d71 100644 --- a/grpc-google-cloud-workflow-executions-v1beta/pom.xml +++ b/grpc-google-cloud-workflow-executions-v1beta/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-workflow-executions-v1beta -0.5.7 +0.6.0 grpc-google-cloud-workflow-executions-v1beta GRPC library for google-cloud-workflow-executions com.google.cloud google-cloud-workflow-executions-parent -2.1.7 +2.2.0 diff --git a/pom.xml b/pom.xml index c357ebbf..9ac632a2 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-workflow-executions-parent pom -2.1.7 +2.2.0 Google Cloud Workflow Executions Parent https://github.com/googleapis/java- @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config -1.3.2 +1.4.0 @@ -61,33 +61,33 @@ com.google.cloud google-cloud-workflow-executions -2.1.7 +2.2.0 com.google.api.grpc proto-google-cloud-workflow-executions-v1 -2.1.7 +2.2.0 com.google.api.grpc grpc-google-cloud-workflow-executions-v1 -2.1.7 +2.2.0 com.google.api.grpc proto-google-cloud-workflow-executions-v1beta -0.5.7 +0.6.0 com.google.api.grpc grpc-google-cloud-workflow-executions-v1beta -0.5.7 +0.6.0 @@ -125,7 +125,7 @@ com.google.cloud google-cloud-shared-dependencies -2.10.0 +2.12.0 pom import org.apache.maven.plugins maven-project-info-reports-plugin -3.2.2 +3.3.0 @@ -152,7 +152,7 @@ org.apache.maven.plugins maven-javadoc-plugin -3.3.2 +3.4.0 html diff --git a/proto-google-cloud-workflow-executions-v1/pom.xml b/proto-google-cloud-workflow-executions-v1/pom.xml index 9a4c5f0b..6a2c6e48 100644 --- a/proto-google-cloud-workflow-executions-v1/pom.xml +++ b/proto-google-cloud-workflow-executions-v1/pom.xml @@ -4,13 +4,13 @@4.0.0 com.google.api.grpc proto-google-cloud-workflow-executions-v1 -2.1.7 +2.2.0 proto-google-cloud-workflow-executions-v1 Proto library for google-cloud-workflow-executions com.google.cloud google-cloud-workflow-executions-parent -2.1.7 +2.2.0 diff --git a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java index 209c06d7..ac476a4b 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java @@ -90,6 +90,8 @@ private CancelExecutionRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { diff --git a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java index 84830906..63083170 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java @@ -107,6 +107,8 @@ private CreateExecutionRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { diff --git a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java index b41a091b..d5e50984 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java @@ -176,6 +176,8 @@ private Execution( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { @@ -760,6 +762,8 @@ private StackTraceElement( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { @@ -907,6 +911,8 @@ private Position( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(this); @@ -2749,6 +2755,8 @@ private StackTrace( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { @@ -3881,6 +3889,8 @@ private Error( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { diff --git a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java index cb00a750..e5fa0cf3 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java @@ -1,5 +1,5 @@ /* - * Copyright 2021 Google LLC + * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequest.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequest.java index db843c0d..d8201cde 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequest.java +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequest.java @@ -98,6 +98,8 @@ private GetExecutionRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { diff --git a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java index 20c61555..ef40afe4 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java @@ -111,6 +111,8 @@ private ListExecutionsRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { diff --git a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java index 5bb4a32c..1054df8d 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java @@ -105,6 +105,8 @@ private ListExecutionsResponse( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { diff --git a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java index 12a07f34..7f48d9a2 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java @@ -1,5 +1,5 @@ /* - * Copyright 2021 Google LLC + * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-workflow-executions-v1beta/pom.xml b/proto-google-cloud-workflow-executions-v1beta/pom.xml index 5fb00c9c..c32fe5d7 100644 --- a/proto-google-cloud-workflow-executions-v1beta/pom.xml +++ b/proto-google-cloud-workflow-executions-v1beta/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-workflow-executions-v1beta -0.5.7 +0.6.0 proto-google-cloud-workflow-executions-v1beta Proto library for google-cloud-workflow-executions com.google.cloud google-cloud-workflow-executions-parent -2.1.7 +2.2.0 diff --git a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java index ea6cb9ad..97bf582c 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java @@ -90,6 +90,8 @@ private CancelExecutionRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { diff --git a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java index 429bc90d..edaad805 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java @@ -107,6 +107,8 @@ private CreateExecutionRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { diff --git a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java index f134c40c..e20fba48 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java @@ -168,6 +168,8 @@ private Execution( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { @@ -528,6 +530,8 @@ private Error( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { diff --git a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java index 6e11937f..d92a1b38 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java @@ -1,5 +1,5 @@ /* - * Copyright 2021 Google LLC + * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequest.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequest.java index 66fc554e..461b542d 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequest.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequest.java @@ -98,6 +98,8 @@ private GetExecutionRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { diff --git a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java index 61c7e3d6..58e24987 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java @@ -111,6 +111,8 @@ private ListExecutionsRequest( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { diff --git a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java index dec586b5..96da4bf2 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java @@ -106,6 +106,8 @@ private ListExecutionsResponse( } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { diff --git a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java index 56f8dcd4..8448e60a 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java @@ -1,5 +1,5 @@ /* - * Copyright 2021 Google LLC + * Copyright 2022 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index f3bc9bf6..f30303ff 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -29,7 +29,7 @@ diff --git a/samples/pom.xml b/samples/pom.xml index 042a68e5..4a9489e7 100644 --- a/samples/pom.xml +++ b/samples/pom.xml @@ -46,7 +46,7 @@ com.google.cloud google-cloud-workflow-executions -2.1.6 +2.1.7 org.sonatype.plugins nexus-staging-maven-plugin -1.6.11 +1.6.13 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 929394eb..b9f98d3a 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ true diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index bf966197..c6465525 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-workflow-executions -2.1.7 +2.2.0 com.google.cloud google-cloud-workflow-executions -2.1.6 +2.1.7 diff --git a/versions.txt b/versions.txt index ff8c3dcb..b328cf5d 100644 --- a/versions.txt +++ b/versions.txt @@ -1,8 +1,8 @@ # Format: # module:released-version:current-version -google-cloud-workflow-executions:2.1.7:2.1.7 -grpc-google-cloud-workflow-executions-v1beta:0.5.7:0.5.7 -grpc-google-cloud-workflow-executions-v1:2.1.7:2.1.7 -proto-google-cloud-workflow-executions-v1beta:0.5.7:0.5.7 -proto-google-cloud-workflow-executions-v1:2.1.7:2.1.7 +google-cloud-workflow-executions:2.2.0:2.2.0 +grpc-google-cloud-workflow-executions-v1beta:0.6.0:0.6.0 +grpc-google-cloud-workflow-executions-v1:2.2.0:2.2.0 +proto-google-cloud-workflow-executions-v1beta:0.6.0:0.6.0 +proto-google-cloud-workflow-executions-v1:2.2.0:2.2.0