google-cloud-workflow-executions
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 15e8eb41..557dc8b8 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
@@ -274,6 +274,13 @@ public final ListExecutionsPagedResponse listExecutions(ListExecutionsRequest re
*
* {@code
* try (ExecutionsClient executionsClient = ExecutionsClient.create()) {
+ * ListExecutionsRequest request =
+ * ListExecutionsRequest.newBuilder()
+ * .setParent(WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]").toString())
+ * .setPageSize(883849137)
+ * .setPageToken("pageToken873572522")
+ * .setView(ExecutionView.forNumber(0))
+ * .build();
* while (true) {
* ListExecutionsResponse response = executionsClient.listExecutionsCallable().call(request);
* for (Execution element : response.getResponsesList()) {
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 8571efb9..fb79a7d4 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
@@ -61,7 +61,7 @@ public void reset() {
@Override
public void listExecutions(
ListExecutionsRequest request, StreamObserver responseObserver) {
- Object response = responses.remove();
+ Object response = responses.poll();
if (response instanceof ListExecutionsResponse) {
requests.add(request);
responseObserver.onNext(((ListExecutionsResponse) response));
@@ -73,7 +73,7 @@ public void listExecutions(
new IllegalArgumentException(
String.format(
"Unrecognized response type %s for method ListExecutions, expected %s or %s",
- response.getClass().getName(),
+ response == null ? "null" : response.getClass().getName(),
ListExecutionsResponse.class.getName(),
Exception.class.getName())));
}
@@ -82,7 +82,7 @@ public void listExecutions(
@Override
public void createExecution(
CreateExecutionRequest request, StreamObserver responseObserver) {
- Object response = responses.remove();
+ Object response = responses.poll();
if (response instanceof Execution) {
requests.add(request);
responseObserver.onNext(((Execution) response));
@@ -94,7 +94,7 @@ public void createExecution(
new IllegalArgumentException(
String.format(
"Unrecognized response type %s for method CreateExecution, expected %s or %s",
- response.getClass().getName(),
+ response == null ? "null" : response.getClass().getName(),
Execution.class.getName(),
Exception.class.getName())));
}
@@ -103,7 +103,7 @@ public void createExecution(
@Override
public void getExecution(
GetExecutionRequest request, StreamObserver responseObserver) {
- Object response = responses.remove();
+ Object response = responses.poll();
if (response instanceof Execution) {
requests.add(request);
responseObserver.onNext(((Execution) response));
@@ -115,7 +115,7 @@ public void getExecution(
new IllegalArgumentException(
String.format(
"Unrecognized response type %s for method GetExecution, expected %s or %s",
- response.getClass().getName(),
+ response == null ? "null" : response.getClass().getName(),
Execution.class.getName(),
Exception.class.getName())));
}
@@ -124,7 +124,7 @@ public void getExecution(
@Override
public void cancelExecution(
CancelExecutionRequest request, StreamObserver responseObserver) {
- Object response = responses.remove();
+ Object response = responses.poll();
if (response instanceof Execution) {
requests.add(request);
responseObserver.onNext(((Execution) response));
@@ -136,7 +136,7 @@ public void cancelExecution(
new IllegalArgumentException(
String.format(
"Unrecognized response type %s for method CancelExecution, expected %s or %s",
- response.getClass().getName(),
+ response == null ? "null" : response.getClass().getName(),
Execution.class.getName(),
Exception.class.getName())));
}
diff --git a/grpc-google-cloud-workflow-executions-v1beta/pom.xml b/grpc-google-cloud-workflow-executions-v1beta/pom.xml
index d8fb3e7a..070d19bd 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.1.7
+ 0.1.8
grpc-google-cloud-workflow-executions-v1beta
GRPC library for google-cloud-workflow-executions
com.google.cloud
google-cloud-workflow-executions-parent
- 0.1.7
+ 0.1.8
diff --git a/pom.xml b/pom.xml
index 48771dcd..8d1d3fe1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
com.google.cloud
google-cloud-workflow-executions-parent
pom
- 0.1.7
+ 0.1.8
Google Cloud Workflow Executions Parent
https://github.com/googleapis/java-
@@ -70,23 +70,23 @@
com.google.cloud
google-cloud-workflow-executions
- 0.1.7
+ 0.1.8
com.google.api.grpc
proto-google-cloud-workflow-executions-v1beta
- 0.1.7
+ 0.1.8
com.google.api.grpc
grpc-google-cloud-workflow-executions-v1beta
- 0.1.7
+ 0.1.8
com.google.cloud
google-cloud-shared-dependencies
- 0.20.1
+ 0.21.0
pom
import
diff --git a/proto-google-cloud-workflow-executions-v1beta/pom.xml b/proto-google-cloud-workflow-executions-v1beta/pom.xml
index 72949272..60e9b644 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.1.7
+ 0.1.8
proto-google-cloud-workflow-executions-v1beta
Proto library for google-cloud-workflow-executions
com.google.cloud
google-cloud-workflow-executions-parent
- 0.1.7
+ 0.1.8
diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 38f4b3a9..6c3fd0a5 100644
--- a/samples/install-without-bom/pom.xml
+++ b/samples/install-without-bom/pom.xml
@@ -14,7 +14,7 @@
com.google.cloud.samples
shared-configuration
- 1.0.21
+ 1.0.22
@@ -29,7 +29,7 @@
com.google.cloud
google-cloud-workflow-executions
- 0.1.6
+ 0.1.7
diff --git a/samples/pom.xml b/samples/pom.xml
index 1e2e9108..d219a428 100644
--- a/samples/pom.xml
+++ b/samples/pom.xml
@@ -18,7 +18,7 @@
com.google.cloud.samples
shared-configuration
- 1.0.21
+ 1.0.22
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index 86fb8685..9a8723a2 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -14,7 +14,7 @@
com.google.cloud.samples
shared-configuration
- 1.0.21
+ 1.0.22
@@ -28,7 +28,7 @@
com.google.cloud
google-cloud-workflow-executions
- 0.1.7
+ 0.1.8
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index 42901d7d..2e446048 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -14,7 +14,7 @@
com.google.cloud.samples
shared-configuration
- 1.0.21
+ 1.0.22
@@ -28,7 +28,7 @@
com.google.cloud
google-cloud-workflow-executions
- 0.1.6
+ 0.1.7
diff --git a/synth.metadata b/synth.metadata
index 8173c160..0535a792 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,22 +4,22 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-workflow-executions.git",
- "sha": "d1bf19039d9e8afead2aa8b1a2ff7dbe43dedb14"
+ "sha": "997fed1d2e867155eaf80c607fcde887b6c88140"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "0e915217fb5261c1e57bfaf0e16ee5c7feaaba89",
- "internalRef": "361377784"
+ "sha": "1305ca41d554eb0725237561e34129373bb8cbc1",
+ "internalRef": "362856902"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "0b064d767537e0675fc053e53fca473c5c701fb8"
+ "sha": "572ef8f70edd9041f5bcfa71511aed6aecfc2098"
}
}
],
diff --git a/versions.txt b/versions.txt
index 3400c036..5fa158d6 100644
--- a/versions.txt
+++ b/versions.txt
@@ -1,6 +1,6 @@
# Format:
# module:released-version:current-version
-google-cloud-workflow-executions:0.1.7:0.1.7
-proto-google-cloud-workflow-executions-v1beta:0.1.7:0.1.7
-grpc-google-cloud-workflow-executions-v1beta:0.1.7:0.1.7
\ No newline at end of file
+google-cloud-workflow-executions:0.1.8:0.1.8
+proto-google-cloud-workflow-executions-v1beta:0.1.8:0.1.8
+grpc-google-cloud-workflow-executions-v1beta:0.1.8:0.1.8
\ No newline at end of file