From 5f67b252adc10509a544b780840574965e3395f7 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 27 May 2021 15:08:04 -0700 Subject: [PATCH] docs: fix grammar in documentation. (#444) PiperOrigin-RevId: 376172241 Source-Author: Google APIs Source-Date: Thu May 27 08:17:40 2021 -0700 Source-Repo: googleapis/googleapis Source-Sha: df616b587f0b4302f15387f315c286035c3b8bb1 Source-Link: https://github.com/googleapis/googleapis/commit/df616b587f0b4302f15387f315c286035c3b8bb1 --- .../java/com/google/cloud/tasks/v2beta2/Queue.java | 14 +++++++------- .../google/cloud/tasks/v2beta2/QueueOrBuilder.java | 4 ++-- .../proto/google/cloud/tasks/v2beta2/queue.proto | 2 +- .../java/com/google/cloud/tasks/v2beta3/Queue.java | 14 +++++++------- .../google/cloud/tasks/v2beta3/QueueOrBuilder.java | 4 ++-- .../proto/google/cloud/tasks/v2beta3/queue.proto | 2 +- synth.metadata | 6 +++--- 7 files changed, 23 insertions(+), 23 deletions(-) diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java index 4c8c5f2b..dd8e70bb 100644 --- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java +++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/Queue.java @@ -870,7 +870,7 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild * *
    * Output only. The state of the queue.
-   * `state` can only be changed by called
+   * `state` can only be changed by calling
    * [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue],
    * [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue], or uploading
    * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref).
@@ -890,7 +890,7 @@ public int getStateValue() {
    *
    * 
    * Output only. The state of the queue.
-   * `state` can only be changed by called
+   * `state` can only be changed by calling
    * [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue],
    * [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue], or uploading
    * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref).
@@ -2940,7 +2940,7 @@ public com.google.cloud.tasks.v2beta2.RetryConfigOrBuilder getRetryConfigOrBuild
      *
      * 
      * Output only. The state of the queue.
-     * `state` can only be changed by called
+     * `state` can only be changed by calling
      * [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue],
      * [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue], or uploading
      * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref).
@@ -2960,7 +2960,7 @@ public int getStateValue() {
      *
      * 
      * Output only. The state of the queue.
-     * `state` can only be changed by called
+     * `state` can only be changed by calling
      * [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue],
      * [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue], or uploading
      * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref).
@@ -2983,7 +2983,7 @@ public Builder setStateValue(int value) {
      *
      * 
      * Output only. The state of the queue.
-     * `state` can only be changed by called
+     * `state` can only be changed by calling
      * [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue],
      * [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue], or uploading
      * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref).
@@ -3006,7 +3006,7 @@ public com.google.cloud.tasks.v2beta2.Queue.State getState() {
      *
      * 
      * Output only. The state of the queue.
-     * `state` can only be changed by called
+     * `state` can only be changed by calling
      * [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue],
      * [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue], or uploading
      * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref).
@@ -3032,7 +3032,7 @@ public Builder setState(com.google.cloud.tasks.v2beta2.Queue.State value) {
      *
      * 
      * Output only. The state of the queue.
-     * `state` can only be changed by called
+     * `state` can only be changed by calling
      * [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue],
      * [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue], or uploading
      * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref).
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java
index 95df0745..15bb0343 100644
--- a/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java
+++ b/proto-google-cloud-tasks-v2beta2/src/main/java/com/google/cloud/tasks/v2beta2/QueueOrBuilder.java
@@ -289,7 +289,7 @@ public interface QueueOrBuilder
    *
    * 
    * Output only. The state of the queue.
-   * `state` can only be changed by called
+   * `state` can only be changed by calling
    * [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue],
    * [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue], or uploading
    * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref).
@@ -306,7 +306,7 @@ public interface QueueOrBuilder
    *
    * 
    * Output only. The state of the queue.
-   * `state` can only be changed by called
+   * `state` can only be changed by calling
    * [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue],
    * [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue], or uploading
    * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref).
diff --git a/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/queue.proto b/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/queue.proto
index 1cc44651..f988d80c 100644
--- a/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/queue.proto
+++ b/proto-google-cloud-tasks-v2beta2/src/main/proto/google/cloud/tasks/v2beta2/queue.proto
@@ -149,7 +149,7 @@ message Queue {
 
   // Output only. The state of the queue.
   //
-  // `state` can only be changed by called
+  // `state` can only be changed by calling
   // [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue],
   // [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue], or uploading
   // [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref).
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java
index 4f3e3e1f..065d014b 100644
--- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java
+++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java
@@ -995,7 +995,7 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
    *
    * 
    * Output only. The state of the queue.
-   * `state` can only be changed by called
+   * `state` can only be changed by calling
    * [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue],
    * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue], or uploading
    * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref).
@@ -1015,7 +1015,7 @@ public int getStateValue() {
    *
    * 
    * Output only. The state of the queue.
-   * `state` can only be changed by called
+   * `state` can only be changed by calling
    * [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue],
    * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue], or uploading
    * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref).
@@ -3040,7 +3040,7 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
      *
      * 
      * Output only. The state of the queue.
-     * `state` can only be changed by called
+     * `state` can only be changed by calling
      * [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue],
      * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue], or uploading
      * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref).
@@ -3060,7 +3060,7 @@ public int getStateValue() {
      *
      * 
      * Output only. The state of the queue.
-     * `state` can only be changed by called
+     * `state` can only be changed by calling
      * [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue],
      * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue], or uploading
      * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref).
@@ -3083,7 +3083,7 @@ public Builder setStateValue(int value) {
      *
      * 
      * Output only. The state of the queue.
-     * `state` can only be changed by called
+     * `state` can only be changed by calling
      * [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue],
      * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue], or uploading
      * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref).
@@ -3106,7 +3106,7 @@ public com.google.cloud.tasks.v2beta3.Queue.State getState() {
      *
      * 
      * Output only. The state of the queue.
-     * `state` can only be changed by called
+     * `state` can only be changed by calling
      * [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue],
      * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue], or uploading
      * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref).
@@ -3132,7 +3132,7 @@ public Builder setState(com.google.cloud.tasks.v2beta3.Queue.State value) {
      *
      * 
      * Output only. The state of the queue.
-     * `state` can only be changed by called
+     * `state` can only be changed by calling
      * [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue],
      * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue], or uploading
      * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref).
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java
index 6ad394d6..cc0ff52c 100644
--- a/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java
+++ b/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java
@@ -275,7 +275,7 @@ public interface QueueOrBuilder
    *
    * 
    * Output only. The state of the queue.
-   * `state` can only be changed by called
+   * `state` can only be changed by calling
    * [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue],
    * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue], or uploading
    * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref).
@@ -292,7 +292,7 @@ public interface QueueOrBuilder
    *
    * 
    * Output only. The state of the queue.
-   * `state` can only be changed by called
+   * `state` can only be changed by calling
    * [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue],
    * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue], or uploading
    * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref).
diff --git a/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto b/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto
index 2b042a12..acf5a7f4 100644
--- a/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto
+++ b/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto
@@ -154,7 +154,7 @@ message Queue {
 
   // Output only. The state of the queue.
   //
-  // `state` can only be changed by called
+  // `state` can only be changed by calling
   // [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue],
   // [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue], or uploading
   // [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref).
diff --git a/synth.metadata b/synth.metadata
index fed0ec2a..31f6e458 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,15 +4,15 @@
       "git": {
         "name": ".",
         "remote": "https://github.com/googleapis/java-tasks.git",
-        "sha": "361857d2517d3a10e7c25d291bc36b5c48b2493f"
+        "sha": "1b57def52a8b89f24ef70c84858c47e854a300f1"
       }
     },
     {
       "git": {
         "name": "googleapis",
         "remote": "https://github.com/googleapis/googleapis.git",
-        "sha": "1305ca41d554eb0725237561e34129373bb8cbc1",
-        "internalRef": "362856902"
+        "sha": "df616b587f0b4302f15387f315c286035c3b8bb1",
+        "internalRef": "376172241"
       }
     },
     {