diff --git a/google-api-grpc/grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java b/google-api-grpc/grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java index 93a09ad82ce0..8ff613e09159 100644 --- a/google-api-grpc/grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java +++ b/google-api-grpc/grpc-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksGrpc.java @@ -918,14 +918,13 @@ public void getQueue( *
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
-     * days. After a task is 31 days old, the task will be deleted regardless of
-     * whether it was dispatched or not.
+     * days. After a task is 31 days old, the task will be deleted regardless of whether
+     * it was dispatched or not.
      * WARNING: Using this method may have unintended side effects if you are
      * using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
      * Read
-     * [Overview of Queue Management and
-     * queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using
-     * this method.
+     * [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml)
+     * before using this method.
      * 
*/ public void createQueue( @@ -942,14 +941,13 @@ public void createQueue( * This method creates the queue if it does not exist and updates * the queue if it does exist. * Queues created with this method allow tasks to live for a maximum of 31 - * days. After a task is 31 days old, the task will be deleted regardless of - * whether it was dispatched or not. + * days. After a task is 31 days old, the task will be deleted regardless of whether + * it was dispatched or not. * WARNING: Using this method may have unintended side effects if you are * using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. * Read - * [Overview of Queue Management and - * queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using - * this method. + * [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) + * before using this method. * */ public void updateQueue( @@ -969,9 +967,8 @@ public void updateQueue( * WARNING: Using this method may have unintended side effects if you are * using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. * Read - * [Overview of Queue Management and - * queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using - * this method. + * [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) + * before using this method. * */ public void deleteQueue( @@ -1003,10 +1000,9 @@ public void purgeQueue( * Pauses the queue. * If a queue is paused then the system will stop dispatching tasks * until the queue is resumed via - * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue]. Tasks can - * still be added when the queue is paused. A queue is paused if its - * [state][google.cloud.tasks.v2beta3.Queue.state] is - * [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED]. + * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue]. Tasks can still be added + * when the queue is paused. A queue is paused if its + * [state][google.cloud.tasks.v2beta3.Queue.state] is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED]. * */ public void pauseQueue( @@ -1022,16 +1018,13 @@ public void pauseQueue( * Resume a queue. * This method resumes a queue after it has been * [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED] or - * [DISABLED][google.cloud.tasks.v2beta3.Queue.State.DISABLED]. The state of a - * queue is stored in the queue's - * [state][google.cloud.tasks.v2beta3.Queue.state]; after calling this method - * it will be set to - * [RUNNING][google.cloud.tasks.v2beta3.Queue.State.RUNNING]. + * [DISABLED][google.cloud.tasks.v2beta3.Queue.State.DISABLED]. The state of a queue is stored + * in the queue's [state][google.cloud.tasks.v2beta3.Queue.state]; after calling this method it + * will be set to [RUNNING][google.cloud.tasks.v2beta3.Queue.State.RUNNING]. * WARNING: Resuming many high-QPS queues at the same time can * lead to target overloading. If you are resuming high-QPS * queues, follow the 500/50/5 pattern described in - * [Managing Cloud Tasks Scaling - * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling). + * [Managing Cloud Tasks Scaling Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling). * */ public void resumeQueue( @@ -1044,9 +1037,9 @@ public void resumeQueue( * * *
-     * Gets the access control policy for a
-     * [Queue][google.cloud.tasks.v2beta3.Queue]. Returns an empty policy if the
-     * resource exists and does not have a policy set.
+     * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue].
+     * Returns an empty policy if the resource exists and does not have a policy
+     * set.
      * Authorization requires the following
      * [Google IAM](https://cloud.google.com/iam) permission on the specified
      * resource parent:
@@ -1063,8 +1056,8 @@ public void getIamPolicy(
      *
      *
      * 
-     * Sets the access control policy for a
-     * [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing policy.
+     * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing
+     * policy.
      * Note: The Cloud Console does not check queue-level IAM permissions yet.
      * Project-level permissions are required to use the Cloud Console.
      * Authorization requires the following
@@ -1083,10 +1076,9 @@ public void setIamPolicy(
      *
      *
      * 
-     * Returns permissions that a caller has on a
-     * [Queue][google.cloud.tasks.v2beta3.Queue]. If the resource does not exist,
-     * this will return an empty set of permissions, not a
-     * [NOT_FOUND][google.rpc.Code.NOT_FOUND] error.
+     * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta3.Queue].
+     * If the resource does not exist, this will return an empty set of
+     * permissions, not a [NOT_FOUND][google.rpc.Code.NOT_FOUND] error.
      * Note: This operation is designed to be used for building permission-aware
      * UIs and command-line tools, not for authorization checking. This operation
      * may "fail open" without warning.
@@ -1104,10 +1096,10 @@ public void testIamPermissions(
      *
      * 
      * Lists the tasks in a queue.
-     * By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]
-     * view is retrieved due to performance considerations;
-     * [response_view][google.cloud.tasks.v2beta3.ListTasksRequest.response_view]
-     * controls the subset of information which is returned.
+     * By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC] view is retrieved
+     * due to performance considerations;
+     * [response_view][google.cloud.tasks.v2beta3.ListTasksRequest.response_view] controls the
+     * subset of information which is returned.
      * The tasks may be returned in any order. The ordering may change at any
      * time.
      * 
@@ -1138,8 +1130,7 @@ public void getTask( *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
-     * * For [App Engine queues][google.cloud.tasks.v2beta3.AppEngineHttpQueue],
-     * the maximum task size is
+     * * For [App Engine queues][google.cloud.tasks.v2beta3.AppEngineHttpQueue], the maximum task size is
      *   100KB.
      * 
*/ @@ -1171,23 +1162,20 @@ public void deleteTask( *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
-     * the task is already running, the queue has reached its
-     * [RateLimits][google.cloud.tasks.v2beta3.RateLimits] or is
-     * [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED].
+     * the task is already running, the queue has reached its [RateLimits][google.cloud.tasks.v2beta3.RateLimits] or
+     * is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED].
      * This command is meant to be used for manual debugging. For
-     * example, [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] can be
-     * used to retry a failed task after a fix has been made or to manually force
-     * a task to be dispatched now.
+     * example, [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] can be used to retry a failed
+     * task after a fix has been made or to manually force a task to be
+     * dispatched now.
      * The dispatched task is returned. That is, the task that is returned
      * contains the [status][Task.status] after the task is dispatched but
      * before the task is received by its target.
      * If Cloud Tasks receives a successful response from the task's
      * target, then the task will be deleted; otherwise the task's
-     * [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] will be
-     * reset to the time that
-     * [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] was called plus
-     * the retry delay specified in the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig].
+     * [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] will be reset to the time that
+     * [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] was called plus the retry delay specified
+     * in the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig].
      * [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] returns
      * [NOT_FOUND][google.rpc.Code.NOT_FOUND] when it is called on a
      * task that has already succeeded or permanently failed.
@@ -1366,14 +1354,13 @@ public void getQueue(
      * 
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
-     * days. After a task is 31 days old, the task will be deleted regardless of
-     * whether it was dispatched or not.
+     * days. After a task is 31 days old, the task will be deleted regardless of whether
+     * it was dispatched or not.
      * WARNING: Using this method may have unintended side effects if you are
      * using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
      * Read
-     * [Overview of Queue Management and
-     * queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using
-     * this method.
+     * [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml)
+     * before using this method.
      * 
*/ public void createQueue( @@ -1393,14 +1380,13 @@ public void createQueue( * This method creates the queue if it does not exist and updates * the queue if it does exist. * Queues created with this method allow tasks to live for a maximum of 31 - * days. After a task is 31 days old, the task will be deleted regardless of - * whether it was dispatched or not. + * days. After a task is 31 days old, the task will be deleted regardless of whether + * it was dispatched or not. * WARNING: Using this method may have unintended side effects if you are * using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. * Read - * [Overview of Queue Management and - * queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using - * this method. + * [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) + * before using this method. *
*/ public void updateQueue( @@ -1423,9 +1409,8 @@ public void updateQueue( * WARNING: Using this method may have unintended side effects if you are * using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. * Read - * [Overview of Queue Management and - * queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using - * this method. + * [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) + * before using this method. *
*/ public void deleteQueue( @@ -1463,10 +1448,9 @@ public void purgeQueue( * Pauses the queue. * If a queue is paused then the system will stop dispatching tasks * until the queue is resumed via - * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue]. Tasks can - * still be added when the queue is paused. A queue is paused if its - * [state][google.cloud.tasks.v2beta3.Queue.state] is - * [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED]. + * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue]. Tasks can still be added + * when the queue is paused. A queue is paused if its + * [state][google.cloud.tasks.v2beta3.Queue.state] is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED]. *
*/ public void pauseQueue( @@ -1485,16 +1469,13 @@ public void pauseQueue( * Resume a queue. * This method resumes a queue after it has been * [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED] or - * [DISABLED][google.cloud.tasks.v2beta3.Queue.State.DISABLED]. The state of a - * queue is stored in the queue's - * [state][google.cloud.tasks.v2beta3.Queue.state]; after calling this method - * it will be set to - * [RUNNING][google.cloud.tasks.v2beta3.Queue.State.RUNNING]. + * [DISABLED][google.cloud.tasks.v2beta3.Queue.State.DISABLED]. The state of a queue is stored + * in the queue's [state][google.cloud.tasks.v2beta3.Queue.state]; after calling this method it + * will be set to [RUNNING][google.cloud.tasks.v2beta3.Queue.State.RUNNING]. * WARNING: Resuming many high-QPS queues at the same time can * lead to target overloading. If you are resuming high-QPS * queues, follow the 500/50/5 pattern described in - * [Managing Cloud Tasks Scaling - * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling). + * [Managing Cloud Tasks Scaling Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling). *
*/ public void resumeQueue( @@ -1510,9 +1491,9 @@ public void resumeQueue( * * *
-     * Gets the access control policy for a
-     * [Queue][google.cloud.tasks.v2beta3.Queue]. Returns an empty policy if the
-     * resource exists and does not have a policy set.
+     * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue].
+     * Returns an empty policy if the resource exists and does not have a policy
+     * set.
      * Authorization requires the following
      * [Google IAM](https://cloud.google.com/iam) permission on the specified
      * resource parent:
@@ -1532,8 +1513,8 @@ public void getIamPolicy(
      *
      *
      * 
-     * Sets the access control policy for a
-     * [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing policy.
+     * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing
+     * policy.
      * Note: The Cloud Console does not check queue-level IAM permissions yet.
      * Project-level permissions are required to use the Cloud Console.
      * Authorization requires the following
@@ -1555,10 +1536,9 @@ public void setIamPolicy(
      *
      *
      * 
-     * Returns permissions that a caller has on a
-     * [Queue][google.cloud.tasks.v2beta3.Queue]. If the resource does not exist,
-     * this will return an empty set of permissions, not a
-     * [NOT_FOUND][google.rpc.Code.NOT_FOUND] error.
+     * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta3.Queue].
+     * If the resource does not exist, this will return an empty set of
+     * permissions, not a [NOT_FOUND][google.rpc.Code.NOT_FOUND] error.
      * Note: This operation is designed to be used for building permission-aware
      * UIs and command-line tools, not for authorization checking. This operation
      * may "fail open" without warning.
@@ -1579,10 +1559,10 @@ public void testIamPermissions(
      *
      * 
      * Lists the tasks in a queue.
-     * By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]
-     * view is retrieved due to performance considerations;
-     * [response_view][google.cloud.tasks.v2beta3.ListTasksRequest.response_view]
-     * controls the subset of information which is returned.
+     * By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC] view is retrieved
+     * due to performance considerations;
+     * [response_view][google.cloud.tasks.v2beta3.ListTasksRequest.response_view] controls the
+     * subset of information which is returned.
      * The tasks may be returned in any order. The ordering may change at any
      * time.
      * 
@@ -1619,8 +1599,7 @@ public void getTask( *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
-     * * For [App Engine queues][google.cloud.tasks.v2beta3.AppEngineHttpQueue],
-     * the maximum task size is
+     * * For [App Engine queues][google.cloud.tasks.v2beta3.AppEngineHttpQueue], the maximum task size is
      *   100KB.
      * 
*/ @@ -1658,23 +1637,20 @@ public void deleteTask( *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
-     * the task is already running, the queue has reached its
-     * [RateLimits][google.cloud.tasks.v2beta3.RateLimits] or is
-     * [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED].
+     * the task is already running, the queue has reached its [RateLimits][google.cloud.tasks.v2beta3.RateLimits] or
+     * is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED].
      * This command is meant to be used for manual debugging. For
-     * example, [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] can be
-     * used to retry a failed task after a fix has been made or to manually force
-     * a task to be dispatched now.
+     * example, [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] can be used to retry a failed
+     * task after a fix has been made or to manually force a task to be
+     * dispatched now.
      * The dispatched task is returned. That is, the task that is returned
      * contains the [status][Task.status] after the task is dispatched but
      * before the task is received by its target.
      * If Cloud Tasks receives a successful response from the task's
      * target, then the task will be deleted; otherwise the task's
-     * [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] will be
-     * reset to the time that
-     * [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] was called plus
-     * the retry delay specified in the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig].
+     * [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] will be reset to the time that
+     * [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] was called plus the retry delay specified
+     * in the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig].
      * [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] returns
      * [NOT_FOUND][google.rpc.Code.NOT_FOUND] when it is called on a
      * task that has already succeeded or permanently failed.
@@ -1746,14 +1722,13 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue(
      * 
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
-     * days. After a task is 31 days old, the task will be deleted regardless of
-     * whether it was dispatched or not.
+     * days. After a task is 31 days old, the task will be deleted regardless of whether
+     * it was dispatched or not.
      * WARNING: Using this method may have unintended side effects if you are
      * using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
      * Read
-     * [Overview of Queue Management and
-     * queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using
-     * this method.
+     * [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml)
+     * before using this method.
      * 
*/ public com.google.cloud.tasks.v2beta3.Queue createQueue( @@ -1770,14 +1745,13 @@ public com.google.cloud.tasks.v2beta3.Queue createQueue( * This method creates the queue if it does not exist and updates * the queue if it does exist. * Queues created with this method allow tasks to live for a maximum of 31 - * days. After a task is 31 days old, the task will be deleted regardless of - * whether it was dispatched or not. + * days. After a task is 31 days old, the task will be deleted regardless of whether + * it was dispatched or not. * WARNING: Using this method may have unintended side effects if you are * using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. * Read - * [Overview of Queue Management and - * queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using - * this method. + * [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) + * before using this method. *
*/ public com.google.cloud.tasks.v2beta3.Queue updateQueue( @@ -1797,9 +1771,8 @@ public com.google.cloud.tasks.v2beta3.Queue updateQueue( * WARNING: Using this method may have unintended side effects if you are * using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. * Read - * [Overview of Queue Management and - * queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using - * this method. + * [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) + * before using this method. *
*/ public com.google.protobuf.Empty deleteQueue( @@ -1831,10 +1804,9 @@ public com.google.cloud.tasks.v2beta3.Queue purgeQueue( * Pauses the queue. * If a queue is paused then the system will stop dispatching tasks * until the queue is resumed via - * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue]. Tasks can - * still be added when the queue is paused. A queue is paused if its - * [state][google.cloud.tasks.v2beta3.Queue.state] is - * [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED]. + * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue]. Tasks can still be added + * when the queue is paused. A queue is paused if its + * [state][google.cloud.tasks.v2beta3.Queue.state] is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED]. *
*/ public com.google.cloud.tasks.v2beta3.Queue pauseQueue( @@ -1850,16 +1822,13 @@ public com.google.cloud.tasks.v2beta3.Queue pauseQueue( * Resume a queue. * This method resumes a queue after it has been * [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED] or - * [DISABLED][google.cloud.tasks.v2beta3.Queue.State.DISABLED]. The state of a - * queue is stored in the queue's - * [state][google.cloud.tasks.v2beta3.Queue.state]; after calling this method - * it will be set to - * [RUNNING][google.cloud.tasks.v2beta3.Queue.State.RUNNING]. + * [DISABLED][google.cloud.tasks.v2beta3.Queue.State.DISABLED]. The state of a queue is stored + * in the queue's [state][google.cloud.tasks.v2beta3.Queue.state]; after calling this method it + * will be set to [RUNNING][google.cloud.tasks.v2beta3.Queue.State.RUNNING]. * WARNING: Resuming many high-QPS queues at the same time can * lead to target overloading. If you are resuming high-QPS * queues, follow the 500/50/5 pattern described in - * [Managing Cloud Tasks Scaling - * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling). + * [Managing Cloud Tasks Scaling Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling). *
*/ public com.google.cloud.tasks.v2beta3.Queue resumeQueue( @@ -1872,9 +1841,9 @@ public com.google.cloud.tasks.v2beta3.Queue resumeQueue( * * *
-     * Gets the access control policy for a
-     * [Queue][google.cloud.tasks.v2beta3.Queue]. Returns an empty policy if the
-     * resource exists and does not have a policy set.
+     * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue].
+     * Returns an empty policy if the resource exists and does not have a policy
+     * set.
      * Authorization requires the following
      * [Google IAM](https://cloud.google.com/iam) permission on the specified
      * resource parent:
@@ -1890,8 +1859,8 @@ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyReque
      *
      *
      * 
-     * Sets the access control policy for a
-     * [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing policy.
+     * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing
+     * policy.
      * Note: The Cloud Console does not check queue-level IAM permissions yet.
      * Project-level permissions are required to use the Cloud Console.
      * Authorization requires the following
@@ -1909,10 +1878,9 @@ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyReque
      *
      *
      * 
-     * Returns permissions that a caller has on a
-     * [Queue][google.cloud.tasks.v2beta3.Queue]. If the resource does not exist,
-     * this will return an empty set of permissions, not a
-     * [NOT_FOUND][google.rpc.Code.NOT_FOUND] error.
+     * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta3.Queue].
+     * If the resource does not exist, this will return an empty set of
+     * permissions, not a [NOT_FOUND][google.rpc.Code.NOT_FOUND] error.
      * Note: This operation is designed to be used for building permission-aware
      * UIs and command-line tools, not for authorization checking. This operation
      * may "fail open" without warning.
@@ -1929,10 +1897,10 @@ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions(
      *
      * 
      * Lists the tasks in a queue.
-     * By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]
-     * view is retrieved due to performance considerations;
-     * [response_view][google.cloud.tasks.v2beta3.ListTasksRequest.response_view]
-     * controls the subset of information which is returned.
+     * By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC] view is retrieved
+     * due to performance considerations;
+     * [response_view][google.cloud.tasks.v2beta3.ListTasksRequest.response_view] controls the
+     * subset of information which is returned.
      * The tasks may be returned in any order. The ordering may change at any
      * time.
      * 
@@ -1960,8 +1928,7 @@ public com.google.cloud.tasks.v2beta3.Task getTask( *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
-     * * For [App Engine queues][google.cloud.tasks.v2beta3.AppEngineHttpQueue],
-     * the maximum task size is
+     * * For [App Engine queues][google.cloud.tasks.v2beta3.AppEngineHttpQueue], the maximum task size is
      *   100KB.
      * 
*/ @@ -1993,23 +1960,20 @@ public com.google.protobuf.Empty deleteTask( *
      * Forces a task to run now.
      * When this method is called, Cloud Tasks will dispatch the task, even if
-     * the task is already running, the queue has reached its
-     * [RateLimits][google.cloud.tasks.v2beta3.RateLimits] or is
-     * [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED].
+     * the task is already running, the queue has reached its [RateLimits][google.cloud.tasks.v2beta3.RateLimits] or
+     * is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED].
      * This command is meant to be used for manual debugging. For
-     * example, [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] can be
-     * used to retry a failed task after a fix has been made or to manually force
-     * a task to be dispatched now.
+     * example, [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] can be used to retry a failed
+     * task after a fix has been made or to manually force a task to be
+     * dispatched now.
      * The dispatched task is returned. That is, the task that is returned
      * contains the [status][Task.status] after the task is dispatched but
      * before the task is received by its target.
      * If Cloud Tasks receives a successful response from the task's
      * target, then the task will be deleted; otherwise the task's
-     * [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] will be
-     * reset to the time that
-     * [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] was called plus
-     * the retry delay specified in the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig].
+     * [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] will be reset to the time that
+     * [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] was called plus the retry delay specified
+     * in the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig].
      * [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] returns
      * [NOT_FOUND][google.rpc.Code.NOT_FOUND] when it is called on a
      * task that has already succeeded or permanently failed.
@@ -2078,14 +2042,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      * 
      * Creates a queue.
      * Queues created with this method allow tasks to live for a maximum of 31
-     * days. After a task is 31 days old, the task will be deleted regardless of
-     * whether it was dispatched or not.
+     * days. After a task is 31 days old, the task will be deleted regardless of whether
+     * it was dispatched or not.
      * WARNING: Using this method may have unintended side effects if you are
      * using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
      * Read
-     * [Overview of Queue Management and
-     * queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using
-     * this method.
+     * [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml)
+     * before using this method.
      * 
*/ public com.google.common.util.concurrent.ListenableFuture @@ -2102,14 +2065,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption * This method creates the queue if it does not exist and updates * the queue if it does exist. * Queues created with this method allow tasks to live for a maximum of 31 - * days. After a task is 31 days old, the task will be deleted regardless of - * whether it was dispatched or not. + * days. After a task is 31 days old, the task will be deleted regardless of whether + * it was dispatched or not. * WARNING: Using this method may have unintended side effects if you are * using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. * Read - * [Overview of Queue Management and - * queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using - * this method. + * [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) + * before using this method. *
*/ public com.google.common.util.concurrent.ListenableFuture @@ -2129,9 +2091,8 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption * WARNING: Using this method may have unintended side effects if you are * using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. * Read - * [Overview of Queue Management and - * queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using - * this method. + * [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) + * before using this method. *
*/ public com.google.common.util.concurrent.ListenableFuture @@ -2163,10 +2124,9 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption * Pauses the queue. * If a queue is paused then the system will stop dispatching tasks * until the queue is resumed via - * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue]. Tasks can - * still be added when the queue is paused. A queue is paused if its - * [state][google.cloud.tasks.v2beta3.Queue.state] is - * [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED]. + * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue]. Tasks can still be added + * when the queue is paused. A queue is paused if its + * [state][google.cloud.tasks.v2beta3.Queue.state] is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED]. *
*/ public com.google.common.util.concurrent.ListenableFuture @@ -2182,16 +2142,13 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption * Resume a queue. * This method resumes a queue after it has been * [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED] or - * [DISABLED][google.cloud.tasks.v2beta3.Queue.State.DISABLED]. The state of a - * queue is stored in the queue's - * [state][google.cloud.tasks.v2beta3.Queue.state]; after calling this method - * it will be set to - * [RUNNING][google.cloud.tasks.v2beta3.Queue.State.RUNNING]. + * [DISABLED][google.cloud.tasks.v2beta3.Queue.State.DISABLED]. The state of a queue is stored + * in the queue's [state][google.cloud.tasks.v2beta3.Queue.state]; after calling this method it + * will be set to [RUNNING][google.cloud.tasks.v2beta3.Queue.State.RUNNING]. * WARNING: Resuming many high-QPS queues at the same time can * lead to target overloading. If you are resuming high-QPS * queues, follow the 500/50/5 pattern described in - * [Managing Cloud Tasks Scaling - * Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling). + * [Managing Cloud Tasks Scaling Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling). *
*/ public com.google.common.util.concurrent.ListenableFuture @@ -2204,9 +2161,9 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption * * *
-     * Gets the access control policy for a
-     * [Queue][google.cloud.tasks.v2beta3.Queue]. Returns an empty policy if the
-     * resource exists and does not have a policy set.
+     * Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue].
+     * Returns an empty policy if the resource exists and does not have a policy
+     * set.
      * Authorization requires the following
      * [Google IAM](https://cloud.google.com/iam) permission on the specified
      * resource parent:
@@ -2223,8 +2180,8 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      *
      *
      * 
-     * Sets the access control policy for a
-     * [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing policy.
+     * Sets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing
+     * policy.
      * Note: The Cloud Console does not check queue-level IAM permissions yet.
      * Project-level permissions are required to use the Cloud Console.
      * Authorization requires the following
@@ -2243,10 +2200,9 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      *
      *
      * 
-     * Returns permissions that a caller has on a
-     * [Queue][google.cloud.tasks.v2beta3.Queue]. If the resource does not exist,
-     * this will return an empty set of permissions, not a
-     * [NOT_FOUND][google.rpc.Code.NOT_FOUND] error.
+     * Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta3.Queue].
+     * If the resource does not exist, this will return an empty set of
+     * permissions, not a [NOT_FOUND][google.rpc.Code.NOT_FOUND] error.
      * Note: This operation is designed to be used for building permission-aware
      * UIs and command-line tools, not for authorization checking. This operation
      * may "fail open" without warning.
@@ -2264,10 +2220,10 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption
      *
      * 
      * Lists the tasks in a queue.
-     * By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]
-     * view is retrieved due to performance considerations;
-     * [response_view][google.cloud.tasks.v2beta3.ListTasksRequest.response_view]
-     * controls the subset of information which is returned.
+     * By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC] view is retrieved
+     * due to performance considerations;
+     * [response_view][google.cloud.tasks.v2beta3.ListTasksRequest.response_view] controls the
+     * subset of information which is returned.
      * The tasks may be returned in any order. The ordering may change at any
      * time.
      * 
@@ -2298,8 +2254,7 @@ protected CloudTasksFutureStub build(io.grpc.Channel channel, io.grpc.CallOption *
      * Creates a task and adds it to a queue.
      * Tasks cannot be updated after creation; there is no UpdateTask command.
-     * * For [App Engine queues][google.cloud.tasks.v2beta3.AppEngineHttpQueue],
-     * the maximum task size is
+     * * For [App Engine queues][google.cloud.tasks.v2beta3.AppEngineHttpQueue], the maximum task size is
      *   100KB.
      * 
*/ @@ -2331,23 +2286,20 @@ public com.google.common.util.concurrent.ListenableFuture * Forces a task to run now. * When this method is called, Cloud Tasks will dispatch the task, even if - * the task is already running, the queue has reached its - * [RateLimits][google.cloud.tasks.v2beta3.RateLimits] or is - * [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED]. + * the task is already running, the queue has reached its [RateLimits][google.cloud.tasks.v2beta3.RateLimits] or + * is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED]. * This command is meant to be used for manual debugging. For - * example, [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] can be - * used to retry a failed task after a fix has been made or to manually force - * a task to be dispatched now. + * example, [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] can be used to retry a failed + * task after a fix has been made or to manually force a task to be + * dispatched now. * The dispatched task is returned. That is, the task that is returned * contains the [status][Task.status] after the task is dispatched but * before the task is received by its target. * If Cloud Tasks receives a successful response from the task's * target, then the task will be deleted; otherwise the task's - * [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] will be - * reset to the time that - * [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] was called plus - * the retry delay specified in the queue's - * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. + * [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] will be reset to the time that + * [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] was called plus the retry delay specified + * in the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. * [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] returns * [NOT_FOUND][google.rpc.Code.NOT_FOUND] when it is called on a * task that has already succeeded or permanently failed. diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java index 97568f300173..b2722b73c798 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueue.java @@ -9,14 +9,10 @@ *
  * App Engine HTTP queue.
  * The task will be delivered to the App Engine application hostname
- * specified by its
- * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] and
- * [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest]. The
- * documentation for
- * [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest]
- * explains how the task's host URL is constructed.
- * Using [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue]
- * requires
+ * specified by its [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] and [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest].
+ * The documentation for [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] explains how the
+ * task's host URL is constructed.
+ * Using [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] requires
  * [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control)
  * Google IAM permission for the project
  * and the following scope:
@@ -118,12 +114,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * 
    * Overrides for the
-   * [task-level
-   * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
+   * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
    * If set, `app_engine_routing_override` is used for all tasks in
    * the queue, no matter what the setting is for the
-   * [task-level
-   * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
+   * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; @@ -136,12 +130,10 @@ public boolean hasAppEngineRoutingOverride() { * *
    * Overrides for the
-   * [task-level
-   * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
+   * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
    * If set, `app_engine_routing_override` is used for all tasks in
    * the queue, no matter what the setting is for the
-   * [task-level
-   * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
+   * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; @@ -156,12 +148,10 @@ public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRoutingOverri * *
    * Overrides for the
-   * [task-level
-   * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
+   * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
    * If set, `app_engine_routing_override` is used for all tasks in
    * the queue, no matter what the setting is for the
-   * [task-level
-   * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
+   * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; @@ -343,14 +333,10 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build *
    * App Engine HTTP queue.
    * The task will be delivered to the App Engine application hostname
-   * specified by its
-   * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] and
-   * [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest]. The
-   * documentation for
-   * [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest]
-   * explains how the task's host URL is constructed.
-   * Using [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue]
-   * requires
+   * specified by its [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] and [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest].
+   * The documentation for [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] explains how the
+   * task's host URL is constructed.
+   * Using [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] requires
    * [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control)
    * Google IAM permission for the project
    * and the following scope:
@@ -527,12 +513,10 @@ public Builder mergeFrom(
      *
      * 
      * Overrides for the
-     * [task-level
-     * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
+     * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
      * If set, `app_engine_routing_override` is used for all tasks in
      * the queue, no matter what the setting is for the
-     * [task-level
-     * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
+     * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
      * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; @@ -545,12 +529,10 @@ public boolean hasAppEngineRoutingOverride() { * *
      * Overrides for the
-     * [task-level
-     * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
+     * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
      * If set, `app_engine_routing_override` is used for all tasks in
      * the queue, no matter what the setting is for the
-     * [task-level
-     * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
+     * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
      * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; @@ -569,12 +551,10 @@ public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRoutingOverri * *
      * Overrides for the
-     * [task-level
-     * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
+     * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
      * If set, `app_engine_routing_override` is used for all tasks in
      * the queue, no matter what the setting is for the
-     * [task-level
-     * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
+     * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
      * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; @@ -598,12 +578,10 @@ public Builder setAppEngineRoutingOverride( * *
      * Overrides for the
-     * [task-level
-     * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
+     * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
      * If set, `app_engine_routing_override` is used for all tasks in
      * the queue, no matter what the setting is for the
-     * [task-level
-     * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
+     * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
      * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; @@ -624,12 +602,10 @@ public Builder setAppEngineRoutingOverride( * *
      * Overrides for the
-     * [task-level
-     * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
+     * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
      * If set, `app_engine_routing_override` is used for all tasks in
      * the queue, no matter what the setting is for the
-     * [task-level
-     * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
+     * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
      * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; @@ -657,12 +633,10 @@ public Builder mergeAppEngineRoutingOverride( * *
      * Overrides for the
-     * [task-level
-     * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
+     * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
      * If set, `app_engine_routing_override` is used for all tasks in
      * the queue, no matter what the setting is for the
-     * [task-level
-     * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
+     * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
      * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; @@ -683,12 +657,10 @@ public Builder clearAppEngineRoutingOverride() { * *
      * Overrides for the
-     * [task-level
-     * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
+     * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
      * If set, `app_engine_routing_override` is used for all tasks in
      * the queue, no matter what the setting is for the
-     * [task-level
-     * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
+     * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
      * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; @@ -704,12 +676,10 @@ public Builder clearAppEngineRoutingOverride() { * *
      * Overrides for the
-     * [task-level
-     * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
+     * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
      * If set, `app_engine_routing_override` is used for all tasks in
      * the queue, no matter what the setting is for the
-     * [task-level
-     * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
+     * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
      * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; @@ -729,12 +699,10 @@ public Builder clearAppEngineRoutingOverride() { * *
      * Overrides for the
-     * [task-level
-     * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
+     * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
      * If set, `app_engine_routing_override` is used for all tasks in
      * the queue, no matter what the setting is for the
-     * [task-level
-     * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
+     * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
      * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java index 88d5636bd391..e4aeeedfbb54 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpQueueOrBuilder.java @@ -13,12 +13,10 @@ public interface AppEngineHttpQueueOrBuilder * *
    * Overrides for the
-   * [task-level
-   * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
+   * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
    * If set, `app_engine_routing_override` is used for all tasks in
    * the queue, no matter what the setting is for the
-   * [task-level
-   * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
+   * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; @@ -29,12 +27,10 @@ public interface AppEngineHttpQueueOrBuilder * *
    * Overrides for the
-   * [task-level
-   * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
+   * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
    * If set, `app_engine_routing_override` is used for all tasks in
    * the queue, no matter what the setting is for the
-   * [task-level
-   * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
+   * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; @@ -45,12 +41,10 @@ public interface AppEngineHttpQueueOrBuilder * *
    * Overrides for the
-   * [task-level
-   * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
+   * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
    * If set, `app_engine_routing_override` is used for all tasks in
    * the queue, no matter what the setting is for the
-   * [task-level
-   * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
+   * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
    * 
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing_override = 1; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java index ff6eb2621977..610ee0b1d1ce 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequest.java @@ -11,10 +11,8 @@ * The message defines the HTTP request that is sent to an App Engine app when * the task is dispatched. * This proto can only be used for tasks in a queue which has - * [app_engine_http_queue][google.cloud.tasks.v2beta3.Queue.app_engine_http_queue] - * set. - * Using [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] - * requires + * [app_engine_http_queue][google.cloud.tasks.v2beta3.Queue.app_engine_http_queue] set. + * Using [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] requires * [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) * Google IAM permission for the project * and the following scope: @@ -31,15 +29,13 @@ * Google, you cannot explicitly set the protocol (for example, HTTP or HTTPS). * The request to the handler, however, will appear to have used the HTTP * protocol. - * The [AppEngineRouting][google.cloud.tasks.v2beta3.AppEngineRouting] used to - * construct the URL that the task is delivered to can be set at the queue-level - * or task-level: + * The [AppEngineRouting][google.cloud.tasks.v2beta3.AppEngineRouting] used to construct the URL that the task is + * delivered to can be set at the queue-level or task-level: * * If set, * [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override] * is used for all tasks in the queue, no matter what the setting * is for the - * [task-level - * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. + * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. * The `url` that the task will be sent to is: * * `url =` [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] `+` * [relative_uri][google.cloud.tasks.v2beta3.AppEngineHttpRequest.relative_uri] @@ -256,8 +252,7 @@ public com.google.cloud.tasks.v2beta3.HttpMethod getHttpMethod() { * If set, * [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override] * is used for all tasks in the queue, no matter what the setting is for the - * [task-level - * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. + * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. *
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; @@ -273,8 +268,7 @@ public boolean hasAppEngineRouting() { * If set, * [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override] * is used for all tasks in the queue, no matter what the setting is for the - * [task-level - * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. + * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. *
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; @@ -292,8 +286,7 @@ public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRouting() { * If set, * [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override] * is used for all tasks in the queue, no matter what the setting is for the - * [task-level - * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. + * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. *
* * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; @@ -393,9 +386,8 @@ public int getHeadersCount() { * This header can be modified, but Cloud Tasks will append * `"AppEngine-Google; (+http://code.google.com/appengine)"` to the * modified `User-Agent`. - * If the task has a - * [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud Tasks - * sets the following headers: + * If the task has a [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud + * Tasks sets the following headers: * * `Content-Type`: By default, the `Content-Type` header is set to * `"application/octet-stream"`. The default can be overridden by explicitly * setting `Content-Type` to a particular media type when the @@ -414,10 +406,8 @@ public int getHeadersCount() { * These headers are set only when the task is dispatched, so they are not * visible when the task is returned in a Cloud Tasks response. * Although there is no specific limit for the maximum number of headers or - * the size, there is a limit on the maximum size of the - * [Task][google.cloud.tasks.v2beta3.Task]. For more information, see the - * [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] - * documentation. + * the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta3.Task]. For more + * information, see the [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] documentation. *
* * map<string, string> headers = 4; @@ -448,9 +438,8 @@ public java.util.Map getHeaders() { * This header can be modified, but Cloud Tasks will append * `"AppEngine-Google; (+http://code.google.com/appengine)"` to the * modified `User-Agent`. - * If the task has a - * [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud Tasks - * sets the following headers: + * If the task has a [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud + * Tasks sets the following headers: * * `Content-Type`: By default, the `Content-Type` header is set to * `"application/octet-stream"`. The default can be overridden by explicitly * setting `Content-Type` to a particular media type when the @@ -469,10 +458,8 @@ public java.util.Map getHeaders() { * These headers are set only when the task is dispatched, so they are not * visible when the task is returned in a Cloud Tasks response. * Although there is no specific limit for the maximum number of headers or - * the size, there is a limit on the maximum size of the - * [Task][google.cloud.tasks.v2beta3.Task]. For more information, see the - * [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] - * documentation. + * the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta3.Task]. For more + * information, see the [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] documentation. *
* * map<string, string> headers = 4; @@ -495,9 +482,8 @@ public java.util.Map getHeadersMap() { * This header can be modified, but Cloud Tasks will append * `"AppEngine-Google; (+http://code.google.com/appengine)"` to the * modified `User-Agent`. - * If the task has a - * [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud Tasks - * sets the following headers: + * If the task has a [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud + * Tasks sets the following headers: * * `Content-Type`: By default, the `Content-Type` header is set to * `"application/octet-stream"`. The default can be overridden by explicitly * setting `Content-Type` to a particular media type when the @@ -516,10 +502,8 @@ public java.util.Map getHeadersMap() { * These headers are set only when the task is dispatched, so they are not * visible when the task is returned in a Cloud Tasks response. * Although there is no specific limit for the maximum number of headers or - * the size, there is a limit on the maximum size of the - * [Task][google.cloud.tasks.v2beta3.Task]. For more information, see the - * [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] - * documentation. + * the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta3.Task]. For more + * information, see the [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] documentation. * * * map<string, string> headers = 4; @@ -546,9 +530,8 @@ public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.Stri * This header can be modified, but Cloud Tasks will append * `"AppEngine-Google; (+http://code.google.com/appengine)"` to the * modified `User-Agent`. - * If the task has a - * [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud Tasks - * sets the following headers: + * If the task has a [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud + * Tasks sets the following headers: * * `Content-Type`: By default, the `Content-Type` header is set to * `"application/octet-stream"`. The default can be overridden by explicitly * setting `Content-Type` to a particular media type when the @@ -567,10 +550,8 @@ public java.lang.String getHeadersOrDefault(java.lang.String key, java.lang.Stri * These headers are set only when the task is dispatched, so they are not * visible when the task is returned in a Cloud Tasks response. * Although there is no specific limit for the maximum number of headers or - * the size, there is a limit on the maximum size of the - * [Task][google.cloud.tasks.v2beta3.Task]. For more information, see the - * [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] - * documentation. + * the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta3.Task]. For more + * information, see the [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] documentation. * * * map<string, string> headers = 4; @@ -594,8 +575,7 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) { *
    * HTTP request body.
    * A request body is allowed only if the HTTP method is POST or PUT. It is
-   * an error to set a body on a task with an incompatible
-   * [HttpMethod][google.cloud.tasks.v2beta3.HttpMethod].
+   * an error to set a body on a task with an incompatible [HttpMethod][google.cloud.tasks.v2beta3.HttpMethod].
    * 
* * bytes body = 5; @@ -822,10 +802,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * The message defines the HTTP request that is sent to an App Engine app when * the task is dispatched. * This proto can only be used for tasks in a queue which has - * [app_engine_http_queue][google.cloud.tasks.v2beta3.Queue.app_engine_http_queue] - * set. - * Using [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] - * requires + * [app_engine_http_queue][google.cloud.tasks.v2beta3.Queue.app_engine_http_queue] set. + * Using [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] requires * [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) * Google IAM permission for the project * and the following scope: @@ -842,15 +820,13 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * Google, you cannot explicitly set the protocol (for example, HTTP or HTTPS). * The request to the handler, however, will appear to have used the HTTP * protocol. - * The [AppEngineRouting][google.cloud.tasks.v2beta3.AppEngineRouting] used to - * construct the URL that the task is delivered to can be set at the queue-level - * or task-level: + * The [AppEngineRouting][google.cloud.tasks.v2beta3.AppEngineRouting] used to construct the URL that the task is + * delivered to can be set at the queue-level or task-level: * * If set, * [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override] * is used for all tasks in the queue, no matter what the setting * is for the - * [task-level - * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. + * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. * The `url` that the task will be sent to is: * * `url =` [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] `+` * [relative_uri][google.cloud.tasks.v2beta3.AppEngineHttpRequest.relative_uri] @@ -1214,8 +1190,7 @@ public Builder clearHttpMethod() { * If set, * [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override] * is used for all tasks in the queue, no matter what the setting is for the - * [task-level - * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. + * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. * * * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; @@ -1231,8 +1206,7 @@ public boolean hasAppEngineRouting() { * If set, * [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override] * is used for all tasks in the queue, no matter what the setting is for the - * [task-level - * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. + * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. * * * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; @@ -1254,8 +1228,7 @@ public com.google.cloud.tasks.v2beta3.AppEngineRouting getAppEngineRouting() { * If set, * [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override] * is used for all tasks in the queue, no matter what the setting is for the - * [task-level - * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. + * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. * * * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; @@ -1281,8 +1254,7 @@ public Builder setAppEngineRouting(com.google.cloud.tasks.v2beta3.AppEngineRouti * If set, * [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override] * is used for all tasks in the queue, no matter what the setting is for the - * [task-level - * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. + * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. * * * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; @@ -1306,8 +1278,7 @@ public Builder setAppEngineRouting( * If set, * [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override] * is used for all tasks in the queue, no matter what the setting is for the - * [task-level - * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. + * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. * * * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; @@ -1337,8 +1308,7 @@ public Builder mergeAppEngineRouting(com.google.cloud.tasks.v2beta3.AppEngineRou * If set, * [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override] * is used for all tasks in the queue, no matter what the setting is for the - * [task-level - * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. + * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. * * * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; @@ -1362,8 +1332,7 @@ public Builder clearAppEngineRouting() { * If set, * [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override] * is used for all tasks in the queue, no matter what the setting is for the - * [task-level - * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. + * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. * * * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; @@ -1381,8 +1350,7 @@ public com.google.cloud.tasks.v2beta3.AppEngineRouting.Builder getAppEngineRouti * If set, * [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override] * is used for all tasks in the queue, no matter what the setting is for the - * [task-level - * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. + * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. * * * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; @@ -1404,8 +1372,7 @@ public com.google.cloud.tasks.v2beta3.AppEngineRoutingOrBuilder getAppEngineRout * If set, * [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override] * is used for all tasks in the queue, no matter what the setting is for the - * [task-level - * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. + * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. * * * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; @@ -1581,9 +1548,8 @@ public int getHeadersCount() { * This header can be modified, but Cloud Tasks will append * `"AppEngine-Google; (+http://code.google.com/appengine)"` to the * modified `User-Agent`. - * If the task has a - * [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud Tasks - * sets the following headers: + * If the task has a [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud + * Tasks sets the following headers: * * `Content-Type`: By default, the `Content-Type` header is set to * `"application/octet-stream"`. The default can be overridden by explicitly * setting `Content-Type` to a particular media type when the @@ -1602,10 +1568,8 @@ public int getHeadersCount() { * These headers are set only when the task is dispatched, so they are not * visible when the task is returned in a Cloud Tasks response. * Although there is no specific limit for the maximum number of headers or - * the size, there is a limit on the maximum size of the - * [Task][google.cloud.tasks.v2beta3.Task]. For more information, see the - * [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] - * documentation. + * the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta3.Task]. For more + * information, see the [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] documentation. * * * map<string, string> headers = 4; @@ -1636,9 +1600,8 @@ public java.util.Map getHeaders() { * This header can be modified, but Cloud Tasks will append * `"AppEngine-Google; (+http://code.google.com/appengine)"` to the * modified `User-Agent`. - * If the task has a - * [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud Tasks - * sets the following headers: + * If the task has a [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud + * Tasks sets the following headers: * * `Content-Type`: By default, the `Content-Type` header is set to * `"application/octet-stream"`. The default can be overridden by explicitly * setting `Content-Type` to a particular media type when the @@ -1657,10 +1620,8 @@ public java.util.Map getHeaders() { * These headers are set only when the task is dispatched, so they are not * visible when the task is returned in a Cloud Tasks response. * Although there is no specific limit for the maximum number of headers or - * the size, there is a limit on the maximum size of the - * [Task][google.cloud.tasks.v2beta3.Task]. For more information, see the - * [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] - * documentation. + * the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta3.Task]. For more + * information, see the [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] documentation. * * * map<string, string> headers = 4; @@ -1683,9 +1644,8 @@ public java.util.Map getHeadersMap() { * This header can be modified, but Cloud Tasks will append * `"AppEngine-Google; (+http://code.google.com/appengine)"` to the * modified `User-Agent`. - * If the task has a - * [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud Tasks - * sets the following headers: + * If the task has a [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud + * Tasks sets the following headers: * * `Content-Type`: By default, the `Content-Type` header is set to * `"application/octet-stream"`. The default can be overridden by explicitly * setting `Content-Type` to a particular media type when the @@ -1704,10 +1664,8 @@ public java.util.Map getHeadersMap() { * These headers are set only when the task is dispatched, so they are not * visible when the task is returned in a Cloud Tasks response. * Although there is no specific limit for the maximum number of headers or - * the size, there is a limit on the maximum size of the - * [Task][google.cloud.tasks.v2beta3.Task]. For more information, see the - * [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] - * documentation. + * the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta3.Task]. For more + * information, see the [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] documentation. * * * map<string, string> headers = 4; @@ -1735,9 +1693,8 @@ public java.lang.String getHeadersOrDefault( * This header can be modified, but Cloud Tasks will append * `"AppEngine-Google; (+http://code.google.com/appengine)"` to the * modified `User-Agent`. - * If the task has a - * [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud Tasks - * sets the following headers: + * If the task has a [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud + * Tasks sets the following headers: * * `Content-Type`: By default, the `Content-Type` header is set to * `"application/octet-stream"`. The default can be overridden by explicitly * setting `Content-Type` to a particular media type when the @@ -1756,10 +1713,8 @@ public java.lang.String getHeadersOrDefault( * These headers are set only when the task is dispatched, so they are not * visible when the task is returned in a Cloud Tasks response. * Although there is no specific limit for the maximum number of headers or - * the size, there is a limit on the maximum size of the - * [Task][google.cloud.tasks.v2beta3.Task]. For more information, see the - * [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] - * documentation. + * the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta3.Task]. For more + * information, see the [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] documentation. * * * map<string, string> headers = 4; @@ -1794,9 +1749,8 @@ public Builder clearHeaders() { * This header can be modified, but Cloud Tasks will append * `"AppEngine-Google; (+http://code.google.com/appengine)"` to the * modified `User-Agent`. - * If the task has a - * [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud Tasks - * sets the following headers: + * If the task has a [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud + * Tasks sets the following headers: * * `Content-Type`: By default, the `Content-Type` header is set to * `"application/octet-stream"`. The default can be overridden by explicitly * setting `Content-Type` to a particular media type when the @@ -1815,10 +1769,8 @@ public Builder clearHeaders() { * These headers are set only when the task is dispatched, so they are not * visible when the task is returned in a Cloud Tasks response. * Although there is no specific limit for the maximum number of headers or - * the size, there is a limit on the maximum size of the - * [Task][google.cloud.tasks.v2beta3.Task]. For more information, see the - * [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] - * documentation. + * the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta3.Task]. For more + * information, see the [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] documentation. * * * map<string, string> headers = 4; @@ -1850,9 +1802,8 @@ public java.util.Map getMutableHeaders() { * This header can be modified, but Cloud Tasks will append * `"AppEngine-Google; (+http://code.google.com/appengine)"` to the * modified `User-Agent`. - * If the task has a - * [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud Tasks - * sets the following headers: + * If the task has a [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud + * Tasks sets the following headers: * * `Content-Type`: By default, the `Content-Type` header is set to * `"application/octet-stream"`. The default can be overridden by explicitly * setting `Content-Type` to a particular media type when the @@ -1871,10 +1822,8 @@ public java.util.Map getMutableHeaders() { * These headers are set only when the task is dispatched, so they are not * visible when the task is returned in a Cloud Tasks response. * Although there is no specific limit for the maximum number of headers or - * the size, there is a limit on the maximum size of the - * [Task][google.cloud.tasks.v2beta3.Task]. For more information, see the - * [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] - * documentation. + * the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta3.Task]. For more + * information, see the [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] documentation. * * * map<string, string> headers = 4; @@ -1904,9 +1853,8 @@ public Builder putHeaders(java.lang.String key, java.lang.String value) { * This header can be modified, but Cloud Tasks will append * `"AppEngine-Google; (+http://code.google.com/appengine)"` to the * modified `User-Agent`. - * If the task has a - * [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud Tasks - * sets the following headers: + * If the task has a [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud + * Tasks sets the following headers: * * `Content-Type`: By default, the `Content-Type` header is set to * `"application/octet-stream"`. The default can be overridden by explicitly * setting `Content-Type` to a particular media type when the @@ -1925,10 +1873,8 @@ public Builder putHeaders(java.lang.String key, java.lang.String value) { * These headers are set only when the task is dispatched, so they are not * visible when the task is returned in a Cloud Tasks response. * Although there is no specific limit for the maximum number of headers or - * the size, there is a limit on the maximum size of the - * [Task][google.cloud.tasks.v2beta3.Task]. For more information, see the - * [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] - * documentation. + * the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta3.Task]. For more + * information, see the [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] documentation. * * * map<string, string> headers = 4; @@ -1945,8 +1891,7 @@ public Builder putAllHeaders(java.util.Map v *
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
-     * an error to set a body on a task with an incompatible
-     * [HttpMethod][google.cloud.tasks.v2beta3.HttpMethod].
+     * an error to set a body on a task with an incompatible [HttpMethod][google.cloud.tasks.v2beta3.HttpMethod].
      * 
* * bytes body = 5; @@ -1960,8 +1905,7 @@ public com.google.protobuf.ByteString getBody() { *
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
-     * an error to set a body on a task with an incompatible
-     * [HttpMethod][google.cloud.tasks.v2beta3.HttpMethod].
+     * an error to set a body on a task with an incompatible [HttpMethod][google.cloud.tasks.v2beta3.HttpMethod].
      * 
* * bytes body = 5; @@ -1981,8 +1925,7 @@ public Builder setBody(com.google.protobuf.ByteString value) { *
      * HTTP request body.
      * A request body is allowed only if the HTTP method is POST or PUT. It is
-     * an error to set a body on a task with an incompatible
-     * [HttpMethod][google.cloud.tasks.v2beta3.HttpMethod].
+     * an error to set a body on a task with an incompatible [HttpMethod][google.cloud.tasks.v2beta3.HttpMethod].
      * 
* * bytes body = 5; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java index 5f02ac20f49a..680f0982a55e 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineHttpRequestOrBuilder.java @@ -55,8 +55,7 @@ public interface AppEngineHttpRequestOrBuilder * If set, * [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override] * is used for all tasks in the queue, no matter what the setting is for the - * [task-level - * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. + * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. * * * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; @@ -70,8 +69,7 @@ public interface AppEngineHttpRequestOrBuilder * If set, * [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override] * is used for all tasks in the queue, no matter what the setting is for the - * [task-level - * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. + * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. * * * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; @@ -85,8 +83,7 @@ public interface AppEngineHttpRequestOrBuilder * If set, * [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override] * is used for all tasks in the queue, no matter what the setting is for the - * [task-level - * app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. + * [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. * * * .google.cloud.tasks.v2beta3.AppEngineRouting app_engine_routing = 2; @@ -137,9 +134,8 @@ public interface AppEngineHttpRequestOrBuilder * This header can be modified, but Cloud Tasks will append * `"AppEngine-Google; (+http://code.google.com/appengine)"` to the * modified `User-Agent`. - * If the task has a - * [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud Tasks - * sets the following headers: + * If the task has a [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud + * Tasks sets the following headers: * * `Content-Type`: By default, the `Content-Type` header is set to * `"application/octet-stream"`. The default can be overridden by explicitly * setting `Content-Type` to a particular media type when the @@ -158,10 +154,8 @@ public interface AppEngineHttpRequestOrBuilder * These headers are set only when the task is dispatched, so they are not * visible when the task is returned in a Cloud Tasks response. * Although there is no specific limit for the maximum number of headers or - * the size, there is a limit on the maximum size of the - * [Task][google.cloud.tasks.v2beta3.Task]. For more information, see the - * [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] - * documentation. + * the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta3.Task]. For more + * information, see the [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] documentation. * * * map<string, string> headers = 4; @@ -182,9 +176,8 @@ public interface AppEngineHttpRequestOrBuilder * This header can be modified, but Cloud Tasks will append * `"AppEngine-Google; (+http://code.google.com/appengine)"` to the * modified `User-Agent`. - * If the task has a - * [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud Tasks - * sets the following headers: + * If the task has a [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud + * Tasks sets the following headers: * * `Content-Type`: By default, the `Content-Type` header is set to * `"application/octet-stream"`. The default can be overridden by explicitly * setting `Content-Type` to a particular media type when the @@ -203,10 +196,8 @@ public interface AppEngineHttpRequestOrBuilder * These headers are set only when the task is dispatched, so they are not * visible when the task is returned in a Cloud Tasks response. * Although there is no specific limit for the maximum number of headers or - * the size, there is a limit on the maximum size of the - * [Task][google.cloud.tasks.v2beta3.Task]. For more information, see the - * [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] - * documentation. + * the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta3.Task]. For more + * information, see the [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] documentation. * * * map<string, string> headers = 4; @@ -230,9 +221,8 @@ public interface AppEngineHttpRequestOrBuilder * This header can be modified, but Cloud Tasks will append * `"AppEngine-Google; (+http://code.google.com/appengine)"` to the * modified `User-Agent`. - * If the task has a - * [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud Tasks - * sets the following headers: + * If the task has a [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud + * Tasks sets the following headers: * * `Content-Type`: By default, the `Content-Type` header is set to * `"application/octet-stream"`. The default can be overridden by explicitly * setting `Content-Type` to a particular media type when the @@ -251,10 +241,8 @@ public interface AppEngineHttpRequestOrBuilder * These headers are set only when the task is dispatched, so they are not * visible when the task is returned in a Cloud Tasks response. * Although there is no specific limit for the maximum number of headers or - * the size, there is a limit on the maximum size of the - * [Task][google.cloud.tasks.v2beta3.Task]. For more information, see the - * [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] - * documentation. + * the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta3.Task]. For more + * information, see the [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] documentation. * * * map<string, string> headers = 4; @@ -275,9 +263,8 @@ public interface AppEngineHttpRequestOrBuilder * This header can be modified, but Cloud Tasks will append * `"AppEngine-Google; (+http://code.google.com/appengine)"` to the * modified `User-Agent`. - * If the task has a - * [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud Tasks - * sets the following headers: + * If the task has a [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud + * Tasks sets the following headers: * * `Content-Type`: By default, the `Content-Type` header is set to * `"application/octet-stream"`. The default can be overridden by explicitly * setting `Content-Type` to a particular media type when the @@ -296,10 +283,8 @@ public interface AppEngineHttpRequestOrBuilder * These headers are set only when the task is dispatched, so they are not * visible when the task is returned in a Cloud Tasks response. * Although there is no specific limit for the maximum number of headers or - * the size, there is a limit on the maximum size of the - * [Task][google.cloud.tasks.v2beta3.Task]. For more information, see the - * [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] - * documentation. + * the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta3.Task]. For more + * information, see the [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] documentation. * * * map<string, string> headers = 4; @@ -320,9 +305,8 @@ public interface AppEngineHttpRequestOrBuilder * This header can be modified, but Cloud Tasks will append * `"AppEngine-Google; (+http://code.google.com/appengine)"` to the * modified `User-Agent`. - * If the task has a - * [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud Tasks - * sets the following headers: + * If the task has a [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud + * Tasks sets the following headers: * * `Content-Type`: By default, the `Content-Type` header is set to * `"application/octet-stream"`. The default can be overridden by explicitly * setting `Content-Type` to a particular media type when the @@ -341,10 +325,8 @@ public interface AppEngineHttpRequestOrBuilder * These headers are set only when the task is dispatched, so they are not * visible when the task is returned in a Cloud Tasks response. * Although there is no specific limit for the maximum number of headers or - * the size, there is a limit on the maximum size of the - * [Task][google.cloud.tasks.v2beta3.Task]. For more information, see the - * [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] - * documentation. + * the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta3.Task]. For more + * information, see the [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] documentation. * * * map<string, string> headers = 4; @@ -357,8 +339,7 @@ public interface AppEngineHttpRequestOrBuilder *
    * HTTP request body.
    * A request body is allowed only if the HTTP method is POST or PUT. It is
-   * an error to set a body on a task with an incompatible
-   * [HttpMethod][google.cloud.tasks.v2beta3.HttpMethod].
+   * an error to set a body on a task with an incompatible [HttpMethod][google.cloud.tasks.v2beta3.HttpMethod].
    * 
* * bytes body = 5; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java index ca24674cce83..d37020e5e301 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRouting.java @@ -136,18 +136,16 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * By default, the task is sent to the service which is the default * service when the task is attempted. * For some queues or tasks which were created using the App Engine - * Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is - * not parsable into - * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + * Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable + * into [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For - * example, some tasks which were created using the App Engine SDK use a - * custom domain name; custom domains are not parsed by Cloud Tasks. If - * [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, - * then [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For example, some tasks + * which were created using the App Engine SDK use a custom domain + * name; custom domains are not parsed by Cloud Tasks. If + * [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, then + * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the - * empty string. + * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the empty string. * * * string service = 1; @@ -171,18 +169,16 @@ public java.lang.String getService() { * By default, the task is sent to the service which is the default * service when the task is attempted. * For some queues or tasks which were created using the App Engine - * Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is - * not parsable into - * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + * Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable + * into [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For - * example, some tasks which were created using the App Engine SDK use a - * custom domain name; custom domains are not parsed by Cloud Tasks. If - * [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, - * then [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For example, some tasks + * which were created using the App Engine SDK use a custom domain + * name; custom domains are not parsed by Cloud Tasks. If + * [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, then + * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the - * empty string. + * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the empty string. * * * string service = 1; @@ -209,18 +205,16 @@ public com.google.protobuf.ByteString getServiceBytes() { * By default, the task is sent to the version which is the default * version when the task is attempted. * For some queues or tasks which were created using the App Engine - * Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is - * not parsable into - * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + * Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable + * into [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For - * example, some tasks which were created using the App Engine SDK use a - * custom domain name; custom domains are not parsed by Cloud Tasks. If - * [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, - * then [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For example, some tasks + * which were created using the App Engine SDK use a custom domain + * name; custom domains are not parsed by Cloud Tasks. If + * [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, then + * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the - * empty string. + * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the empty string. * * * string version = 2; @@ -244,18 +238,16 @@ public java.lang.String getVersion() { * By default, the task is sent to the version which is the default * version when the task is attempted. * For some queues or tasks which were created using the App Engine - * Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is - * not parsable into - * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + * Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable + * into [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For - * example, some tasks which were created using the App Engine SDK use a - * custom domain name; custom domains are not parsed by Cloud Tasks. If - * [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, - * then [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For example, some tasks + * which were created using the App Engine SDK use a custom domain + * name; custom domains are not parsed by Cloud Tasks. If + * [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, then + * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the - * empty string. + * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the empty string. * * * string version = 2; @@ -344,11 +336,9 @@ public com.google.protobuf.ByteString getInstanceBytes() { * Output only. The host that the task is sent to. * The host is constructed from the domain name of the app associated with * the queue's project ID (for example <app-id>.appspot.com), and the - * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], - * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. Tasks - * which were created using the App Engine SDK might have a custom domain - * name. + * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], + * and [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. Tasks which were created using + * the App Engine SDK might have a custom domain name. * For more information, see * [How Requests are * Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed). @@ -374,11 +364,9 @@ public java.lang.String getHost() { * Output only. The host that the task is sent to. * The host is constructed from the domain name of the app associated with * the queue's project ID (for example <app-id>.appspot.com), and the - * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], - * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. Tasks - * which were created using the App Engine SDK might have a custom domain - * name. + * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], + * and [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. Tasks which were created using + * the App Engine SDK might have a custom domain name. * For more information, see * [How Requests are * Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed). @@ -783,18 +771,16 @@ public Builder mergeFrom( * By default, the task is sent to the service which is the default * service when the task is attempted. * For some queues or tasks which were created using the App Engine - * Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is - * not parsable into - * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + * Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable + * into [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For - * example, some tasks which were created using the App Engine SDK use a - * custom domain name; custom domains are not parsed by Cloud Tasks. If - * [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, - * then [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For example, some tasks + * which were created using the App Engine SDK use a custom domain + * name; custom domains are not parsed by Cloud Tasks. If + * [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, then + * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the - * empty string. + * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the empty string. * * * string service = 1; @@ -818,18 +804,16 @@ public java.lang.String getService() { * By default, the task is sent to the service which is the default * service when the task is attempted. * For some queues or tasks which were created using the App Engine - * Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is - * not parsable into - * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + * Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable + * into [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For - * example, some tasks which were created using the App Engine SDK use a - * custom domain name; custom domains are not parsed by Cloud Tasks. If - * [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, - * then [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For example, some tasks + * which were created using the App Engine SDK use a custom domain + * name; custom domains are not parsed by Cloud Tasks. If + * [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, then + * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the - * empty string. + * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the empty string. * * * string service = 1; @@ -853,18 +837,16 @@ public com.google.protobuf.ByteString getServiceBytes() { * By default, the task is sent to the service which is the default * service when the task is attempted. * For some queues or tasks which were created using the App Engine - * Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is - * not parsable into - * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + * Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable + * into [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For - * example, some tasks which were created using the App Engine SDK use a - * custom domain name; custom domains are not parsed by Cloud Tasks. If - * [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, - * then [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For example, some tasks + * which were created using the App Engine SDK use a custom domain + * name; custom domains are not parsed by Cloud Tasks. If + * [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, then + * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the - * empty string. + * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the empty string. * * * string service = 1; @@ -886,18 +868,16 @@ public Builder setService(java.lang.String value) { * By default, the task is sent to the service which is the default * service when the task is attempted. * For some queues or tasks which were created using the App Engine - * Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is - * not parsable into - * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + * Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable + * into [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For - * example, some tasks which were created using the App Engine SDK use a - * custom domain name; custom domains are not parsed by Cloud Tasks. If - * [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, - * then [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For example, some tasks + * which were created using the App Engine SDK use a custom domain + * name; custom domains are not parsed by Cloud Tasks. If + * [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, then + * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the - * empty string. + * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the empty string. * * * string service = 1; @@ -916,18 +896,16 @@ public Builder clearService() { * By default, the task is sent to the service which is the default * service when the task is attempted. * For some queues or tasks which were created using the App Engine - * Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is - * not parsable into - * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + * Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable + * into [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For - * example, some tasks which were created using the App Engine SDK use a - * custom domain name; custom domains are not parsed by Cloud Tasks. If - * [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, - * then [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For example, some tasks + * which were created using the App Engine SDK use a custom domain + * name; custom domains are not parsed by Cloud Tasks. If + * [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, then + * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the - * empty string. + * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the empty string. * * * string service = 1; @@ -952,18 +930,16 @@ public Builder setServiceBytes(com.google.protobuf.ByteString value) { * By default, the task is sent to the version which is the default * version when the task is attempted. * For some queues or tasks which were created using the App Engine - * Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is - * not parsable into - * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + * Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable + * into [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For - * example, some tasks which were created using the App Engine SDK use a - * custom domain name; custom domains are not parsed by Cloud Tasks. If - * [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, - * then [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For example, some tasks + * which were created using the App Engine SDK use a custom domain + * name; custom domains are not parsed by Cloud Tasks. If + * [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, then + * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the - * empty string. + * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the empty string. * * * string version = 2; @@ -987,18 +963,16 @@ public java.lang.String getVersion() { * By default, the task is sent to the version which is the default * version when the task is attempted. * For some queues or tasks which were created using the App Engine - * Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is - * not parsable into - * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + * Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable + * into [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For - * example, some tasks which were created using the App Engine SDK use a - * custom domain name; custom domains are not parsed by Cloud Tasks. If - * [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, - * then [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For example, some tasks + * which were created using the App Engine SDK use a custom domain + * name; custom domains are not parsed by Cloud Tasks. If + * [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, then + * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the - * empty string. + * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the empty string. * * * string version = 2; @@ -1022,18 +996,16 @@ public com.google.protobuf.ByteString getVersionBytes() { * By default, the task is sent to the version which is the default * version when the task is attempted. * For some queues or tasks which were created using the App Engine - * Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is - * not parsable into - * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + * Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable + * into [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For - * example, some tasks which were created using the App Engine SDK use a - * custom domain name; custom domains are not parsed by Cloud Tasks. If - * [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, - * then [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For example, some tasks + * which were created using the App Engine SDK use a custom domain + * name; custom domains are not parsed by Cloud Tasks. If + * [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, then + * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the - * empty string. + * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the empty string. * * * string version = 2; @@ -1055,18 +1027,16 @@ public Builder setVersion(java.lang.String value) { * By default, the task is sent to the version which is the default * version when the task is attempted. * For some queues or tasks which were created using the App Engine - * Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is - * not parsable into - * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + * Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable + * into [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For - * example, some tasks which were created using the App Engine SDK use a - * custom domain name; custom domains are not parsed by Cloud Tasks. If - * [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, - * then [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For example, some tasks + * which were created using the App Engine SDK use a custom domain + * name; custom domains are not parsed by Cloud Tasks. If + * [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, then + * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the - * empty string. + * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the empty string. * * * string version = 2; @@ -1085,18 +1055,16 @@ public Builder clearVersion() { * By default, the task is sent to the version which is the default * version when the task is attempted. * For some queues or tasks which were created using the App Engine - * Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is - * not parsable into - * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + * Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable + * into [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For - * example, some tasks which were created using the App Engine SDK use a - * custom domain name; custom domains are not parsed by Cloud Tasks. If - * [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, - * then [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For example, some tasks + * which were created using the App Engine SDK use a custom domain + * name; custom domains are not parsed by Cloud Tasks. If + * [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, then + * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the - * empty string. + * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the empty string. * * * string version = 2; @@ -1264,11 +1232,9 @@ public Builder setInstanceBytes(com.google.protobuf.ByteString value) { * Output only. The host that the task is sent to. * The host is constructed from the domain name of the app associated with * the queue's project ID (for example <app-id>.appspot.com), and the - * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], - * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. Tasks - * which were created using the App Engine SDK might have a custom domain - * name. + * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], + * and [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. Tasks which were created using + * the App Engine SDK might have a custom domain name. * For more information, see * [How Requests are * Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed). @@ -1294,11 +1260,9 @@ public java.lang.String getHost() { * Output only. The host that the task is sent to. * The host is constructed from the domain name of the app associated with * the queue's project ID (for example <app-id>.appspot.com), and the - * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], - * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. Tasks - * which were created using the App Engine SDK might have a custom domain - * name. + * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], + * and [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. Tasks which were created using + * the App Engine SDK might have a custom domain name. * For more information, see * [How Requests are * Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed). @@ -1324,11 +1288,9 @@ public com.google.protobuf.ByteString getHostBytes() { * Output only. The host that the task is sent to. * The host is constructed from the domain name of the app associated with * the queue's project ID (for example <app-id>.appspot.com), and the - * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], - * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. Tasks - * which were created using the App Engine SDK might have a custom domain - * name. + * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], + * and [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. Tasks which were created using + * the App Engine SDK might have a custom domain name. * For more information, see * [How Requests are * Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed). @@ -1352,11 +1314,9 @@ public Builder setHost(java.lang.String value) { * Output only. The host that the task is sent to. * The host is constructed from the domain name of the app associated with * the queue's project ID (for example <app-id>.appspot.com), and the - * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], - * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. Tasks - * which were created using the App Engine SDK might have a custom domain - * name. + * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], + * and [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. Tasks which were created using + * the App Engine SDK might have a custom domain name. * For more information, see * [How Requests are * Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed). @@ -1377,11 +1337,9 @@ public Builder clearHost() { * Output only. The host that the task is sent to. * The host is constructed from the domain name of the app associated with * the queue's project ID (for example <app-id>.appspot.com), and the - * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], - * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. Tasks - * which were created using the App Engine SDK might have a custom domain - * name. + * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], + * and [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. Tasks which were created using + * the App Engine SDK might have a custom domain name. * For more information, see * [How Requests are * Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed). diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java index 8dd6a24dcbc8..c686ab6095a6 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/AppEngineRoutingOrBuilder.java @@ -16,18 +16,16 @@ public interface AppEngineRoutingOrBuilder * By default, the task is sent to the service which is the default * service when the task is attempted. * For some queues or tasks which were created using the App Engine - * Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is - * not parsable into - * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + * Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable + * into [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For - * example, some tasks which were created using the App Engine SDK use a - * custom domain name; custom domains are not parsed by Cloud Tasks. If - * [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, - * then [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For example, some tasks + * which were created using the App Engine SDK use a custom domain + * name; custom domains are not parsed by Cloud Tasks. If + * [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, then + * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the - * empty string. + * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the empty string. * * * string service = 1; @@ -41,18 +39,16 @@ public interface AppEngineRoutingOrBuilder * By default, the task is sent to the service which is the default * service when the task is attempted. * For some queues or tasks which were created using the App Engine - * Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is - * not parsable into - * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + * Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable + * into [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For - * example, some tasks which were created using the App Engine SDK use a - * custom domain name; custom domains are not parsed by Cloud Tasks. If - * [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, - * then [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For example, some tasks + * which were created using the App Engine SDK use a custom domain + * name; custom domains are not parsed by Cloud Tasks. If + * [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, then + * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the - * empty string. + * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the empty string. * * * string service = 1; @@ -67,18 +63,16 @@ public interface AppEngineRoutingOrBuilder * By default, the task is sent to the version which is the default * version when the task is attempted. * For some queues or tasks which were created using the App Engine - * Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is - * not parsable into - * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + * Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable + * into [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For - * example, some tasks which were created using the App Engine SDK use a - * custom domain name; custom domains are not parsed by Cloud Tasks. If - * [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, - * then [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For example, some tasks + * which were created using the App Engine SDK use a custom domain + * name; custom domains are not parsed by Cloud Tasks. If + * [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, then + * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the - * empty string. + * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the empty string. * * * string version = 2; @@ -92,18 +86,16 @@ public interface AppEngineRoutingOrBuilder * By default, the task is sent to the version which is the default * version when the task is attempted. * For some queues or tasks which were created using the App Engine - * Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is - * not parsable into - * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + * Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable + * into [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For - * example, some tasks which were created using the App Engine SDK use a - * custom domain name; custom domains are not parsed by Cloud Tasks. If - * [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, - * then [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For example, some tasks + * which were created using the App Engine SDK use a custom domain + * name; custom domains are not parsed by Cloud Tasks. If + * [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, then + * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the - * empty string. + * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the empty string. * * * string version = 2; @@ -158,11 +150,9 @@ public interface AppEngineRoutingOrBuilder * Output only. The host that the task is sent to. * The host is constructed from the domain name of the app associated with * the queue's project ID (for example <app-id>.appspot.com), and the - * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], - * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. Tasks - * which were created using the App Engine SDK might have a custom domain - * name. + * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], + * and [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. Tasks which were created using + * the App Engine SDK might have a custom domain name. * For more information, see * [How Requests are * Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed). @@ -178,11 +168,9 @@ public interface AppEngineRoutingOrBuilder * Output only. The host that the task is sent to. * The host is constructed from the domain name of the app associated with * the queue's project ID (for example <app-id>.appspot.com), and the - * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], - * [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - * [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. Tasks - * which were created using the App Engine SDK might have a custom domain - * name. + * [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], + * and [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. Tasks which were created using + * the App Engine SDK might have a custom domain name. * For more information, see * [How Requests are * Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed). diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java index 03c52c40f50e..16819a6640a0 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CloudTasksProto.java @@ -83,111 +83,111 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n+google/cloud/tasks/v2beta3/cloudtasks." + "proto\022\032google.cloud.tasks.v2beta3\032\034googl" - + "e/api/annotations.proto\032&google/cloud/ta" - + "sks/v2beta3/queue.proto\032%google/cloud/ta" - + "sks/v2beta3/task.proto\032\036google/iam/v1/ia" - + "m_policy.proto\032\032google/iam/v1/policy.pro" - + "to\032\033google/protobuf/empty.proto\032 google/" - + "protobuf/field_mask.proto\032\025google/rpc/co" - + "de.proto\"Z\n\021ListQueuesRequest\022\016\n\006parent\030" - + "\001 \001(\t\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005" - + "\022\022\n\npage_token\030\004 \001(\t\"`\n\022ListQueuesRespon" - + "se\0221\n\006queues\030\001 \003(\0132!.google.cloud.tasks." - + "v2beta3.Queue\022\027\n\017next_page_token\030\002 \001(\t\"\037" - + "\n\017GetQueueRequest\022\014\n\004name\030\001 \001(\t\"V\n\022Creat" - + "eQueueRequest\022\016\n\006parent\030\001 \001(\t\0220\n\005queue\030\002" - + " \001(\0132!.google.cloud.tasks.v2beta3.Queue\"" - + "w\n\022UpdateQueueRequest\0220\n\005queue\030\001 \001(\0132!.g" - + "oogle.cloud.tasks.v2beta3.Queue\022/\n\013updat" - + "e_mask\030\002 \001(\0132\032.google.protobuf.FieldMask" - + "\"\"\n\022DeleteQueueRequest\022\014\n\004name\030\001 \001(\t\"!\n\021" - + "PurgeQueueRequest\022\014\n\004name\030\001 \001(\t\"!\n\021Pause" - + "QueueRequest\022\014\n\004name\030\001 \001(\t\"\"\n\022ResumeQueu" - + "eRequest\022\014\n\004name\030\001 \001(\t\"\207\001\n\020ListTasksRequ" - + "est\022\016\n\006parent\030\001 \001(\t\022<\n\rresponse_view\030\002 \001" - + "(\0162%.google.cloud.tasks.v2beta3.Task.Vie" - + "w\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t" - + "\"]\n\021ListTasksResponse\022/\n\005tasks\030\001 \003(\0132 .g" - + "oogle.cloud.tasks.v2beta3.Task\022\027\n\017next_p" - + "age_token\030\002 \001(\t\"\\\n\016GetTaskRequest\022\014\n\004nam" - + "e\030\001 \001(\t\022<\n\rresponse_view\030\002 \001(\0162%.google." - + "cloud.tasks.v2beta3.Task.View\"\221\001\n\021Create" - + "TaskRequest\022\016\n\006parent\030\001 \001(\t\022.\n\004task\030\002 \001(" - + "\0132 .google.cloud.tasks.v2beta3.Task\022<\n\rr" - + "esponse_view\030\003 \001(\0162%.google.cloud.tasks." - + "v2beta3.Task.View\"!\n\021DeleteTaskRequest\022\014" - + "\n\004name\030\001 \001(\t\"\\\n\016RunTaskRequest\022\014\n\004name\030\001" - + " \001(\t\022<\n\rresponse_view\030\002 \001(\0162%.google.clo" - + "ud.tasks.v2beta3.Task.View2\247\024\n\nCloudTask" - + "s\022\244\001\n\nListQueues\022-.google.cloud.tasks.v2" - + "beta3.ListQueuesRequest\032..google.cloud.t" - + "asks.v2beta3.ListQueuesResponse\"7\202\323\344\223\0021\022" - + "//v2beta3/{parent=projects/*/locations/*" - + "}/queues\022\223\001\n\010GetQueue\022+.google.cloud.tas" - + "ks.v2beta3.GetQueueRequest\032!.google.clou" - + "d.tasks.v2beta3.Queue\"7\202\323\344\223\0021\022//v2beta3/" - + "{name=projects/*/locations/*/queues/*}\022\240" - + "\001\n\013CreateQueue\022..google.cloud.tasks.v2be" - + "ta3.CreateQueueRequest\032!.google.cloud.ta" - + "sks.v2beta3.Queue\">\202\323\344\223\0028\"//v2beta3/{par" - + "ent=projects/*/locations/*}/queues:\005queu" - + "e\022\246\001\n\013UpdateQueue\022..google.cloud.tasks.v" - + "2beta3.UpdateQueueRequest\032!.google.cloud" - + ".tasks.v2beta3.Queue\"D\202\323\344\223\002>25/v2beta3/{" - + "queue.name=projects/*/locations/*/queues" - + "/*}:\005queue\022\216\001\n\013DeleteQueue\022..google.clou" - + "d.tasks.v2beta3.DeleteQueueRequest\032\026.goo" - + "gle.protobuf.Empty\"7\202\323\344\223\0021*//v2beta3/{na" - + "me=projects/*/locations/*/queues/*}\022\240\001\n\n" - + "PurgeQueue\022-.google.cloud.tasks.v2beta3." - + "PurgeQueueRequest\032!.google.cloud.tasks.v" - + "2beta3.Queue\"@\202\323\344\223\002:\"5/v2beta3/{name=pro" - + "jects/*/locations/*/queues/*}:purge:\001*\022\240" - + "\001\n\nPauseQueue\022-.google.cloud.tasks.v2bet" - + "a3.PauseQueueRequest\032!.google.cloud.task" - + "s.v2beta3.Queue\"@\202\323\344\223\002:\"5/v2beta3/{name=" - + "projects/*/locations/*/queues/*}:pause:\001" - + "*\022\243\001\n\013ResumeQueue\022..google.cloud.tasks.v" - + "2beta3.ResumeQueueRequest\032!.google.cloud" - + ".tasks.v2beta3.Queue\"A\202\323\344\223\002;\"6/v2beta3/{" - + "name=projects/*/locations/*/queues/*}:re" - + "sume:\001*\022\226\001\n\014GetIamPolicy\022\".google.iam.v1" - + ".GetIamPolicyRequest\032\025.google.iam.v1.Pol" - + "icy\"K\202\323\344\223\002E\"@/v2beta3/{resource=projects" - + "/*/locations/*/queues/*}:getIamPolicy:\001*" - + "\022\226\001\n\014SetIamPolicy\022\".google.iam.v1.SetIam" - + "PolicyRequest\032\025.google.iam.v1.Policy\"K\202\323" - + "\344\223\002E\"@/v2beta3/{resource=projects/*/loca" - + "tions/*/queues/*}:setIamPolicy:\001*\022\274\001\n\022Te" - + "stIamPermissions\022(.google.iam.v1.TestIam" - + "PermissionsRequest\032).google.iam.v1.TestI" - + "amPermissionsResponse\"Q\202\323\344\223\002K\"F/v2beta3/" - + "{resource=projects/*/locations/*/queues/" - + "*}:testIamPermissions:\001*\022\251\001\n\tListTasks\022," - + ".google.cloud.tasks.v2beta3.ListTasksReq" - + "uest\032-.google.cloud.tasks.v2beta3.ListTa" - + "sksResponse\"?\202\323\344\223\0029\0227/v2beta3/{parent=pr" - + "ojects/*/locations/*/queues/*}/tasks\022\230\001\n" - + "\007GetTask\022*.google.cloud.tasks.v2beta3.Ge" - + "tTaskRequest\032 .google.cloud.tasks.v2beta" - + "3.Task\"?\202\323\344\223\0029\0227/v2beta3/{name=projects/" - + "*/locations/*/queues/*/tasks/*}\022\241\001\n\nCrea" - + "teTask\022-.google.cloud.tasks.v2beta3.Crea" - + "teTaskRequest\032 .google.cloud.tasks.v2bet" - + "a3.Task\"B\202\323\344\223\002<\"7/v2beta3/{parent=projec" - + "ts/*/locations/*/queues/*}/tasks:\001*\022\224\001\n\n" - + "DeleteTask\022-.google.cloud.tasks.v2beta3." - + "DeleteTaskRequest\032\026.google.protobuf.Empt" - + "y\"?\202\323\344\223\0029*7/v2beta3/{name=projects/*/loc" - + "ations/*/queues/*/tasks/*}\022\237\001\n\007RunTask\022*" - + ".google.cloud.tasks.v2beta3.RunTaskReque" - + "st\032 .google.cloud.tasks.v2beta3.Task\"F\202\323" - + "\344\223\002@\";/v2beta3/{name=projects/*/location" - + "s/*/queues/*/tasks/*}:run:\001*B|\n\036com.goog" - + "le.cloud.tasks.v2beta3B\017CloudTasksProtoP" - + "\001Z?google.golang.org/genproto/googleapis" - + "/cloud/tasks/v2beta3;tasks\242\002\005TASKSb\006prot" - + "o3" + + "e/api/annotations.proto\032\031google/api/reso" + + "urce.proto\032\033google/protobuf/empty.proto\032" + + " google/protobuf/field_mask.proto\032%googl" + + "e/cloud/tasks/v2beta3/task.proto\032&google" + + "/cloud/tasks/v2beta3/queue.proto\032\036google" + + "/iam/v1/iam_policy.proto\032\032google/iam/v1/" + + "policy.proto\032\025google/rpc/code.proto\"Z\n\021L" + + "istQueuesRequest\022\016\n\006parent\030\001 \001(\t\022\016\n\006filt" + + "er\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_toke" + + "n\030\004 \001(\t\"`\n\022ListQueuesResponse\0221\n\006queues\030" + + "\001 \003(\0132!.google.cloud.tasks.v2beta3.Queue" + + "\022\027\n\017next_page_token\030\002 \001(\t\"\037\n\017GetQueueReq" + + "uest\022\014\n\004name\030\001 \001(\t\"V\n\022CreateQueueRequest" + + "\022\016\n\006parent\030\001 \001(\t\0220\n\005queue\030\002 \001(\0132!.google" + + ".cloud.tasks.v2beta3.Queue\"w\n\022UpdateQueu" + + "eRequest\0220\n\005queue\030\001 \001(\0132!.google.cloud.t" + + "asks.v2beta3.Queue\022/\n\013update_mask\030\002 \001(\0132" + + "\032.google.protobuf.FieldMask\"\"\n\022DeleteQue" + + "ueRequest\022\014\n\004name\030\001 \001(\t\"!\n\021PurgeQueueReq" + + "uest\022\014\n\004name\030\001 \001(\t\"!\n\021PauseQueueRequest\022" + + "\014\n\004name\030\001 \001(\t\"\"\n\022ResumeQueueRequest\022\014\n\004n" + + "ame\030\001 \001(\t\"\207\001\n\020ListTasksRequest\022\016\n\006parent" + + "\030\001 \001(\t\022<\n\rresponse_view\030\002 \001(\0162%.google.c" + + "loud.tasks.v2beta3.Task.View\022\021\n\tpage_siz" + + "e\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"]\n\021ListTasks" + + "Response\022/\n\005tasks\030\001 \003(\0132 .google.cloud.t" + + "asks.v2beta3.Task\022\027\n\017next_page_token\030\002 \001" + + "(\t\"\\\n\016GetTaskRequest\022\014\n\004name\030\001 \001(\t\022<\n\rre" + + "sponse_view\030\002 \001(\0162%.google.cloud.tasks.v" + + "2beta3.Task.View\"\221\001\n\021CreateTaskRequest\022\016" + + "\n\006parent\030\001 \001(\t\022.\n\004task\030\002 \001(\0132 .google.cl" + + "oud.tasks.v2beta3.Task\022<\n\rresponse_view\030" + + "\003 \001(\0162%.google.cloud.tasks.v2beta3.Task." + + "View\"!\n\021DeleteTaskRequest\022\014\n\004name\030\001 \001(\t\"" + + "\\\n\016RunTaskRequest\022\014\n\004name\030\001 \001(\t\022<\n\rrespo" + + "nse_view\030\002 \001(\0162%.google.cloud.tasks.v2be" + + "ta3.Task.View2\247\024\n\nCloudTasks\022\244\001\n\nListQue" + + "ues\022-.google.cloud.tasks.v2beta3.ListQue" + + "uesRequest\032..google.cloud.tasks.v2beta3." + + "ListQueuesResponse\"7\202\323\344\223\0021\022//v2beta3/{pa" + + "rent=projects/*/locations/*}/queues\022\223\001\n\010" + + "GetQueue\022+.google.cloud.tasks.v2beta3.Ge" + + "tQueueRequest\032!.google.cloud.tasks.v2bet" + + "a3.Queue\"7\202\323\344\223\0021\022//v2beta3/{name=project" + + "s/*/locations/*/queues/*}\022\240\001\n\013CreateQueu" + + "e\022..google.cloud.tasks.v2beta3.CreateQue" + + "ueRequest\032!.google.cloud.tasks.v2beta3.Q" + + "ueue\">\202\323\344\223\0028\"//v2beta3/{parent=projects/" + + "*/locations/*}/queues:\005queue\022\246\001\n\013UpdateQ" + + "ueue\022..google.cloud.tasks.v2beta3.Update" + + "QueueRequest\032!.google.cloud.tasks.v2beta" + + "3.Queue\"D\202\323\344\223\002>25/v2beta3/{queue.name=pr" + + "ojects/*/locations/*/queues/*}:\005queue\022\216\001" + + "\n\013DeleteQueue\022..google.cloud.tasks.v2bet" + + "a3.DeleteQueueRequest\032\026.google.protobuf." + + "Empty\"7\202\323\344\223\0021*//v2beta3/{name=projects/*" + + "/locations/*/queues/*}\022\240\001\n\nPurgeQueue\022-." + + "google.cloud.tasks.v2beta3.PurgeQueueReq" + + "uest\032!.google.cloud.tasks.v2beta3.Queue\"" + + "@\202\323\344\223\002:\"5/v2beta3/{name=projects/*/locat" + + "ions/*/queues/*}:purge:\001*\022\240\001\n\nPauseQueue" + + "\022-.google.cloud.tasks.v2beta3.PauseQueue" + + "Request\032!.google.cloud.tasks.v2beta3.Que" + + "ue\"@\202\323\344\223\002:\"5/v2beta3/{name=projects/*/lo" + + "cations/*/queues/*}:pause:\001*\022\243\001\n\013ResumeQ" + + "ueue\022..google.cloud.tasks.v2beta3.Resume" + + "QueueRequest\032!.google.cloud.tasks.v2beta" + + "3.Queue\"A\202\323\344\223\002;\"6/v2beta3/{name=projects" + + "/*/locations/*/queues/*}:resume:\001*\022\226\001\n\014G" + + "etIamPolicy\022\".google.iam.v1.GetIamPolicy" + + "Request\032\025.google.iam.v1.Policy\"K\202\323\344\223\002E\"@" + + "/v2beta3/{resource=projects/*/locations/" + + "*/queues/*}:getIamPolicy:\001*\022\226\001\n\014SetIamPo" + + "licy\022\".google.iam.v1.SetIamPolicyRequest" + + "\032\025.google.iam.v1.Policy\"K\202\323\344\223\002E\"@/v2beta" + + "3/{resource=projects/*/locations/*/queue" + + "s/*}:setIamPolicy:\001*\022\274\001\n\022TestIamPermissi" + + "ons\022(.google.iam.v1.TestIamPermissionsRe" + + "quest\032).google.iam.v1.TestIamPermissions" + + "Response\"Q\202\323\344\223\002K\"F/v2beta3/{resource=pro" + + "jects/*/locations/*/queues/*}:testIamPer" + + "missions:\001*\022\251\001\n\tListTasks\022,.google.cloud" + + ".tasks.v2beta3.ListTasksRequest\032-.google" + + ".cloud.tasks.v2beta3.ListTasksResponse\"?" + + "\202\323\344\223\0029\0227/v2beta3/{parent=projects/*/loca" + + "tions/*/queues/*}/tasks\022\230\001\n\007GetTask\022*.go" + + "ogle.cloud.tasks.v2beta3.GetTaskRequest\032" + + " .google.cloud.tasks.v2beta3.Task\"?\202\323\344\223\002" + + "9\0227/v2beta3/{name=projects/*/locations/*" + + "/queues/*/tasks/*}\022\241\001\n\nCreateTask\022-.goog" + + "le.cloud.tasks.v2beta3.CreateTaskRequest" + + "\032 .google.cloud.tasks.v2beta3.Task\"B\202\323\344\223" + + "\002<\"7/v2beta3/{parent=projects/*/location" + + "s/*/queues/*}/tasks:\001*\022\224\001\n\nDeleteTask\022-." + + "google.cloud.tasks.v2beta3.DeleteTaskReq" + + "uest\032\026.google.protobuf.Empty\"?\202\323\344\223\0029*7/v" + + "2beta3/{name=projects/*/locations/*/queu" + + "es/*/tasks/*}\022\237\001\n\007RunTask\022*.google.cloud" + + ".tasks.v2beta3.RunTaskRequest\032 .google.c" + + "loud.tasks.v2beta3.Task\"F\202\323\344\223\002@\";/v2beta" + + "3/{name=projects/*/locations/*/queues/*/" + + "tasks/*}:run:\001*B|\n\036com.google.cloud.task" + + "s.v2beta3B\017CloudTasksProtoP\001Z?google.gol" + + "ang.org/genproto/googleapis/cloud/tasks/" + + "v2beta3;tasks\242\002\005TASKSb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { @@ -201,12 +201,13 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), - com.google.cloud.tasks.v2beta3.QueueProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), + com.google.protobuf.EmptyProto.getDescriptor(), + com.google.protobuf.FieldMaskProto.getDescriptor(), com.google.cloud.tasks.v2beta3.TaskProto.getDescriptor(), + com.google.cloud.tasks.v2beta3.QueueProto.getDescriptor(), com.google.iam.v1.IamPolicyProto.getDescriptor(), com.google.iam.v1.PolicyProto.getDescriptor(), - com.google.protobuf.EmptyProto.getDescriptor(), - com.google.protobuf.FieldMaskProto.getDescriptor(), com.google.rpc.CodeProto.getDescriptor(), }, assigner); @@ -336,12 +337,13 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry); com.google.api.AnnotationsProto.getDescriptor(); - com.google.cloud.tasks.v2beta3.QueueProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); + com.google.protobuf.EmptyProto.getDescriptor(); + com.google.protobuf.FieldMaskProto.getDescriptor(); com.google.cloud.tasks.v2beta3.TaskProto.getDescriptor(); + com.google.cloud.tasks.v2beta3.QueueProto.getDescriptor(); com.google.iam.v1.IamPolicyProto.getDescriptor(); com.google.iam.v1.PolicyProto.getDescriptor(); - com.google.protobuf.EmptyProto.getDescriptor(); - com.google.protobuf.FieldMaskProto.getDescriptor(); com.google.rpc.CodeProto.getDescriptor(); } diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java index 20d4f91d86e3..68032fa01a88 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequest.java @@ -7,8 +7,7 @@ * * *
- * Request message for
- * [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue].
+ * Request message for [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.CreateQueueRequest} @@ -169,8 +168,7 @@ public com.google.protobuf.ByteString getParentBytes() { *
    * Required.
    * The queue to create.
-   * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as
-   * an existing queue.
+   * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* * .google.cloud.tasks.v2beta3.Queue queue = 2; @@ -184,8 +182,7 @@ public boolean hasQueue() { *
    * Required.
    * The queue to create.
-   * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as
-   * an existing queue.
+   * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* * .google.cloud.tasks.v2beta3.Queue queue = 2; @@ -199,8 +196,7 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() { *
    * Required.
    * The queue to create.
-   * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as
-   * an existing queue.
+   * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* * .google.cloud.tasks.v2beta3.Queue queue = 2; @@ -386,8 +382,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue].
+   * Request message for [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.CreateQueueRequest} @@ -687,8 +682,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { *
      * Required.
      * The queue to create.
-     * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as
-     * an existing queue.
+     * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* * .google.cloud.tasks.v2beta3.Queue queue = 2; @@ -702,8 +696,7 @@ public boolean hasQueue() { *
      * Required.
      * The queue to create.
-     * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as
-     * an existing queue.
+     * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* * .google.cloud.tasks.v2beta3.Queue queue = 2; @@ -721,8 +714,7 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() { *
      * Required.
      * The queue to create.
-     * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as
-     * an existing queue.
+     * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* * .google.cloud.tasks.v2beta3.Queue queue = 2; @@ -746,8 +738,7 @@ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue value) { *
      * Required.
      * The queue to create.
-     * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as
-     * an existing queue.
+     * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* * .google.cloud.tasks.v2beta3.Queue queue = 2; @@ -768,8 +759,7 @@ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue.Builder builderForV *
      * Required.
      * The queue to create.
-     * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as
-     * an existing queue.
+     * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* * .google.cloud.tasks.v2beta3.Queue queue = 2; @@ -797,8 +787,7 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta3.Queue value) { *
      * Required.
      * The queue to create.
-     * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as
-     * an existing queue.
+     * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* * .google.cloud.tasks.v2beta3.Queue queue = 2; @@ -820,8 +809,7 @@ public Builder clearQueue() { *
      * Required.
      * The queue to create.
-     * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as
-     * an existing queue.
+     * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* * .google.cloud.tasks.v2beta3.Queue queue = 2; @@ -837,8 +825,7 @@ public com.google.cloud.tasks.v2beta3.Queue.Builder getQueueBuilder() { *
      * Required.
      * The queue to create.
-     * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as
-     * an existing queue.
+     * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* * .google.cloud.tasks.v2beta3.Queue queue = 2; @@ -856,8 +843,7 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { *
      * Required.
      * The queue to create.
-     * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as
-     * an existing queue.
+     * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
      * 
* * .google.cloud.tasks.v2beta3.Queue queue = 2; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java index 8f5ab5e9272d..aac78e1cff3e 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateQueueRequestOrBuilder.java @@ -45,8 +45,7 @@ public interface CreateQueueRequestOrBuilder *
    * Required.
    * The queue to create.
-   * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as
-   * an existing queue.
+   * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* * .google.cloud.tasks.v2beta3.Queue queue = 2; @@ -58,8 +57,7 @@ public interface CreateQueueRequestOrBuilder *
    * Required.
    * The queue to create.
-   * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as
-   * an existing queue.
+   * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* * .google.cloud.tasks.v2beta3.Queue queue = 2; @@ -71,8 +69,7 @@ public interface CreateQueueRequestOrBuilder *
    * Required.
    * The queue to create.
-   * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as
-   * an existing queue.
+   * [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue.
    * 
* * .google.cloud.tasks.v2beta3.Queue queue = 2; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java index fdcab303f336..5d4ee4698225 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequest.java @@ -7,8 +7,7 @@ * * *
- * Request message for
- * [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
+ * Request message for [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.CreateTaskRequest} @@ -175,12 +174,12 @@ public com.google.protobuf.ByteString getParentBytes() { * The task to add. * Task names have the following format: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`. - * The user can optionally specify a task - * [name][google.cloud.tasks.v2beta3.Task.name]. If a name is not specified - * then the system will generate a random unique task id, which will be set in - * the task returned in the [response][google.cloud.tasks.v2beta3.Task.name]. - * If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not - * set or is in the past then Cloud Tasks will set it to the current time. + * The user can optionally specify a task [name][google.cloud.tasks.v2beta3.Task.name]. If a + * name is not specified then the system will generate a random + * unique task id, which will be set in the task returned in the + * [response][google.cloud.tasks.v2beta3.Task.name]. + * If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not set or is in the + * past then Cloud Tasks will set it to the current time. * Task De-duplication: * Explicitly specifying a task ID enables task de-duplication. If * a task's ID is identical to that of an existing task or a task @@ -192,10 +191,10 @@ public com.google.protobuf.ByteString getParentBytes() { * queue.xml, then another task with the same name can't be created * for ~9days after the original task was deleted or executed. * Because there is an extra lookup cost to identify duplicate task - * names, these [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] - * calls have significantly increased latency. Using hashed strings for the - * task id or for the prefix of the task id is recommended. Choosing task ids - * that are sequential or have sequential prefixes, for example using a + * names, these [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] calls have significantly + * increased latency. Using hashed strings for the task id or for + * the prefix of the task id is recommended. Choosing task ids that + * are sequential or have sequential prefixes, for example using a * timestamp, causes an increase in latency and error rates in all * task commands. The infrastructure relies on an approximately * uniform distribution of task ids to store and serve tasks @@ -215,12 +214,12 @@ public boolean hasTask() { * The task to add. * Task names have the following format: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`. - * The user can optionally specify a task - * [name][google.cloud.tasks.v2beta3.Task.name]. If a name is not specified - * then the system will generate a random unique task id, which will be set in - * the task returned in the [response][google.cloud.tasks.v2beta3.Task.name]. - * If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not - * set or is in the past then Cloud Tasks will set it to the current time. + * The user can optionally specify a task [name][google.cloud.tasks.v2beta3.Task.name]. If a + * name is not specified then the system will generate a random + * unique task id, which will be set in the task returned in the + * [response][google.cloud.tasks.v2beta3.Task.name]. + * If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not set or is in the + * past then Cloud Tasks will set it to the current time. * Task De-duplication: * Explicitly specifying a task ID enables task de-duplication. If * a task's ID is identical to that of an existing task or a task @@ -232,10 +231,10 @@ public boolean hasTask() { * queue.xml, then another task with the same name can't be created * for ~9days after the original task was deleted or executed. * Because there is an extra lookup cost to identify duplicate task - * names, these [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] - * calls have significantly increased latency. Using hashed strings for the - * task id or for the prefix of the task id is recommended. Choosing task ids - * that are sequential or have sequential prefixes, for example using a + * names, these [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] calls have significantly + * increased latency. Using hashed strings for the task id or for + * the prefix of the task id is recommended. Choosing task ids that + * are sequential or have sequential prefixes, for example using a * timestamp, causes an increase in latency and error rates in all * task commands. The infrastructure relies on an approximately * uniform distribution of task ids to store and serve tasks @@ -255,12 +254,12 @@ public com.google.cloud.tasks.v2beta3.Task getTask() { * The task to add. * Task names have the following format: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`. - * The user can optionally specify a task - * [name][google.cloud.tasks.v2beta3.Task.name]. If a name is not specified - * then the system will generate a random unique task id, which will be set in - * the task returned in the [response][google.cloud.tasks.v2beta3.Task.name]. - * If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not - * set or is in the past then Cloud Tasks will set it to the current time. + * The user can optionally specify a task [name][google.cloud.tasks.v2beta3.Task.name]. If a + * name is not specified then the system will generate a random + * unique task id, which will be set in the task returned in the + * [response][google.cloud.tasks.v2beta3.Task.name]. + * If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not set or is in the + * past then Cloud Tasks will set it to the current time. * Task De-duplication: * Explicitly specifying a task ID enables task de-duplication. If * a task's ID is identical to that of an existing task or a task @@ -272,10 +271,10 @@ public com.google.cloud.tasks.v2beta3.Task getTask() { * queue.xml, then another task with the same name can't be created * for ~9days after the original task was deleted or executed. * Because there is an extra lookup cost to identify duplicate task - * names, these [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] - * calls have significantly increased latency. Using hashed strings for the - * task id or for the prefix of the task id is recommended. Choosing task ids - * that are sequential or have sequential prefixes, for example using a + * names, these [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] calls have significantly + * increased latency. Using hashed strings for the task id or for + * the prefix of the task id is recommended. Choosing task ids that + * are sequential or have sequential prefixes, for example using a * timestamp, causes an increase in latency and error rates in all * task commands. The infrastructure relies on an approximately * uniform distribution of task ids to store and serve tasks @@ -294,17 +293,16 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() { * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta3.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
-   * retrieved by default because some data, such as payloads, might be
-   * desirable to return only when needed because of its large size or because
-   * of the sensitivity of data that it contains.
-   * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta3.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+   * information is retrieved by default because some data, such as
+   * payloads, might be desirable to return only when needed because
+   * of its large size or because of the sensitivity of data that it
+   * contains.
+   * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; @@ -316,17 +314,16 @@ public int getResponseViewValue() { * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta3.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
-   * retrieved by default because some data, such as payloads, might be
-   * desirable to return only when needed because of its large size or because
-   * of the sensitivity of data that it contains.
-   * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta3.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+   * information is retrieved by default because some data, such as
+   * payloads, might be desirable to return only when needed because
+   * of its large size or because of the sensitivity of data that it
+   * contains.
+   * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; @@ -524,8 +521,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
+   * Request message for [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.CreateTaskRequest} @@ -822,12 +818,12 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * The task to add. * Task names have the following format: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`. - * The user can optionally specify a task - * [name][google.cloud.tasks.v2beta3.Task.name]. If a name is not specified - * then the system will generate a random unique task id, which will be set in - * the task returned in the [response][google.cloud.tasks.v2beta3.Task.name]. - * If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not - * set or is in the past then Cloud Tasks will set it to the current time. + * The user can optionally specify a task [name][google.cloud.tasks.v2beta3.Task.name]. If a + * name is not specified then the system will generate a random + * unique task id, which will be set in the task returned in the + * [response][google.cloud.tasks.v2beta3.Task.name]. + * If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not set or is in the + * past then Cloud Tasks will set it to the current time. * Task De-duplication: * Explicitly specifying a task ID enables task de-duplication. If * a task's ID is identical to that of an existing task or a task @@ -839,10 +835,10 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * queue.xml, then another task with the same name can't be created * for ~9days after the original task was deleted or executed. * Because there is an extra lookup cost to identify duplicate task - * names, these [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] - * calls have significantly increased latency. Using hashed strings for the - * task id or for the prefix of the task id is recommended. Choosing task ids - * that are sequential or have sequential prefixes, for example using a + * names, these [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] calls have significantly + * increased latency. Using hashed strings for the task id or for + * the prefix of the task id is recommended. Choosing task ids that + * are sequential or have sequential prefixes, for example using a * timestamp, causes an increase in latency and error rates in all * task commands. The infrastructure relies on an approximately * uniform distribution of task ids to store and serve tasks @@ -862,12 +858,12 @@ public boolean hasTask() { * The task to add. * Task names have the following format: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`. - * The user can optionally specify a task - * [name][google.cloud.tasks.v2beta3.Task.name]. If a name is not specified - * then the system will generate a random unique task id, which will be set in - * the task returned in the [response][google.cloud.tasks.v2beta3.Task.name]. - * If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not - * set or is in the past then Cloud Tasks will set it to the current time. + * The user can optionally specify a task [name][google.cloud.tasks.v2beta3.Task.name]. If a + * name is not specified then the system will generate a random + * unique task id, which will be set in the task returned in the + * [response][google.cloud.tasks.v2beta3.Task.name]. + * If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not set or is in the + * past then Cloud Tasks will set it to the current time. * Task De-duplication: * Explicitly specifying a task ID enables task de-duplication. If * a task's ID is identical to that of an existing task or a task @@ -879,10 +875,10 @@ public boolean hasTask() { * queue.xml, then another task with the same name can't be created * for ~9days after the original task was deleted or executed. * Because there is an extra lookup cost to identify duplicate task - * names, these [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] - * calls have significantly increased latency. Using hashed strings for the - * task id or for the prefix of the task id is recommended. Choosing task ids - * that are sequential or have sequential prefixes, for example using a + * names, these [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] calls have significantly + * increased latency. Using hashed strings for the task id or for + * the prefix of the task id is recommended. Choosing task ids that + * are sequential or have sequential prefixes, for example using a * timestamp, causes an increase in latency and error rates in all * task commands. The infrastructure relies on an approximately * uniform distribution of task ids to store and serve tasks @@ -906,12 +902,12 @@ public com.google.cloud.tasks.v2beta3.Task getTask() { * The task to add. * Task names have the following format: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`. - * The user can optionally specify a task - * [name][google.cloud.tasks.v2beta3.Task.name]. If a name is not specified - * then the system will generate a random unique task id, which will be set in - * the task returned in the [response][google.cloud.tasks.v2beta3.Task.name]. - * If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not - * set or is in the past then Cloud Tasks will set it to the current time. + * The user can optionally specify a task [name][google.cloud.tasks.v2beta3.Task.name]. If a + * name is not specified then the system will generate a random + * unique task id, which will be set in the task returned in the + * [response][google.cloud.tasks.v2beta3.Task.name]. + * If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not set or is in the + * past then Cloud Tasks will set it to the current time. * Task De-duplication: * Explicitly specifying a task ID enables task de-duplication. If * a task's ID is identical to that of an existing task or a task @@ -923,10 +919,10 @@ public com.google.cloud.tasks.v2beta3.Task getTask() { * queue.xml, then another task with the same name can't be created * for ~9days after the original task was deleted or executed. * Because there is an extra lookup cost to identify duplicate task - * names, these [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] - * calls have significantly increased latency. Using hashed strings for the - * task id or for the prefix of the task id is recommended. Choosing task ids - * that are sequential or have sequential prefixes, for example using a + * names, these [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] calls have significantly + * increased latency. Using hashed strings for the task id or for + * the prefix of the task id is recommended. Choosing task ids that + * are sequential or have sequential prefixes, for example using a * timestamp, causes an increase in latency and error rates in all * task commands. The infrastructure relies on an approximately * uniform distribution of task ids to store and serve tasks @@ -956,12 +952,12 @@ public Builder setTask(com.google.cloud.tasks.v2beta3.Task value) { * The task to add. * Task names have the following format: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`. - * The user can optionally specify a task - * [name][google.cloud.tasks.v2beta3.Task.name]. If a name is not specified - * then the system will generate a random unique task id, which will be set in - * the task returned in the [response][google.cloud.tasks.v2beta3.Task.name]. - * If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not - * set or is in the past then Cloud Tasks will set it to the current time. + * The user can optionally specify a task [name][google.cloud.tasks.v2beta3.Task.name]. If a + * name is not specified then the system will generate a random + * unique task id, which will be set in the task returned in the + * [response][google.cloud.tasks.v2beta3.Task.name]. + * If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not set or is in the + * past then Cloud Tasks will set it to the current time. * Task De-duplication: * Explicitly specifying a task ID enables task de-duplication. If * a task's ID is identical to that of an existing task or a task @@ -973,10 +969,10 @@ public Builder setTask(com.google.cloud.tasks.v2beta3.Task value) { * queue.xml, then another task with the same name can't be created * for ~9days after the original task was deleted or executed. * Because there is an extra lookup cost to identify duplicate task - * names, these [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] - * calls have significantly increased latency. Using hashed strings for the - * task id or for the prefix of the task id is recommended. Choosing task ids - * that are sequential or have sequential prefixes, for example using a + * names, these [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] calls have significantly + * increased latency. Using hashed strings for the task id or for + * the prefix of the task id is recommended. Choosing task ids that + * are sequential or have sequential prefixes, for example using a * timestamp, causes an increase in latency and error rates in all * task commands. The infrastructure relies on an approximately * uniform distribution of task ids to store and serve tasks @@ -1003,12 +999,12 @@ public Builder setTask(com.google.cloud.tasks.v2beta3.Task.Builder builderForVal * The task to add. * Task names have the following format: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`. - * The user can optionally specify a task - * [name][google.cloud.tasks.v2beta3.Task.name]. If a name is not specified - * then the system will generate a random unique task id, which will be set in - * the task returned in the [response][google.cloud.tasks.v2beta3.Task.name]. - * If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not - * set or is in the past then Cloud Tasks will set it to the current time. + * The user can optionally specify a task [name][google.cloud.tasks.v2beta3.Task.name]. If a + * name is not specified then the system will generate a random + * unique task id, which will be set in the task returned in the + * [response][google.cloud.tasks.v2beta3.Task.name]. + * If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not set or is in the + * past then Cloud Tasks will set it to the current time. * Task De-duplication: * Explicitly specifying a task ID enables task de-duplication. If * a task's ID is identical to that of an existing task or a task @@ -1020,10 +1016,10 @@ public Builder setTask(com.google.cloud.tasks.v2beta3.Task.Builder builderForVal * queue.xml, then another task with the same name can't be created * for ~9days after the original task was deleted or executed. * Because there is an extra lookup cost to identify duplicate task - * names, these [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] - * calls have significantly increased latency. Using hashed strings for the - * task id or for the prefix of the task id is recommended. Choosing task ids - * that are sequential or have sequential prefixes, for example using a + * names, these [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] calls have significantly + * increased latency. Using hashed strings for the task id or for + * the prefix of the task id is recommended. Choosing task ids that + * are sequential or have sequential prefixes, for example using a * timestamp, causes an increase in latency and error rates in all * task commands. The infrastructure relies on an approximately * uniform distribution of task ids to store and serve tasks @@ -1055,12 +1051,12 @@ public Builder mergeTask(com.google.cloud.tasks.v2beta3.Task value) { * The task to add. * Task names have the following format: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`. - * The user can optionally specify a task - * [name][google.cloud.tasks.v2beta3.Task.name]. If a name is not specified - * then the system will generate a random unique task id, which will be set in - * the task returned in the [response][google.cloud.tasks.v2beta3.Task.name]. - * If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not - * set or is in the past then Cloud Tasks will set it to the current time. + * The user can optionally specify a task [name][google.cloud.tasks.v2beta3.Task.name]. If a + * name is not specified then the system will generate a random + * unique task id, which will be set in the task returned in the + * [response][google.cloud.tasks.v2beta3.Task.name]. + * If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not set or is in the + * past then Cloud Tasks will set it to the current time. * Task De-duplication: * Explicitly specifying a task ID enables task de-duplication. If * a task's ID is identical to that of an existing task or a task @@ -1072,10 +1068,10 @@ public Builder mergeTask(com.google.cloud.tasks.v2beta3.Task value) { * queue.xml, then another task with the same name can't be created * for ~9days after the original task was deleted or executed. * Because there is an extra lookup cost to identify duplicate task - * names, these [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] - * calls have significantly increased latency. Using hashed strings for the - * task id or for the prefix of the task id is recommended. Choosing task ids - * that are sequential or have sequential prefixes, for example using a + * names, these [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] calls have significantly + * increased latency. Using hashed strings for the task id or for + * the prefix of the task id is recommended. Choosing task ids that + * are sequential or have sequential prefixes, for example using a * timestamp, causes an increase in latency and error rates in all * task commands. The infrastructure relies on an approximately * uniform distribution of task ids to store and serve tasks @@ -1103,12 +1099,12 @@ public Builder clearTask() { * The task to add. * Task names have the following format: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`. - * The user can optionally specify a task - * [name][google.cloud.tasks.v2beta3.Task.name]. If a name is not specified - * then the system will generate a random unique task id, which will be set in - * the task returned in the [response][google.cloud.tasks.v2beta3.Task.name]. - * If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not - * set or is in the past then Cloud Tasks will set it to the current time. + * The user can optionally specify a task [name][google.cloud.tasks.v2beta3.Task.name]. If a + * name is not specified then the system will generate a random + * unique task id, which will be set in the task returned in the + * [response][google.cloud.tasks.v2beta3.Task.name]. + * If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not set or is in the + * past then Cloud Tasks will set it to the current time. * Task De-duplication: * Explicitly specifying a task ID enables task de-duplication. If * a task's ID is identical to that of an existing task or a task @@ -1120,10 +1116,10 @@ public Builder clearTask() { * queue.xml, then another task with the same name can't be created * for ~9days after the original task was deleted or executed. * Because there is an extra lookup cost to identify duplicate task - * names, these [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] - * calls have significantly increased latency. Using hashed strings for the - * task id or for the prefix of the task id is recommended. Choosing task ids - * that are sequential or have sequential prefixes, for example using a + * names, these [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] calls have significantly + * increased latency. Using hashed strings for the task id or for + * the prefix of the task id is recommended. Choosing task ids that + * are sequential or have sequential prefixes, for example using a * timestamp, causes an increase in latency and error rates in all * task commands. The infrastructure relies on an approximately * uniform distribution of task ids to store and serve tasks @@ -1145,12 +1141,12 @@ public com.google.cloud.tasks.v2beta3.Task.Builder getTaskBuilder() { * The task to add. * Task names have the following format: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`. - * The user can optionally specify a task - * [name][google.cloud.tasks.v2beta3.Task.name]. If a name is not specified - * then the system will generate a random unique task id, which will be set in - * the task returned in the [response][google.cloud.tasks.v2beta3.Task.name]. - * If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not - * set or is in the past then Cloud Tasks will set it to the current time. + * The user can optionally specify a task [name][google.cloud.tasks.v2beta3.Task.name]. If a + * name is not specified then the system will generate a random + * unique task id, which will be set in the task returned in the + * [response][google.cloud.tasks.v2beta3.Task.name]. + * If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not set or is in the + * past then Cloud Tasks will set it to the current time. * Task De-duplication: * Explicitly specifying a task ID enables task de-duplication. If * a task's ID is identical to that of an existing task or a task @@ -1162,10 +1158,10 @@ public com.google.cloud.tasks.v2beta3.Task.Builder getTaskBuilder() { * queue.xml, then another task with the same name can't be created * for ~9days after the original task was deleted or executed. * Because there is an extra lookup cost to identify duplicate task - * names, these [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] - * calls have significantly increased latency. Using hashed strings for the - * task id or for the prefix of the task id is recommended. Choosing task ids - * that are sequential or have sequential prefixes, for example using a + * names, these [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] calls have significantly + * increased latency. Using hashed strings for the task id or for + * the prefix of the task id is recommended. Choosing task ids that + * are sequential or have sequential prefixes, for example using a * timestamp, causes an increase in latency and error rates in all * task commands. The infrastructure relies on an approximately * uniform distribution of task ids to store and serve tasks @@ -1189,12 +1185,12 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() { * The task to add. * Task names have the following format: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`. - * The user can optionally specify a task - * [name][google.cloud.tasks.v2beta3.Task.name]. If a name is not specified - * then the system will generate a random unique task id, which will be set in - * the task returned in the [response][google.cloud.tasks.v2beta3.Task.name]. - * If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not - * set or is in the past then Cloud Tasks will set it to the current time. + * The user can optionally specify a task [name][google.cloud.tasks.v2beta3.Task.name]. If a + * name is not specified then the system will generate a random + * unique task id, which will be set in the task returned in the + * [response][google.cloud.tasks.v2beta3.Task.name]. + * If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not set or is in the + * past then Cloud Tasks will set it to the current time. * Task De-duplication: * Explicitly specifying a task ID enables task de-duplication. If * a task's ID is identical to that of an existing task or a task @@ -1206,10 +1202,10 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() { * queue.xml, then another task with the same name can't be created * for ~9days after the original task was deleted or executed. * Because there is an extra lookup cost to identify duplicate task - * names, these [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] - * calls have significantly increased latency. Using hashed strings for the - * task id or for the prefix of the task id is recommended. Choosing task ids - * that are sequential or have sequential prefixes, for example using a + * names, these [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] calls have significantly + * increased latency. Using hashed strings for the task id or for + * the prefix of the task id is recommended. Choosing task ids that + * are sequential or have sequential prefixes, for example using a * timestamp, causes an increase in latency and error rates in all * task commands. The infrastructure relies on an approximately * uniform distribution of task ids to store and serve tasks @@ -1240,17 +1236,16 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTaskOrBuilder() { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta3.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
-     * retrieved by default because some data, such as payloads, might be
-     * desirable to return only when needed because of its large size or because
-     * of the sensitivity of data that it contains.
-     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta3.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+     * information is retrieved by default because some data, such as
+     * payloads, might be desirable to return only when needed because
+     * of its large size or because of the sensitivity of data that it
+     * contains.
+     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; @@ -1262,17 +1257,16 @@ public int getResponseViewValue() { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta3.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
-     * retrieved by default because some data, such as payloads, might be
-     * desirable to return only when needed because of its large size or because
-     * of the sensitivity of data that it contains.
-     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta3.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+     * information is retrieved by default because some data, such as
+     * payloads, might be desirable to return only when needed because
+     * of its large size or because of the sensitivity of data that it
+     * contains.
+     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; @@ -1286,17 +1280,16 @@ public Builder setResponseViewValue(int value) { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta3.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
-     * retrieved by default because some data, such as payloads, might be
-     * desirable to return only when needed because of its large size or because
-     * of the sensitivity of data that it contains.
-     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta3.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+     * information is retrieved by default because some data, such as
+     * payloads, might be desirable to return only when needed because
+     * of its large size or because of the sensitivity of data that it
+     * contains.
+     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; @@ -1311,17 +1304,16 @@ public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta3.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
-     * retrieved by default because some data, such as payloads, might be
-     * desirable to return only when needed because of its large size or because
-     * of the sensitivity of data that it contains.
-     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta3.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+     * information is retrieved by default because some data, such as
+     * payloads, might be desirable to return only when needed because
+     * of its large size or because of the sensitivity of data that it
+     * contains.
+     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; @@ -1339,17 +1331,16 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta3.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
-     * retrieved by default because some data, such as payloads, might be
-     * desirable to return only when needed because of its large size or because
-     * of the sensitivity of data that it contains.
-     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta3.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+     * information is retrieved by default because some data, such as
+     * payloads, might be desirable to return only when needed because
+     * of its large size or because of the sensitivity of data that it
+     * contains.
+     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java index e959d09f3240..ab271e80e2b1 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/CreateTaskRequestOrBuilder.java @@ -43,12 +43,12 @@ public interface CreateTaskRequestOrBuilder * The task to add. * Task names have the following format: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`. - * The user can optionally specify a task - * [name][google.cloud.tasks.v2beta3.Task.name]. If a name is not specified - * then the system will generate a random unique task id, which will be set in - * the task returned in the [response][google.cloud.tasks.v2beta3.Task.name]. - * If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not - * set or is in the past then Cloud Tasks will set it to the current time. + * The user can optionally specify a task [name][google.cloud.tasks.v2beta3.Task.name]. If a + * name is not specified then the system will generate a random + * unique task id, which will be set in the task returned in the + * [response][google.cloud.tasks.v2beta3.Task.name]. + * If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not set or is in the + * past then Cloud Tasks will set it to the current time. * Task De-duplication: * Explicitly specifying a task ID enables task de-duplication. If * a task's ID is identical to that of an existing task or a task @@ -60,10 +60,10 @@ public interface CreateTaskRequestOrBuilder * queue.xml, then another task with the same name can't be created * for ~9days after the original task was deleted or executed. * Because there is an extra lookup cost to identify duplicate task - * names, these [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] - * calls have significantly increased latency. Using hashed strings for the - * task id or for the prefix of the task id is recommended. Choosing task ids - * that are sequential or have sequential prefixes, for example using a + * names, these [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] calls have significantly + * increased latency. Using hashed strings for the task id or for + * the prefix of the task id is recommended. Choosing task ids that + * are sequential or have sequential prefixes, for example using a * timestamp, causes an increase in latency and error rates in all * task commands. The infrastructure relies on an approximately * uniform distribution of task ids to store and serve tasks @@ -81,12 +81,12 @@ public interface CreateTaskRequestOrBuilder * The task to add. * Task names have the following format: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`. - * The user can optionally specify a task - * [name][google.cloud.tasks.v2beta3.Task.name]. If a name is not specified - * then the system will generate a random unique task id, which will be set in - * the task returned in the [response][google.cloud.tasks.v2beta3.Task.name]. - * If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not - * set or is in the past then Cloud Tasks will set it to the current time. + * The user can optionally specify a task [name][google.cloud.tasks.v2beta3.Task.name]. If a + * name is not specified then the system will generate a random + * unique task id, which will be set in the task returned in the + * [response][google.cloud.tasks.v2beta3.Task.name]. + * If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not set or is in the + * past then Cloud Tasks will set it to the current time. * Task De-duplication: * Explicitly specifying a task ID enables task de-duplication. If * a task's ID is identical to that of an existing task or a task @@ -98,10 +98,10 @@ public interface CreateTaskRequestOrBuilder * queue.xml, then another task with the same name can't be created * for ~9days after the original task was deleted or executed. * Because there is an extra lookup cost to identify duplicate task - * names, these [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] - * calls have significantly increased latency. Using hashed strings for the - * task id or for the prefix of the task id is recommended. Choosing task ids - * that are sequential or have sequential prefixes, for example using a + * names, these [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] calls have significantly + * increased latency. Using hashed strings for the task id or for + * the prefix of the task id is recommended. Choosing task ids that + * are sequential or have sequential prefixes, for example using a * timestamp, causes an increase in latency and error rates in all * task commands. The infrastructure relies on an approximately * uniform distribution of task ids to store and serve tasks @@ -119,12 +119,12 @@ public interface CreateTaskRequestOrBuilder * The task to add. * Task names have the following format: * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`. - * The user can optionally specify a task - * [name][google.cloud.tasks.v2beta3.Task.name]. If a name is not specified - * then the system will generate a random unique task id, which will be set in - * the task returned in the [response][google.cloud.tasks.v2beta3.Task.name]. - * If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not - * set or is in the past then Cloud Tasks will set it to the current time. + * The user can optionally specify a task [name][google.cloud.tasks.v2beta3.Task.name]. If a + * name is not specified then the system will generate a random + * unique task id, which will be set in the task returned in the + * [response][google.cloud.tasks.v2beta3.Task.name]. + * If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not set or is in the + * past then Cloud Tasks will set it to the current time. * Task De-duplication: * Explicitly specifying a task ID enables task de-duplication. If * a task's ID is identical to that of an existing task or a task @@ -136,10 +136,10 @@ public interface CreateTaskRequestOrBuilder * queue.xml, then another task with the same name can't be created * for ~9days after the original task was deleted or executed. * Because there is an extra lookup cost to identify duplicate task - * names, these [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] - * calls have significantly increased latency. Using hashed strings for the - * task id or for the prefix of the task id is recommended. Choosing task ids - * that are sequential or have sequential prefixes, for example using a + * names, these [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] calls have significantly + * increased latency. Using hashed strings for the task id or for + * the prefix of the task id is recommended. Choosing task ids that + * are sequential or have sequential prefixes, for example using a * timestamp, causes an increase in latency and error rates in all * task commands. The infrastructure relies on an approximately * uniform distribution of task ids to store and serve tasks @@ -154,17 +154,16 @@ public interface CreateTaskRequestOrBuilder * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta3.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
-   * retrieved by default because some data, such as payloads, might be
-   * desirable to return only when needed because of its large size or because
-   * of the sensitivity of data that it contains.
-   * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta3.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+   * information is retrieved by default because some data, such as
+   * payloads, might be desirable to return only when needed because
+   * of its large size or because of the sensitivity of data that it
+   * contains.
+   * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; @@ -174,17 +173,16 @@ public interface CreateTaskRequestOrBuilder * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta3.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
-   * retrieved by default because some data, such as payloads, might be
-   * desirable to return only when needed because of its large size or because
-   * of the sensitivity of data that it contains.
-   * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta3.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+   * information is retrieved by default because some data, such as
+   * payloads, might be desirable to return only when needed because
+   * of its large size or because of the sensitivity of data that it
+   * contains.
+   * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 3; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java index eb17a67ebad9..a8b5dba034dc 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/DeleteQueueRequest.java @@ -7,8 +7,7 @@ * * *
- * Request message for
- * [DeleteQueue][google.cloud.tasks.v2beta3.CloudTasks.DeleteQueue].
+ * Request message for [DeleteQueue][google.cloud.tasks.v2beta3.CloudTasks.DeleteQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.DeleteQueueRequest} @@ -302,8 +301,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [DeleteQueue][google.cloud.tasks.v2beta3.CloudTasks.DeleteQueue].
+   * Request message for [DeleteQueue][google.cloud.tasks.v2beta3.CloudTasks.DeleteQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.DeleteQueueRequest} diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java index e15af83e49db..b0308be580c2 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetQueueRequest.java @@ -7,8 +7,7 @@ * * *
- * Request message for
- * [GetQueue][google.cloud.tasks.v2beta3.CloudTasks.GetQueue].
+ * Request message for [GetQueue][google.cloud.tasks.v2beta3.CloudTasks.GetQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.GetQueueRequest} @@ -302,8 +301,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [GetQueue][google.cloud.tasks.v2beta3.CloudTasks.GetQueue].
+   * Request message for [GetQueue][google.cloud.tasks.v2beta3.CloudTasks.GetQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.GetQueueRequest} diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java index 7227ddbe1349..2089fb56d2d8 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequest.java @@ -7,8 +7,7 @@ * * *
- * Request message for getting a task using
- * [GetTask][google.cloud.tasks.v2beta3.CloudTasks.GetTask].
+ * Request message for getting a task using [GetTask][google.cloud.tasks.v2beta3.CloudTasks.GetTask].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.GetTaskRequest} @@ -153,17 +152,16 @@ public com.google.protobuf.ByteString getNameBytes() { * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta3.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
-   * retrieved by default because some data, such as payloads, might be
-   * desirable to return only when needed because of its large size or because
-   * of the sensitivity of data that it contains.
-   * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta3.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+   * information is retrieved by default because some data, such as
+   * payloads, might be desirable to return only when needed because
+   * of its large size or because of the sensitivity of data that it
+   * contains.
+   * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; @@ -175,17 +173,16 @@ public int getResponseViewValue() { * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta3.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
-   * retrieved by default because some data, such as payloads, might be
-   * desirable to return only when needed because of its large size or because
-   * of the sensitivity of data that it contains.
-   * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta3.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+   * information is retrieved by default because some data, such as
+   * payloads, might be desirable to return only when needed because
+   * of its large size or because of the sensitivity of data that it
+   * contains.
+   * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; @@ -369,8 +366,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for getting a task using
-   * [GetTask][google.cloud.tasks.v2beta3.CloudTasks.GetTask].
+   * Request message for getting a task using [GetTask][google.cloud.tasks.v2beta3.CloudTasks.GetTask].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.GetTaskRequest} @@ -638,17 +634,16 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta3.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
-     * retrieved by default because some data, such as payloads, might be
-     * desirable to return only when needed because of its large size or because
-     * of the sensitivity of data that it contains.
-     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta3.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+     * information is retrieved by default because some data, such as
+     * payloads, might be desirable to return only when needed because
+     * of its large size or because of the sensitivity of data that it
+     * contains.
+     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; @@ -660,17 +655,16 @@ public int getResponseViewValue() { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta3.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
-     * retrieved by default because some data, such as payloads, might be
-     * desirable to return only when needed because of its large size or because
-     * of the sensitivity of data that it contains.
-     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta3.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+     * information is retrieved by default because some data, such as
+     * payloads, might be desirable to return only when needed because
+     * of its large size or because of the sensitivity of data that it
+     * contains.
+     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; @@ -684,17 +678,16 @@ public Builder setResponseViewValue(int value) { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta3.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
-     * retrieved by default because some data, such as payloads, might be
-     * desirable to return only when needed because of its large size or because
-     * of the sensitivity of data that it contains.
-     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta3.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+     * information is retrieved by default because some data, such as
+     * payloads, might be desirable to return only when needed because
+     * of its large size or because of the sensitivity of data that it
+     * contains.
+     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; @@ -709,17 +702,16 @@ public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta3.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
-     * retrieved by default because some data, such as payloads, might be
-     * desirable to return only when needed because of its large size or because
-     * of the sensitivity of data that it contains.
-     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta3.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+     * information is retrieved by default because some data, such as
+     * payloads, might be desirable to return only when needed because
+     * of its large size or because of the sensitivity of data that it
+     * contains.
+     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; @@ -737,17 +729,16 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta3.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
-     * retrieved by default because some data, such as payloads, might be
-     * desirable to return only when needed because of its large size or because
-     * of the sensitivity of data that it contains.
-     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta3.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+     * information is retrieved by default because some data, such as
+     * payloads, might be desirable to return only when needed because
+     * of its large size or because of the sensitivity of data that it
+     * contains.
+     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java index 49e318dba4d5..73c7d5481505 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/GetTaskRequestOrBuilder.java @@ -37,17 +37,16 @@ public interface GetTaskRequestOrBuilder * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta3.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
-   * retrieved by default because some data, such as payloads, might be
-   * desirable to return only when needed because of its large size or because
-   * of the sensitivity of data that it contains.
-   * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta3.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+   * information is retrieved by default because some data, such as
+   * payloads, might be desirable to return only when needed because
+   * of its large size or because of the sensitivity of data that it
+   * contains.
+   * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; @@ -57,17 +56,16 @@ public interface GetTaskRequestOrBuilder * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta3.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
-   * retrieved by default because some data, such as payloads, might be
-   * desirable to return only when needed because of its large size or because
-   * of the sensitivity of data that it contains.
-   * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta3.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+   * information is retrieved by default because some data, such as
+   * payloads, might be desirable to return only when needed because
+   * of its large size or because of the sensitivity of data that it
+   * contains.
+   * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java index bdfd336baeba..16e0b41e311b 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequest.java @@ -10,15 +10,14 @@ * HTTP request. * Warning: This is an [alpha](https://cloud.google.com/terms/launch-stages) * feature. If you haven't already joined, you can [use this form to sign - * up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform?usp=sf_link). + * up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform). * The task will be pushed to the worker as an HTTP request. If the worker * or the redirected worker acknowledges the task by returning a successful HTTP * response code ([`200` - `299`]), the task will removed from the queue. If * any other HTTP response code is returned or no response is received, the * task will be retried according to the following: * * User-specified throttling: [retry configuration][Queue.RetryConfig], - * [rate limits][Queue.RateLimits], and the [queue's - * state][google.cloud.tasks.v2beta3.Queue.state]. + * [rate limits][Queue.RateLimits], and the [queue's state][google.cloud.tasks.v2beta3.Queue.state]. * * System throttling: To prevent the worker from overloading, Cloud Tasks may * temporarily reduce the queue's effective rate. User-specified settings * will not be changed. @@ -110,6 +109,42 @@ private HttpRequest( body_ = input.readBytes(); break; } + case 42: + { + com.google.cloud.tasks.v2beta3.OAuthToken.Builder subBuilder = null; + if (authorizationHeaderCase_ == 5) { + subBuilder = + ((com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_).toBuilder(); + } + authorizationHeader_ = + input.readMessage( + com.google.cloud.tasks.v2beta3.OAuthToken.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_); + authorizationHeader_ = subBuilder.buildPartial(); + } + authorizationHeaderCase_ = 5; + break; + } + case 50: + { + com.google.cloud.tasks.v2beta3.OidcToken.Builder subBuilder = null; + if (authorizationHeaderCase_ == 6) { + subBuilder = + ((com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_).toBuilder(); + } + authorizationHeader_ = + input.readMessage( + com.google.cloud.tasks.v2beta3.OidcToken.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom( + (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_); + authorizationHeader_ = subBuilder.buildPartial(); + } + authorizationHeaderCase_ = 6; + break; + } default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { @@ -156,6 +191,46 @@ protected com.google.protobuf.MapField internalGetMapField(int number) { } private int bitField0_; + private int authorizationHeaderCase_ = 0; + private java.lang.Object authorizationHeader_; + + public enum AuthorizationHeaderCase implements com.google.protobuf.Internal.EnumLite { + OAUTH_TOKEN(5), + OIDC_TOKEN(6), + AUTHORIZATIONHEADER_NOT_SET(0); + private final int value; + + private AuthorizationHeaderCase(int value) { + this.value = value; + } + /** @deprecated Use {@link #forNumber(int)} instead. */ + @java.lang.Deprecated + public static AuthorizationHeaderCase valueOf(int value) { + return forNumber(value); + } + + public static AuthorizationHeaderCase forNumber(int value) { + switch (value) { + case 5: + return OAUTH_TOKEN; + case 6: + return OIDC_TOKEN; + case 0: + return AUTHORIZATIONHEADER_NOT_SET; + default: + return null; + } + } + + public int getNumber() { + return this.value; + } + }; + + public AuthorizationHeaderCase getAuthorizationHeaderCase() { + return AuthorizationHeaderCase.forNumber(authorizationHeaderCase_); + } + public static final int URL_FIELD_NUMBER = 1; private volatile java.lang.Object url_; /** @@ -422,9 +497,8 @@ public java.lang.String getHeadersOrThrow(java.lang.String key) { *
    * HTTP request body.
    * A request body is allowed only if the
-   * [HTTP method][google.cloud.tasks.v2beta3.HttpRequest.http_method] is POST,
-   * PUT, or PATCH. It is an error to set body on a task with an incompatible
-   * [HttpMethod][google.cloud.tasks.v2beta3.HttpMethod].
+   * [HTTP method][google.cloud.tasks.v2beta3.HttpRequest.http_method] is POST, PUT, or PATCH. It is an
+   * error to set body on a task with an incompatible [HttpMethod][google.cloud.tasks.v2beta3.HttpMethod].
    * 
* * bytes body = 4; @@ -433,6 +507,124 @@ public com.google.protobuf.ByteString getBody() { return body_; } + public static final int OAUTH_TOKEN_FIELD_NUMBER = 5; + /** + * + * + *
+   * If specified, an
+   * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
+   * will be generated and attached as an `Authorization` header in the HTTP
+   * request.
+   * This type of authorization should be used when sending requests to a GCP
+   * endpoint.
+   * 
+ * + * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; + */ + public boolean hasOauthToken() { + return authorizationHeaderCase_ == 5; + } + /** + * + * + *
+   * If specified, an
+   * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
+   * will be generated and attached as an `Authorization` header in the HTTP
+   * request.
+   * This type of authorization should be used when sending requests to a GCP
+   * endpoint.
+   * 
+ * + * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; + */ + public com.google.cloud.tasks.v2beta3.OAuthToken getOauthToken() { + if (authorizationHeaderCase_ == 5) { + return (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_; + } + return com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance(); + } + /** + * + * + *
+   * If specified, an
+   * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
+   * will be generated and attached as an `Authorization` header in the HTTP
+   * request.
+   * This type of authorization should be used when sending requests to a GCP
+   * endpoint.
+   * 
+ * + * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; + */ + public com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder() { + if (authorizationHeaderCase_ == 5) { + return (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_; + } + return com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance(); + } + + public static final int OIDC_TOKEN_FIELD_NUMBER = 6; + /** + * + * + *
+   * If specified, an
+   * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
+   * token will be generated and attached as an `Authorization` header in the
+   * HTTP request.
+   * This type of authorization should be used when sending requests to third
+   * party endpoints.
+   * 
+ * + * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; + */ + public boolean hasOidcToken() { + return authorizationHeaderCase_ == 6; + } + /** + * + * + *
+   * If specified, an
+   * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
+   * token will be generated and attached as an `Authorization` header in the
+   * HTTP request.
+   * This type of authorization should be used when sending requests to third
+   * party endpoints.
+   * 
+ * + * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; + */ + public com.google.cloud.tasks.v2beta3.OidcToken getOidcToken() { + if (authorizationHeaderCase_ == 6) { + return (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_; + } + return com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance(); + } + /** + * + * + *
+   * If specified, an
+   * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
+   * token will be generated and attached as an `Authorization` header in the
+   * HTTP request.
+   * This type of authorization should be used when sending requests to third
+   * party endpoints.
+   * 
+ * + * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; + */ + public com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder getOidcTokenOrBuilder() { + if (authorizationHeaderCase_ == 6) { + return (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_; + } + return com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance(); + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -459,6 +651,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!body_.isEmpty()) { output.writeBytes(4, body_); } + if (authorizationHeaderCase_ == 5) { + output.writeMessage(5, (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_); + } + if (authorizationHeaderCase_ == 6) { + output.writeMessage(6, (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_); + } unknownFields.writeTo(output); } @@ -488,6 +686,16 @@ public int getSerializedSize() { if (!body_.isEmpty()) { size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, body_); } + if (authorizationHeaderCase_ == 5) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_); + } + if (authorizationHeaderCase_ == 6) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -508,6 +716,17 @@ public boolean equals(final java.lang.Object obj) { if (httpMethod_ != other.httpMethod_) return false; if (!internalGetHeaders().equals(other.internalGetHeaders())) return false; if (!getBody().equals(other.getBody())) return false; + if (!getAuthorizationHeaderCase().equals(other.getAuthorizationHeaderCase())) return false; + switch (authorizationHeaderCase_) { + case 5: + if (!getOauthToken().equals(other.getOauthToken())) return false; + break; + case 6: + if (!getOidcToken().equals(other.getOidcToken())) return false; + break; + case 0: + default: + } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -529,6 +748,18 @@ public int hashCode() { } hash = (37 * hash) + BODY_FIELD_NUMBER; hash = (53 * hash) + getBody().hashCode(); + switch (authorizationHeaderCase_) { + case 5: + hash = (37 * hash) + OAUTH_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getOauthToken().hashCode(); + break; + case 6: + hash = (37 * hash) + OIDC_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getOidcToken().hashCode(); + break; + case 0: + default: + } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; @@ -636,15 +867,14 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * HTTP request. * Warning: This is an [alpha](https://cloud.google.com/terms/launch-stages) * feature. If you haven't already joined, you can [use this form to sign - * up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform?usp=sf_link). + * up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform). * The task will be pushed to the worker as an HTTP request. If the worker * or the redirected worker acknowledges the task by returning a successful HTTP * response code ([`200` - `299`]), the task will removed from the queue. If * any other HTTP response code is returned or no response is received, the * task will be retried according to the following: * * User-specified throttling: [retry configuration][Queue.RetryConfig], - * [rate limits][Queue.RateLimits], and the [queue's - * state][google.cloud.tasks.v2beta3.Queue.state]. + * [rate limits][Queue.RateLimits], and the [queue's state][google.cloud.tasks.v2beta3.Queue.state]. * * System throttling: To prevent the worker from overloading, Cloud Tasks may * temporarily reduce the queue's effective rate. User-specified settings * will not be changed. @@ -726,6 +956,8 @@ public Builder clear() { internalGetMutableHeaders().clear(); body_ = com.google.protobuf.ByteString.EMPTY; + authorizationHeaderCase_ = 0; + authorizationHeader_ = null; return this; } @@ -760,7 +992,22 @@ public com.google.cloud.tasks.v2beta3.HttpRequest buildPartial() { result.headers_ = internalGetHeaders(); result.headers_.makeImmutable(); result.body_ = body_; + if (authorizationHeaderCase_ == 5) { + if (oauthTokenBuilder_ == null) { + result.authorizationHeader_ = authorizationHeader_; + } else { + result.authorizationHeader_ = oauthTokenBuilder_.build(); + } + } + if (authorizationHeaderCase_ == 6) { + if (oidcTokenBuilder_ == null) { + result.authorizationHeader_ = authorizationHeader_; + } else { + result.authorizationHeader_ = oidcTokenBuilder_.build(); + } + } result.bitField0_ = to_bitField0_; + result.authorizationHeaderCase_ = authorizationHeaderCase_; onBuilt(); return result; } @@ -821,6 +1068,22 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.HttpRequest other) { if (other.getBody() != com.google.protobuf.ByteString.EMPTY) { setBody(other.getBody()); } + switch (other.getAuthorizationHeaderCase()) { + case OAUTH_TOKEN: + { + mergeOauthToken(other.getOauthToken()); + break; + } + case OIDC_TOKEN: + { + mergeOidcToken(other.getOidcToken()); + break; + } + case AUTHORIZATIONHEADER_NOT_SET: + { + break; + } + } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; @@ -850,6 +1113,20 @@ public Builder mergeFrom( return this; } + private int authorizationHeaderCase_ = 0; + private java.lang.Object authorizationHeader_; + + public AuthorizationHeaderCase getAuthorizationHeaderCase() { + return AuthorizationHeaderCase.forNumber(authorizationHeaderCase_); + } + + public Builder clearAuthorizationHeader() { + authorizationHeaderCase_ = 0; + authorizationHeader_ = null; + onChanged(); + return this; + } + private int bitField0_; private java.lang.Object url_ = ""; @@ -1351,9 +1628,8 @@ public Builder putAllHeaders(java.util.Map v *
      * HTTP request body.
      * A request body is allowed only if the
-     * [HTTP method][google.cloud.tasks.v2beta3.HttpRequest.http_method] is POST,
-     * PUT, or PATCH. It is an error to set body on a task with an incompatible
-     * [HttpMethod][google.cloud.tasks.v2beta3.HttpMethod].
+     * [HTTP method][google.cloud.tasks.v2beta3.HttpRequest.http_method] is POST, PUT, or PATCH. It is an
+     * error to set body on a task with an incompatible [HttpMethod][google.cloud.tasks.v2beta3.HttpMethod].
      * 
* * bytes body = 4; @@ -1367,9 +1643,8 @@ public com.google.protobuf.ByteString getBody() { *
      * HTTP request body.
      * A request body is allowed only if the
-     * [HTTP method][google.cloud.tasks.v2beta3.HttpRequest.http_method] is POST,
-     * PUT, or PATCH. It is an error to set body on a task with an incompatible
-     * [HttpMethod][google.cloud.tasks.v2beta3.HttpMethod].
+     * [HTTP method][google.cloud.tasks.v2beta3.HttpRequest.http_method] is POST, PUT, or PATCH. It is an
+     * error to set body on a task with an incompatible [HttpMethod][google.cloud.tasks.v2beta3.HttpMethod].
      * 
* * bytes body = 4; @@ -1389,9 +1664,8 @@ public Builder setBody(com.google.protobuf.ByteString value) { *
      * HTTP request body.
      * A request body is allowed only if the
-     * [HTTP method][google.cloud.tasks.v2beta3.HttpRequest.http_method] is POST,
-     * PUT, or PATCH. It is an error to set body on a task with an incompatible
-     * [HttpMethod][google.cloud.tasks.v2beta3.HttpMethod].
+     * [HTTP method][google.cloud.tasks.v2beta3.HttpRequest.http_method] is POST, PUT, or PATCH. It is an
+     * error to set body on a task with an incompatible [HttpMethod][google.cloud.tasks.v2beta3.HttpMethod].
      * 
* * bytes body = 4; @@ -1403,6 +1677,501 @@ public Builder clearBody() { return this; } + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.OAuthToken, + com.google.cloud.tasks.v2beta3.OAuthToken.Builder, + com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder> + oauthTokenBuilder_; + /** + * + * + *
+     * If specified, an
+     * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
+     * will be generated and attached as an `Authorization` header in the HTTP
+     * request.
+     * This type of authorization should be used when sending requests to a GCP
+     * endpoint.
+     * 
+ * + * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; + */ + public boolean hasOauthToken() { + return authorizationHeaderCase_ == 5; + } + /** + * + * + *
+     * If specified, an
+     * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
+     * will be generated and attached as an `Authorization` header in the HTTP
+     * request.
+     * This type of authorization should be used when sending requests to a GCP
+     * endpoint.
+     * 
+ * + * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; + */ + public com.google.cloud.tasks.v2beta3.OAuthToken getOauthToken() { + if (oauthTokenBuilder_ == null) { + if (authorizationHeaderCase_ == 5) { + return (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_; + } + return com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance(); + } else { + if (authorizationHeaderCase_ == 5) { + return oauthTokenBuilder_.getMessage(); + } + return com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance(); + } + } + /** + * + * + *
+     * If specified, an
+     * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
+     * will be generated and attached as an `Authorization` header in the HTTP
+     * request.
+     * This type of authorization should be used when sending requests to a GCP
+     * endpoint.
+     * 
+ * + * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; + */ + public Builder setOauthToken(com.google.cloud.tasks.v2beta3.OAuthToken value) { + if (oauthTokenBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authorizationHeader_ = value; + onChanged(); + } else { + oauthTokenBuilder_.setMessage(value); + } + authorizationHeaderCase_ = 5; + return this; + } + /** + * + * + *
+     * If specified, an
+     * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
+     * will be generated and attached as an `Authorization` header in the HTTP
+     * request.
+     * This type of authorization should be used when sending requests to a GCP
+     * endpoint.
+     * 
+ * + * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; + */ + public Builder setOauthToken( + com.google.cloud.tasks.v2beta3.OAuthToken.Builder builderForValue) { + if (oauthTokenBuilder_ == null) { + authorizationHeader_ = builderForValue.build(); + onChanged(); + } else { + oauthTokenBuilder_.setMessage(builderForValue.build()); + } + authorizationHeaderCase_ = 5; + return this; + } + /** + * + * + *
+     * If specified, an
+     * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
+     * will be generated and attached as an `Authorization` header in the HTTP
+     * request.
+     * This type of authorization should be used when sending requests to a GCP
+     * endpoint.
+     * 
+ * + * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; + */ + public Builder mergeOauthToken(com.google.cloud.tasks.v2beta3.OAuthToken value) { + if (oauthTokenBuilder_ == null) { + if (authorizationHeaderCase_ == 5 + && authorizationHeader_ + != com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance()) { + authorizationHeader_ = + com.google.cloud.tasks.v2beta3.OAuthToken.newBuilder( + (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_) + .mergeFrom(value) + .buildPartial(); + } else { + authorizationHeader_ = value; + } + onChanged(); + } else { + if (authorizationHeaderCase_ == 5) { + oauthTokenBuilder_.mergeFrom(value); + } + oauthTokenBuilder_.setMessage(value); + } + authorizationHeaderCase_ = 5; + return this; + } + /** + * + * + *
+     * If specified, an
+     * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
+     * will be generated and attached as an `Authorization` header in the HTTP
+     * request.
+     * This type of authorization should be used when sending requests to a GCP
+     * endpoint.
+     * 
+ * + * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; + */ + public Builder clearOauthToken() { + if (oauthTokenBuilder_ == null) { + if (authorizationHeaderCase_ == 5) { + authorizationHeaderCase_ = 0; + authorizationHeader_ = null; + onChanged(); + } + } else { + if (authorizationHeaderCase_ == 5) { + authorizationHeaderCase_ = 0; + authorizationHeader_ = null; + } + oauthTokenBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * If specified, an
+     * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
+     * will be generated and attached as an `Authorization` header in the HTTP
+     * request.
+     * This type of authorization should be used when sending requests to a GCP
+     * endpoint.
+     * 
+ * + * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; + */ + public com.google.cloud.tasks.v2beta3.OAuthToken.Builder getOauthTokenBuilder() { + return getOauthTokenFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * If specified, an
+     * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
+     * will be generated and attached as an `Authorization` header in the HTTP
+     * request.
+     * This type of authorization should be used when sending requests to a GCP
+     * endpoint.
+     * 
+ * + * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; + */ + public com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder() { + if ((authorizationHeaderCase_ == 5) && (oauthTokenBuilder_ != null)) { + return oauthTokenBuilder_.getMessageOrBuilder(); + } else { + if (authorizationHeaderCase_ == 5) { + return (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_; + } + return com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance(); + } + } + /** + * + * + *
+     * If specified, an
+     * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
+     * will be generated and attached as an `Authorization` header in the HTTP
+     * request.
+     * This type of authorization should be used when sending requests to a GCP
+     * endpoint.
+     * 
+ * + * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.OAuthToken, + com.google.cloud.tasks.v2beta3.OAuthToken.Builder, + com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder> + getOauthTokenFieldBuilder() { + if (oauthTokenBuilder_ == null) { + if (!(authorizationHeaderCase_ == 5)) { + authorizationHeader_ = com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance(); + } + oauthTokenBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.OAuthToken, + com.google.cloud.tasks.v2beta3.OAuthToken.Builder, + com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder>( + (com.google.cloud.tasks.v2beta3.OAuthToken) authorizationHeader_, + getParentForChildren(), + isClean()); + authorizationHeader_ = null; + } + authorizationHeaderCase_ = 5; + onChanged(); + ; + return oauthTokenBuilder_; + } + + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.OidcToken, + com.google.cloud.tasks.v2beta3.OidcToken.Builder, + com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder> + oidcTokenBuilder_; + /** + * + * + *
+     * If specified, an
+     * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
+     * token will be generated and attached as an `Authorization` header in the
+     * HTTP request.
+     * This type of authorization should be used when sending requests to third
+     * party endpoints.
+     * 
+ * + * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; + */ + public boolean hasOidcToken() { + return authorizationHeaderCase_ == 6; + } + /** + * + * + *
+     * If specified, an
+     * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
+     * token will be generated and attached as an `Authorization` header in the
+     * HTTP request.
+     * This type of authorization should be used when sending requests to third
+     * party endpoints.
+     * 
+ * + * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; + */ + public com.google.cloud.tasks.v2beta3.OidcToken getOidcToken() { + if (oidcTokenBuilder_ == null) { + if (authorizationHeaderCase_ == 6) { + return (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_; + } + return com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance(); + } else { + if (authorizationHeaderCase_ == 6) { + return oidcTokenBuilder_.getMessage(); + } + return com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance(); + } + } + /** + * + * + *
+     * If specified, an
+     * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
+     * token will be generated and attached as an `Authorization` header in the
+     * HTTP request.
+     * This type of authorization should be used when sending requests to third
+     * party endpoints.
+     * 
+ * + * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; + */ + public Builder setOidcToken(com.google.cloud.tasks.v2beta3.OidcToken value) { + if (oidcTokenBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + authorizationHeader_ = value; + onChanged(); + } else { + oidcTokenBuilder_.setMessage(value); + } + authorizationHeaderCase_ = 6; + return this; + } + /** + * + * + *
+     * If specified, an
+     * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
+     * token will be generated and attached as an `Authorization` header in the
+     * HTTP request.
+     * This type of authorization should be used when sending requests to third
+     * party endpoints.
+     * 
+ * + * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; + */ + public Builder setOidcToken(com.google.cloud.tasks.v2beta3.OidcToken.Builder builderForValue) { + if (oidcTokenBuilder_ == null) { + authorizationHeader_ = builderForValue.build(); + onChanged(); + } else { + oidcTokenBuilder_.setMessage(builderForValue.build()); + } + authorizationHeaderCase_ = 6; + return this; + } + /** + * + * + *
+     * If specified, an
+     * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
+     * token will be generated and attached as an `Authorization` header in the
+     * HTTP request.
+     * This type of authorization should be used when sending requests to third
+     * party endpoints.
+     * 
+ * + * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; + */ + public Builder mergeOidcToken(com.google.cloud.tasks.v2beta3.OidcToken value) { + if (oidcTokenBuilder_ == null) { + if (authorizationHeaderCase_ == 6 + && authorizationHeader_ + != com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance()) { + authorizationHeader_ = + com.google.cloud.tasks.v2beta3.OidcToken.newBuilder( + (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_) + .mergeFrom(value) + .buildPartial(); + } else { + authorizationHeader_ = value; + } + onChanged(); + } else { + if (authorizationHeaderCase_ == 6) { + oidcTokenBuilder_.mergeFrom(value); + } + oidcTokenBuilder_.setMessage(value); + } + authorizationHeaderCase_ = 6; + return this; + } + /** + * + * + *
+     * If specified, an
+     * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
+     * token will be generated and attached as an `Authorization` header in the
+     * HTTP request.
+     * This type of authorization should be used when sending requests to third
+     * party endpoints.
+     * 
+ * + * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; + */ + public Builder clearOidcToken() { + if (oidcTokenBuilder_ == null) { + if (authorizationHeaderCase_ == 6) { + authorizationHeaderCase_ = 0; + authorizationHeader_ = null; + onChanged(); + } + } else { + if (authorizationHeaderCase_ == 6) { + authorizationHeaderCase_ = 0; + authorizationHeader_ = null; + } + oidcTokenBuilder_.clear(); + } + return this; + } + /** + * + * + *
+     * If specified, an
+     * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
+     * token will be generated and attached as an `Authorization` header in the
+     * HTTP request.
+     * This type of authorization should be used when sending requests to third
+     * party endpoints.
+     * 
+ * + * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; + */ + public com.google.cloud.tasks.v2beta3.OidcToken.Builder getOidcTokenBuilder() { + return getOidcTokenFieldBuilder().getBuilder(); + } + /** + * + * + *
+     * If specified, an
+     * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
+     * token will be generated and attached as an `Authorization` header in the
+     * HTTP request.
+     * This type of authorization should be used when sending requests to third
+     * party endpoints.
+     * 
+ * + * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; + */ + public com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder getOidcTokenOrBuilder() { + if ((authorizationHeaderCase_ == 6) && (oidcTokenBuilder_ != null)) { + return oidcTokenBuilder_.getMessageOrBuilder(); + } else { + if (authorizationHeaderCase_ == 6) { + return (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_; + } + return com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance(); + } + } + /** + * + * + *
+     * If specified, an
+     * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
+     * token will be generated and attached as an `Authorization` header in the
+     * HTTP request.
+     * This type of authorization should be used when sending requests to third
+     * party endpoints.
+     * 
+ * + * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.OidcToken, + com.google.cloud.tasks.v2beta3.OidcToken.Builder, + com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder> + getOidcTokenFieldBuilder() { + if (oidcTokenBuilder_ == null) { + if (!(authorizationHeaderCase_ == 6)) { + authorizationHeader_ = com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance(); + } + oidcTokenBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.tasks.v2beta3.OidcToken, + com.google.cloud.tasks.v2beta3.OidcToken.Builder, + com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder>( + (com.google.cloud.tasks.v2beta3.OidcToken) authorizationHeader_, + getParentForChildren(), + isClean()); + authorizationHeader_ = null; + } + authorizationHeaderCase_ = 6; + onChanged(); + ; + return oidcTokenBuilder_; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java index e9a8b82b6871..39a48629c64f 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/HttpRequestOrBuilder.java @@ -222,12 +222,106 @@ public interface HttpRequestOrBuilder *
    * HTTP request body.
    * A request body is allowed only if the
-   * [HTTP method][google.cloud.tasks.v2beta3.HttpRequest.http_method] is POST,
-   * PUT, or PATCH. It is an error to set body on a task with an incompatible
-   * [HttpMethod][google.cloud.tasks.v2beta3.HttpMethod].
+   * [HTTP method][google.cloud.tasks.v2beta3.HttpRequest.http_method] is POST, PUT, or PATCH. It is an
+   * error to set body on a task with an incompatible [HttpMethod][google.cloud.tasks.v2beta3.HttpMethod].
    * 
* * bytes body = 4; */ com.google.protobuf.ByteString getBody(); + + /** + * + * + *
+   * If specified, an
+   * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
+   * will be generated and attached as an `Authorization` header in the HTTP
+   * request.
+   * This type of authorization should be used when sending requests to a GCP
+   * endpoint.
+   * 
+ * + * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; + */ + boolean hasOauthToken(); + /** + * + * + *
+   * If specified, an
+   * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
+   * will be generated and attached as an `Authorization` header in the HTTP
+   * request.
+   * This type of authorization should be used when sending requests to a GCP
+   * endpoint.
+   * 
+ * + * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; + */ + com.google.cloud.tasks.v2beta3.OAuthToken getOauthToken(); + /** + * + * + *
+   * If specified, an
+   * [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
+   * will be generated and attached as an `Authorization` header in the HTTP
+   * request.
+   * This type of authorization should be used when sending requests to a GCP
+   * endpoint.
+   * 
+ * + * .google.cloud.tasks.v2beta3.OAuthToken oauth_token = 5; + */ + com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder getOauthTokenOrBuilder(); + + /** + * + * + *
+   * If specified, an
+   * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
+   * token will be generated and attached as an `Authorization` header in the
+   * HTTP request.
+   * This type of authorization should be used when sending requests to third
+   * party endpoints.
+   * 
+ * + * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; + */ + boolean hasOidcToken(); + /** + * + * + *
+   * If specified, an
+   * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
+   * token will be generated and attached as an `Authorization` header in the
+   * HTTP request.
+   * This type of authorization should be used when sending requests to third
+   * party endpoints.
+   * 
+ * + * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; + */ + com.google.cloud.tasks.v2beta3.OidcToken getOidcToken(); + /** + * + * + *
+   * If specified, an
+   * [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
+   * token will be generated and attached as an `Authorization` header in the
+   * HTTP request.
+   * This type of authorization should be used when sending requests to third
+   * party endpoints.
+   * 
+ * + * .google.cloud.tasks.v2beta3.OidcToken oidc_token = 6; + */ + com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder getOidcTokenOrBuilder(); + + public com.google.cloud.tasks.v2beta3.HttpRequest.AuthorizationHeaderCase + getAuthorizationHeaderCase(); } diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java index f1b3424df0dc..543055f7c607 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequest.java @@ -7,8 +7,7 @@ * * *
- * Request message for
- * [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues].
+ * Request message for [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ListQueuesRequest} @@ -166,11 +165,11 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * `filter` can be used to specify a subset of queues. Any
-   * [Queue][google.cloud.tasks.v2beta3.Queue] field can be used as a filter and
-   * several operators as supported. For example: `<=, <, >=, >, !=, =, :`. The
-   * filter syntax is the same as described in [Stackdriver's Advanced Logs
-   * Filters](https://cloud.google.com/logging/docs/view/advanced_filters).
+   * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
+   * field can be used as a filter and several operators as supported.
+   * For example: `<=, <, >=, >, !=, =, :`. The filter syntax is the same as
+   * described in
+   * [Stackdriver's Advanced Logs Filters](https://cloud.google.com/logging/docs/view/advanced_filters).
    * Sample filter "state: PAUSED".
    * Note that using filters might cause fewer queues than the
    * requested page_size to be returned.
@@ -193,11 +192,11 @@ public java.lang.String getFilter() {
    *
    *
    * 
-   * `filter` can be used to specify a subset of queues. Any
-   * [Queue][google.cloud.tasks.v2beta3.Queue] field can be used as a filter and
-   * several operators as supported. For example: `<=, <, >=, >, !=, =, :`. The
-   * filter syntax is the same as described in [Stackdriver's Advanced Logs
-   * Filters](https://cloud.google.com/logging/docs/view/advanced_filters).
+   * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
+   * field can be used as a filter and several operators as supported.
+   * For example: `<=, <, >=, >, !=, =, :`. The filter syntax is the same as
+   * described in
+   * [Stackdriver's Advanced Logs Filters](https://cloud.google.com/logging/docs/view/advanced_filters).
    * Sample filter "state: PAUSED".
    * Note that using filters might cause fewer queues than the
    * requested page_size to be returned.
@@ -227,8 +226,8 @@ public com.google.protobuf.ByteString getFilterBytes() {
    * The maximum page size is 9800. If unspecified, the page size will
    * be the maximum. Fewer queues than requested might be returned,
    * even if more queues exist; use the
-   * [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token]
-   * in the response to determine if more queues exist.
+   * [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] in the
+   * response to determine if more queues exist.
    * 
* * int32 page_size = 3; @@ -246,12 +245,10 @@ public int getPageSize() { * A token identifying the page of results to return. * To request the first page results, page_token must be empty. To * request the next page of results, page_token must be the value of - * [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] - * returned from the previous call to - * [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] method. It - * is an error to switch the value of the - * [filter][google.cloud.tasks.v2beta3.ListQueuesRequest.filter] while - * iterating through pages. + * [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] returned + * from the previous call to [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] + * method. It is an error to switch the value of the + * [filter][google.cloud.tasks.v2beta3.ListQueuesRequest.filter] while iterating through pages. *
* * string page_token = 4; @@ -274,12 +271,10 @@ public java.lang.String getPageToken() { * A token identifying the page of results to return. * To request the first page results, page_token must be empty. To * request the next page of results, page_token must be the value of - * [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] - * returned from the previous call to - * [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] method. It - * is an error to switch the value of the - * [filter][google.cloud.tasks.v2beta3.ListQueuesRequest.filter] while - * iterating through pages. + * [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] returned + * from the previous call to [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] + * method. It is an error to switch the value of the + * [filter][google.cloud.tasks.v2beta3.ListQueuesRequest.filter] while iterating through pages. * * * string page_token = 4; @@ -486,8 +481,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues].
+   * Request message for [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ListQueuesRequest} @@ -770,11 +764,11 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * `filter` can be used to specify a subset of queues. Any
-     * [Queue][google.cloud.tasks.v2beta3.Queue] field can be used as a filter and
-     * several operators as supported. For example: `<=, <, >=, >, !=, =, :`. The
-     * filter syntax is the same as described in [Stackdriver's Advanced Logs
-     * Filters](https://cloud.google.com/logging/docs/view/advanced_filters).
+     * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
+     * field can be used as a filter and several operators as supported.
+     * For example: `<=, <, >=, >, !=, =, :`. The filter syntax is the same as
+     * described in
+     * [Stackdriver's Advanced Logs Filters](https://cloud.google.com/logging/docs/view/advanced_filters).
      * Sample filter "state: PAUSED".
      * Note that using filters might cause fewer queues than the
      * requested page_size to be returned.
@@ -797,11 +791,11 @@ public java.lang.String getFilter() {
      *
      *
      * 
-     * `filter` can be used to specify a subset of queues. Any
-     * [Queue][google.cloud.tasks.v2beta3.Queue] field can be used as a filter and
-     * several operators as supported. For example: `<=, <, >=, >, !=, =, :`. The
-     * filter syntax is the same as described in [Stackdriver's Advanced Logs
-     * Filters](https://cloud.google.com/logging/docs/view/advanced_filters).
+     * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
+     * field can be used as a filter and several operators as supported.
+     * For example: `<=, <, >=, >, !=, =, :`. The filter syntax is the same as
+     * described in
+     * [Stackdriver's Advanced Logs Filters](https://cloud.google.com/logging/docs/view/advanced_filters).
      * Sample filter "state: PAUSED".
      * Note that using filters might cause fewer queues than the
      * requested page_size to be returned.
@@ -824,11 +818,11 @@ public com.google.protobuf.ByteString getFilterBytes() {
      *
      *
      * 
-     * `filter` can be used to specify a subset of queues. Any
-     * [Queue][google.cloud.tasks.v2beta3.Queue] field can be used as a filter and
-     * several operators as supported. For example: `<=, <, >=, >, !=, =, :`. The
-     * filter syntax is the same as described in [Stackdriver's Advanced Logs
-     * Filters](https://cloud.google.com/logging/docs/view/advanced_filters).
+     * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
+     * field can be used as a filter and several operators as supported.
+     * For example: `<=, <, >=, >, !=, =, :`. The filter syntax is the same as
+     * described in
+     * [Stackdriver's Advanced Logs Filters](https://cloud.google.com/logging/docs/view/advanced_filters).
      * Sample filter "state: PAUSED".
      * Note that using filters might cause fewer queues than the
      * requested page_size to be returned.
@@ -849,11 +843,11 @@ public Builder setFilter(java.lang.String value) {
      *
      *
      * 
-     * `filter` can be used to specify a subset of queues. Any
-     * [Queue][google.cloud.tasks.v2beta3.Queue] field can be used as a filter and
-     * several operators as supported. For example: `<=, <, >=, >, !=, =, :`. The
-     * filter syntax is the same as described in [Stackdriver's Advanced Logs
-     * Filters](https://cloud.google.com/logging/docs/view/advanced_filters).
+     * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
+     * field can be used as a filter and several operators as supported.
+     * For example: `<=, <, >=, >, !=, =, :`. The filter syntax is the same as
+     * described in
+     * [Stackdriver's Advanced Logs Filters](https://cloud.google.com/logging/docs/view/advanced_filters).
      * Sample filter "state: PAUSED".
      * Note that using filters might cause fewer queues than the
      * requested page_size to be returned.
@@ -871,11 +865,11 @@ public Builder clearFilter() {
      *
      *
      * 
-     * `filter` can be used to specify a subset of queues. Any
-     * [Queue][google.cloud.tasks.v2beta3.Queue] field can be used as a filter and
-     * several operators as supported. For example: `<=, <, >=, >, !=, =, :`. The
-     * filter syntax is the same as described in [Stackdriver's Advanced Logs
-     * Filters](https://cloud.google.com/logging/docs/view/advanced_filters).
+     * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
+     * field can be used as a filter and several operators as supported.
+     * For example: `<=, <, >=, >, !=, =, :`. The filter syntax is the same as
+     * described in
+     * [Stackdriver's Advanced Logs Filters](https://cloud.google.com/logging/docs/view/advanced_filters).
      * Sample filter "state: PAUSED".
      * Note that using filters might cause fewer queues than the
      * requested page_size to be returned.
@@ -903,8 +897,8 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
      * The maximum page size is 9800. If unspecified, the page size will
      * be the maximum. Fewer queues than requested might be returned,
      * even if more queues exist; use the
-     * [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token]
-     * in the response to determine if more queues exist.
+     * [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] in the
+     * response to determine if more queues exist.
      * 
* * int32 page_size = 3; @@ -920,8 +914,8 @@ public int getPageSize() { * The maximum page size is 9800. If unspecified, the page size will * be the maximum. Fewer queues than requested might be returned, * even if more queues exist; use the - * [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] - * in the response to determine if more queues exist. + * [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] in the + * response to determine if more queues exist. *
* * int32 page_size = 3; @@ -940,8 +934,8 @@ public Builder setPageSize(int value) { * The maximum page size is 9800. If unspecified, the page size will * be the maximum. Fewer queues than requested might be returned, * even if more queues exist; use the - * [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] - * in the response to determine if more queues exist. + * [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] in the + * response to determine if more queues exist. *
* * int32 page_size = 3; @@ -961,12 +955,10 @@ public Builder clearPageSize() { * A token identifying the page of results to return. * To request the first page results, page_token must be empty. To * request the next page of results, page_token must be the value of - * [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] - * returned from the previous call to - * [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] method. It - * is an error to switch the value of the - * [filter][google.cloud.tasks.v2beta3.ListQueuesRequest.filter] while - * iterating through pages. + * [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] returned + * from the previous call to [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] + * method. It is an error to switch the value of the + * [filter][google.cloud.tasks.v2beta3.ListQueuesRequest.filter] while iterating through pages. *
* * string page_token = 4; @@ -989,12 +981,10 @@ public java.lang.String getPageToken() { * A token identifying the page of results to return. * To request the first page results, page_token must be empty. To * request the next page of results, page_token must be the value of - * [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] - * returned from the previous call to - * [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] method. It - * is an error to switch the value of the - * [filter][google.cloud.tasks.v2beta3.ListQueuesRequest.filter] while - * iterating through pages. + * [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] returned + * from the previous call to [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] + * method. It is an error to switch the value of the + * [filter][google.cloud.tasks.v2beta3.ListQueuesRequest.filter] while iterating through pages. *
* * string page_token = 4; @@ -1017,12 +1007,10 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * A token identifying the page of results to return. * To request the first page results, page_token must be empty. To * request the next page of results, page_token must be the value of - * [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] - * returned from the previous call to - * [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] method. It - * is an error to switch the value of the - * [filter][google.cloud.tasks.v2beta3.ListQueuesRequest.filter] while - * iterating through pages. + * [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] returned + * from the previous call to [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] + * method. It is an error to switch the value of the + * [filter][google.cloud.tasks.v2beta3.ListQueuesRequest.filter] while iterating through pages. * * * string page_token = 4; @@ -1043,12 +1031,10 @@ public Builder setPageToken(java.lang.String value) { * A token identifying the page of results to return. * To request the first page results, page_token must be empty. To * request the next page of results, page_token must be the value of - * [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] - * returned from the previous call to - * [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] method. It - * is an error to switch the value of the - * [filter][google.cloud.tasks.v2beta3.ListQueuesRequest.filter] while - * iterating through pages. + * [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] returned + * from the previous call to [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] + * method. It is an error to switch the value of the + * [filter][google.cloud.tasks.v2beta3.ListQueuesRequest.filter] while iterating through pages. * * * string page_token = 4; @@ -1066,12 +1052,10 @@ public Builder clearPageToken() { * A token identifying the page of results to return. * To request the first page results, page_token must be empty. To * request the next page of results, page_token must be the value of - * [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] - * returned from the previous call to - * [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] method. It - * is an error to switch the value of the - * [filter][google.cloud.tasks.v2beta3.ListQueuesRequest.filter] while - * iterating through pages. + * [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] returned + * from the previous call to [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] + * method. It is an error to switch the value of the + * [filter][google.cloud.tasks.v2beta3.ListQueuesRequest.filter] while iterating through pages. * * * string page_token = 4; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java index 20fb04f71b6d..f80b97ed09ab 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesRequestOrBuilder.java @@ -37,11 +37,11 @@ public interface ListQueuesRequestOrBuilder * * *
-   * `filter` can be used to specify a subset of queues. Any
-   * [Queue][google.cloud.tasks.v2beta3.Queue] field can be used as a filter and
-   * several operators as supported. For example: `<=, <, >=, >, !=, =, :`. The
-   * filter syntax is the same as described in [Stackdriver's Advanced Logs
-   * Filters](https://cloud.google.com/logging/docs/view/advanced_filters).
+   * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
+   * field can be used as a filter and several operators as supported.
+   * For example: `<=, <, >=, >, !=, =, :`. The filter syntax is the same as
+   * described in
+   * [Stackdriver's Advanced Logs Filters](https://cloud.google.com/logging/docs/view/advanced_filters).
    * Sample filter "state: PAUSED".
    * Note that using filters might cause fewer queues than the
    * requested page_size to be returned.
@@ -54,11 +54,11 @@ public interface ListQueuesRequestOrBuilder
    *
    *
    * 
-   * `filter` can be used to specify a subset of queues. Any
-   * [Queue][google.cloud.tasks.v2beta3.Queue] field can be used as a filter and
-   * several operators as supported. For example: `<=, <, >=, >, !=, =, :`. The
-   * filter syntax is the same as described in [Stackdriver's Advanced Logs
-   * Filters](https://cloud.google.com/logging/docs/view/advanced_filters).
+   * `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue]
+   * field can be used as a filter and several operators as supported.
+   * For example: `<=, <, >=, >, !=, =, :`. The filter syntax is the same as
+   * described in
+   * [Stackdriver's Advanced Logs Filters](https://cloud.google.com/logging/docs/view/advanced_filters).
    * Sample filter "state: PAUSED".
    * Note that using filters might cause fewer queues than the
    * requested page_size to be returned.
@@ -76,8 +76,8 @@ public interface ListQueuesRequestOrBuilder
    * The maximum page size is 9800. If unspecified, the page size will
    * be the maximum. Fewer queues than requested might be returned,
    * even if more queues exist; use the
-   * [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token]
-   * in the response to determine if more queues exist.
+   * [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] in the
+   * response to determine if more queues exist.
    * 
* * int32 page_size = 3; @@ -91,12 +91,10 @@ public interface ListQueuesRequestOrBuilder * A token identifying the page of results to return. * To request the first page results, page_token must be empty. To * request the next page of results, page_token must be the value of - * [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] - * returned from the previous call to - * [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] method. It - * is an error to switch the value of the - * [filter][google.cloud.tasks.v2beta3.ListQueuesRequest.filter] while - * iterating through pages. + * [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] returned + * from the previous call to [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] + * method. It is an error to switch the value of the + * [filter][google.cloud.tasks.v2beta3.ListQueuesRequest.filter] while iterating through pages. *
* * string page_token = 4; @@ -109,12 +107,10 @@ public interface ListQueuesRequestOrBuilder * A token identifying the page of results to return. * To request the first page results, page_token must be empty. To * request the next page of results, page_token must be the value of - * [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] - * returned from the previous call to - * [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] method. It - * is an error to switch the value of the - * [filter][google.cloud.tasks.v2beta3.ListQueuesRequest.filter] while - * iterating through pages. + * [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] returned + * from the previous call to [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] + * method. It is an error to switch the value of the + * [filter][google.cloud.tasks.v2beta3.ListQueuesRequest.filter] while iterating through pages. * * * string page_token = 4; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java index eca62f640c37..479620d3b520 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponse.java @@ -7,8 +7,7 @@ * * *
- * Response message for
- * [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues].
+ * Response message for [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ListQueuesResponse} @@ -180,8 +179,7 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueuesOrBuilder(int inde *
    * A token to retrieve next page of results.
    * To return the next page of results, call
-   * [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] with this
-   * value as the
+   * [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] with this value as the
    * [page_token][google.cloud.tasks.v2beta3.ListQueuesRequest.page_token].
    * If the next_page_token is empty, there are no more results.
    * The page token is valid for only 2 hours.
@@ -206,8 +204,7 @@ public java.lang.String getNextPageToken() {
    * 
    * A token to retrieve next page of results.
    * To return the next page of results, call
-   * [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] with this
-   * value as the
+   * [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] with this value as the
    * [page_token][google.cloud.tasks.v2beta3.ListQueuesRequest.page_token].
    * If the next_page_token is empty, there are no more results.
    * The page token is valid for only 2 hours.
@@ -401,8 +398,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    *
    * 
-   * Response message for
-   * [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues].
+   * Response message for [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ListQueuesResponse} @@ -961,8 +957,7 @@ public java.util.List getQueuesBui *
      * A token to retrieve next page of results.
      * To return the next page of results, call
-     * [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] with this
-     * value as the
+     * [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] with this value as the
      * [page_token][google.cloud.tasks.v2beta3.ListQueuesRequest.page_token].
      * If the next_page_token is empty, there are no more results.
      * The page token is valid for only 2 hours.
@@ -987,8 +982,7 @@ public java.lang.String getNextPageToken() {
      * 
      * A token to retrieve next page of results.
      * To return the next page of results, call
-     * [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] with this
-     * value as the
+     * [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] with this value as the
      * [page_token][google.cloud.tasks.v2beta3.ListQueuesRequest.page_token].
      * If the next_page_token is empty, there are no more results.
      * The page token is valid for only 2 hours.
@@ -1013,8 +1007,7 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
      * 
      * A token to retrieve next page of results.
      * To return the next page of results, call
-     * [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] with this
-     * value as the
+     * [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] with this value as the
      * [page_token][google.cloud.tasks.v2beta3.ListQueuesRequest.page_token].
      * If the next_page_token is empty, there are no more results.
      * The page token is valid for only 2 hours.
@@ -1037,8 +1030,7 @@ public Builder setNextPageToken(java.lang.String value) {
      * 
      * A token to retrieve next page of results.
      * To return the next page of results, call
-     * [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] with this
-     * value as the
+     * [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] with this value as the
      * [page_token][google.cloud.tasks.v2beta3.ListQueuesRequest.page_token].
      * If the next_page_token is empty, there are no more results.
      * The page token is valid for only 2 hours.
@@ -1058,8 +1050,7 @@ public Builder clearNextPageToken() {
      * 
      * A token to retrieve next page of results.
      * To return the next page of results, call
-     * [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] with this
-     * value as the
+     * [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] with this value as the
      * [page_token][google.cloud.tasks.v2beta3.ListQueuesRequest.page_token].
      * If the next_page_token is empty, there are no more results.
      * The page token is valid for only 2 hours.
diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java
index b33368e34839..aa6909ca1a41 100644
--- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListQueuesResponseOrBuilder.java
@@ -65,8 +65,7 @@ public interface ListQueuesResponseOrBuilder
    * 
    * A token to retrieve next page of results.
    * To return the next page of results, call
-   * [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] with this
-   * value as the
+   * [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] with this value as the
    * [page_token][google.cloud.tasks.v2beta3.ListQueuesRequest.page_token].
    * If the next_page_token is empty, there are no more results.
    * The page token is valid for only 2 hours.
@@ -81,8 +80,7 @@ public interface ListQueuesResponseOrBuilder
    * 
    * A token to retrieve next page of results.
    * To return the next page of results, call
-   * [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] with this
-   * value as the
+   * [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] with this value as the
    * [page_token][google.cloud.tasks.v2beta3.ListQueuesRequest.page_token].
    * If the next_page_token is empty, there are no more results.
    * The page token is valid for only 2 hours.
diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java
index 57a5c1bd41e6..8870ae7319f7 100644
--- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java
+++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequest.java
@@ -7,8 +7,7 @@
  *
  *
  * 
- * Request message for listing tasks using
- * [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks].
+ * Request message for listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ListTasksRequest} @@ -166,17 +165,16 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta3.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
-   * retrieved by default because some data, such as payloads, might be
-   * desirable to return only when needed because of its large size or because
-   * of the sensitivity of data that it contains.
-   * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta3.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+   * information is retrieved by default because some data, such as
+   * payloads, might be desirable to return only when needed because
+   * of its large size or because of the sensitivity of data that it
+   * contains.
+   * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; @@ -188,17 +186,16 @@ public int getResponseViewValue() { * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta3.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
-   * retrieved by default because some data, such as payloads, might be
-   * desirable to return only when needed because of its large size or because
-   * of the sensitivity of data that it contains.
-   * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta3.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+   * information is retrieved by default because some data, such as
+   * payloads, might be desirable to return only when needed because
+   * of its large size or because of the sensitivity of data that it
+   * contains.
+   * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; @@ -220,8 +217,8 @@ public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { * The maximum page size is 1000. If unspecified, the page size will * be the maximum. Fewer tasks than requested might be returned, * even if more tasks exist; use - * [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] - * in the response to determine if more tasks exist. + * [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] in the + * response to determine if more tasks exist. *
* * int32 page_size = 3; @@ -239,9 +236,9 @@ public int getPageSize() { * A token identifying the page of results to return. * To request the first page results, page_token must be empty. To * request the next page of results, page_token must be the value of - * [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] - * returned from the previous call to - * [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] method. + * [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] returned + * from the previous call to [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] + * method. * The page token is valid for only 2 hours. *
* @@ -265,9 +262,9 @@ public java.lang.String getPageToken() { * A token identifying the page of results to return. * To request the first page results, page_token must be empty. To * request the next page of results, page_token must be the value of - * [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] - * returned from the previous call to - * [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] method. + * [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] returned + * from the previous call to [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] + * method. * The page token is valid for only 2 hours. *
* @@ -475,8 +472,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for listing tasks using
-   * [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks].
+   * Request message for listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ListTasksRequest} @@ -758,17 +754,16 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta3.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
-     * retrieved by default because some data, such as payloads, might be
-     * desirable to return only when needed because of its large size or because
-     * of the sensitivity of data that it contains.
-     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta3.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+     * information is retrieved by default because some data, such as
+     * payloads, might be desirable to return only when needed because
+     * of its large size or because of the sensitivity of data that it
+     * contains.
+     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; @@ -780,17 +775,16 @@ public int getResponseViewValue() { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta3.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
-     * retrieved by default because some data, such as payloads, might be
-     * desirable to return only when needed because of its large size or because
-     * of the sensitivity of data that it contains.
-     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta3.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+     * information is retrieved by default because some data, such as
+     * payloads, might be desirable to return only when needed because
+     * of its large size or because of the sensitivity of data that it
+     * contains.
+     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; @@ -804,17 +798,16 @@ public Builder setResponseViewValue(int value) { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta3.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
-     * retrieved by default because some data, such as payloads, might be
-     * desirable to return only when needed because of its large size or because
-     * of the sensitivity of data that it contains.
-     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta3.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+     * information is retrieved by default because some data, such as
+     * payloads, might be desirable to return only when needed because
+     * of its large size or because of the sensitivity of data that it
+     * contains.
+     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; @@ -829,17 +822,16 @@ public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta3.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
-     * retrieved by default because some data, such as payloads, might be
-     * desirable to return only when needed because of its large size or because
-     * of the sensitivity of data that it contains.
-     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta3.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+     * information is retrieved by default because some data, such as
+     * payloads, might be desirable to return only when needed because
+     * of its large size or because of the sensitivity of data that it
+     * contains.
+     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; @@ -857,17 +849,16 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta3.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
-     * retrieved by default because some data, such as payloads, might be
-     * desirable to return only when needed because of its large size or because
-     * of the sensitivity of data that it contains.
-     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta3.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+     * information is retrieved by default because some data, such as
+     * payloads, might be desirable to return only when needed because
+     * of its large size or because of the sensitivity of data that it
+     * contains.
+     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; @@ -888,8 +879,8 @@ public Builder clearResponseView() { * The maximum page size is 1000. If unspecified, the page size will * be the maximum. Fewer tasks than requested might be returned, * even if more tasks exist; use - * [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] - * in the response to determine if more tasks exist. + * [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] in the + * response to determine if more tasks exist. *
* * int32 page_size = 3; @@ -905,8 +896,8 @@ public int getPageSize() { * The maximum page size is 1000. If unspecified, the page size will * be the maximum. Fewer tasks than requested might be returned, * even if more tasks exist; use - * [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] - * in the response to determine if more tasks exist. + * [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] in the + * response to determine if more tasks exist. *
* * int32 page_size = 3; @@ -925,8 +916,8 @@ public Builder setPageSize(int value) { * The maximum page size is 1000. If unspecified, the page size will * be the maximum. Fewer tasks than requested might be returned, * even if more tasks exist; use - * [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] - * in the response to determine if more tasks exist. + * [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] in the + * response to determine if more tasks exist. *
* * int32 page_size = 3; @@ -946,9 +937,9 @@ public Builder clearPageSize() { * A token identifying the page of results to return. * To request the first page results, page_token must be empty. To * request the next page of results, page_token must be the value of - * [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] - * returned from the previous call to - * [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] method. + * [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] returned + * from the previous call to [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] + * method. * The page token is valid for only 2 hours. *
* @@ -972,9 +963,9 @@ public java.lang.String getPageToken() { * A token identifying the page of results to return. * To request the first page results, page_token must be empty. To * request the next page of results, page_token must be the value of - * [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] - * returned from the previous call to - * [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] method. + * [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] returned + * from the previous call to [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] + * method. * The page token is valid for only 2 hours. *
* @@ -998,9 +989,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() { * A token identifying the page of results to return. * To request the first page results, page_token must be empty. To * request the next page of results, page_token must be the value of - * [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] - * returned from the previous call to - * [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] method. + * [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] returned + * from the previous call to [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] + * method. * The page token is valid for only 2 hours. *
* @@ -1022,9 +1013,9 @@ public Builder setPageToken(java.lang.String value) { * A token identifying the page of results to return. * To request the first page results, page_token must be empty. To * request the next page of results, page_token must be the value of - * [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] - * returned from the previous call to - * [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] method. + * [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] returned + * from the previous call to [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] + * method. * The page token is valid for only 2 hours. * * @@ -1043,9 +1034,9 @@ public Builder clearPageToken() { * A token identifying the page of results to return. * To request the first page results, page_token must be empty. To * request the next page of results, page_token must be the value of - * [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] - * returned from the previous call to - * [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] method. + * [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] returned + * from the previous call to [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] + * method. * The page token is valid for only 2 hours. * * diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java index 2a22c85a378f..50e86b110b16 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksRequestOrBuilder.java @@ -37,17 +37,16 @@ public interface ListTasksRequestOrBuilder * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta3.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
-   * retrieved by default because some data, such as payloads, might be
-   * desirable to return only when needed because of its large size or because
-   * of the sensitivity of data that it contains.
-   * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta3.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+   * information is retrieved by default because some data, such as
+   * payloads, might be desirable to return only when needed because
+   * of its large size or because of the sensitivity of data that it
+   * contains.
+   * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; @@ -57,17 +56,16 @@ public interface ListTasksRequestOrBuilder * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta3.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
-   * retrieved by default because some data, such as payloads, might be
-   * desirable to return only when needed because of its large size or because
-   * of the sensitivity of data that it contains.
-   * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta3.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+   * information is retrieved by default because some data, such as
+   * payloads, might be desirable to return only when needed because
+   * of its large size or because of the sensitivity of data that it
+   * contains.
+   * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; @@ -82,8 +80,8 @@ public interface ListTasksRequestOrBuilder * The maximum page size is 1000. If unspecified, the page size will * be the maximum. Fewer tasks than requested might be returned, * even if more tasks exist; use - * [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] - * in the response to determine if more tasks exist. + * [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] in the + * response to determine if more tasks exist. * * * int32 page_size = 3; @@ -97,9 +95,9 @@ public interface ListTasksRequestOrBuilder * A token identifying the page of results to return. * To request the first page results, page_token must be empty. To * request the next page of results, page_token must be the value of - * [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] - * returned from the previous call to - * [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] method. + * [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] returned + * from the previous call to [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] + * method. * The page token is valid for only 2 hours. * * @@ -113,9 +111,9 @@ public interface ListTasksRequestOrBuilder * A token identifying the page of results to return. * To request the first page results, page_token must be empty. To * request the next page of results, page_token must be the value of - * [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] - * returned from the previous call to - * [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] method. + * [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] returned + * from the previous call to [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] + * method. * The page token is valid for only 2 hours. * * diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java index 83f1ee935631..ce28dac733b9 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponse.java @@ -7,8 +7,7 @@ * * *
- * Response message for listing tasks using
- * [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks].
+ * Response message for listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ListTasksResponse} @@ -180,8 +179,7 @@ public com.google.cloud.tasks.v2beta3.TaskOrBuilder getTasksOrBuilder(int index) *
    * A token to retrieve next page of results.
    * To return the next page of results, call
-   * [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] with this
-   * value as the
+   * [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] with this value as the
    * [page_token][google.cloud.tasks.v2beta3.ListTasksRequest.page_token].
    * If the next_page_token is empty, there are no more results.
    * 
@@ -205,8 +203,7 @@ public java.lang.String getNextPageToken() { *
    * A token to retrieve next page of results.
    * To return the next page of results, call
-   * [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] with this
-   * value as the
+   * [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] with this value as the
    * [page_token][google.cloud.tasks.v2beta3.ListTasksRequest.page_token].
    * If the next_page_token is empty, there are no more results.
    * 
@@ -399,8 +396,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Response message for listing tasks using
-   * [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks].
+   * Response message for listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ListTasksResponse} @@ -958,8 +954,7 @@ public java.util.List getTasksBuild *
      * A token to retrieve next page of results.
      * To return the next page of results, call
-     * [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] with this
-     * value as the
+     * [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] with this value as the
      * [page_token][google.cloud.tasks.v2beta3.ListTasksRequest.page_token].
      * If the next_page_token is empty, there are no more results.
      * 
@@ -983,8 +978,7 @@ public java.lang.String getNextPageToken() { *
      * A token to retrieve next page of results.
      * To return the next page of results, call
-     * [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] with this
-     * value as the
+     * [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] with this value as the
      * [page_token][google.cloud.tasks.v2beta3.ListTasksRequest.page_token].
      * If the next_page_token is empty, there are no more results.
      * 
@@ -1008,8 +1002,7 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { *
      * A token to retrieve next page of results.
      * To return the next page of results, call
-     * [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] with this
-     * value as the
+     * [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] with this value as the
      * [page_token][google.cloud.tasks.v2beta3.ListTasksRequest.page_token].
      * If the next_page_token is empty, there are no more results.
      * 
@@ -1031,8 +1024,7 @@ public Builder setNextPageToken(java.lang.String value) { *
      * A token to retrieve next page of results.
      * To return the next page of results, call
-     * [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] with this
-     * value as the
+     * [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] with this value as the
      * [page_token][google.cloud.tasks.v2beta3.ListTasksRequest.page_token].
      * If the next_page_token is empty, there are no more results.
      * 
@@ -1051,8 +1043,7 @@ public Builder clearNextPageToken() { *
      * A token to retrieve next page of results.
      * To return the next page of results, call
-     * [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] with this
-     * value as the
+     * [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] with this value as the
      * [page_token][google.cloud.tasks.v2beta3.ListTasksRequest.page_token].
      * If the next_page_token is empty, there are no more results.
      * 
diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java index 29ca2310431d..42d08ae262b7 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ListTasksResponseOrBuilder.java @@ -65,8 +65,7 @@ public interface ListTasksResponseOrBuilder *
    * A token to retrieve next page of results.
    * To return the next page of results, call
-   * [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] with this
-   * value as the
+   * [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] with this value as the
    * [page_token][google.cloud.tasks.v2beta3.ListTasksRequest.page_token].
    * If the next_page_token is empty, there are no more results.
    * 
@@ -80,8 +79,7 @@ public interface ListTasksResponseOrBuilder *
    * A token to retrieve next page of results.
    * To return the next page of results, call
-   * [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] with this
-   * value as the
+   * [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] with this value as the
    * [page_token][google.cloud.tasks.v2beta3.ListTasksRequest.page_token].
    * If the next_page_token is empty, there are no more results.
    * 
diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java new file mode 100644 index 000000000000..0bbc77f0945a --- /dev/null +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthToken.java @@ -0,0 +1,805 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/target.proto + +package com.google.cloud.tasks.v2beta3; + +/** + * + * + *
+ * Contains information needed for generating an
+ * [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
+ * This type of authorization should be used when sending requests to a GCP
+ * endpoint.
+ * 
+ * + * Protobuf type {@code google.cloud.tasks.v2beta3.OAuthToken} + */ +public final class OAuthToken extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.OAuthToken) + OAuthTokenOrBuilder { + private static final long serialVersionUID = 0L; + // Use OAuthToken.newBuilder() to construct. + private OAuthToken(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private OAuthToken() { + serviceAccountEmail_ = ""; + scope_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private OAuthToken( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + serviceAccountEmail_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + scope_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.TargetProto + .internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.tasks.v2beta3.TargetProto + .internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.tasks.v2beta3.OAuthToken.class, + com.google.cloud.tasks.v2beta3.OAuthToken.Builder.class); + } + + public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1; + private volatile java.lang.Object serviceAccountEmail_; + /** + * + * + *
+   * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+   * to be used for generating OAuth token.
+   * The service account must be within the same project as the queue. The
+   * caller must have iam.serviceAccounts.actAs permission for the service
+   * account.
+   * 
+ * + * string service_account_email = 1; + */ + public java.lang.String getServiceAccountEmail() { + java.lang.Object ref = serviceAccountEmail_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + serviceAccountEmail_ = s; + return s; + } + } + /** + * + * + *
+   * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+   * to be used for generating OAuth token.
+   * The service account must be within the same project as the queue. The
+   * caller must have iam.serviceAccounts.actAs permission for the service
+   * account.
+   * 
+ * + * string service_account_email = 1; + */ + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + java.lang.Object ref = serviceAccountEmail_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + serviceAccountEmail_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int SCOPE_FIELD_NUMBER = 2; + private volatile java.lang.Object scope_; + /** + * + * + *
+   * OAuth scope to be used for generating OAuth access token.
+   * If not specified, "https://www.googleapis.com/auth/cloud-platform"
+   * will be used.
+   * 
+ * + * string scope = 2; + */ + public java.lang.String getScope() { + java.lang.Object ref = scope_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + scope_ = s; + return s; + } + } + /** + * + * + *
+   * OAuth scope to be used for generating OAuth access token.
+   * If not specified, "https://www.googleapis.com/auth/cloud-platform"
+   * will be used.
+   * 
+ * + * string scope = 2; + */ + public com.google.protobuf.ByteString getScopeBytes() { + java.lang.Object ref = scope_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + scope_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!getServiceAccountEmailBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_); + } + if (!getScopeBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, scope_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getServiceAccountEmailBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, serviceAccountEmail_); + } + if (!getScopeBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, scope_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.tasks.v2beta3.OAuthToken)) { + return super.equals(obj); + } + com.google.cloud.tasks.v2beta3.OAuthToken other = + (com.google.cloud.tasks.v2beta3.OAuthToken) obj; + + if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; + if (!getScope().equals(other.getScope())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER; + hash = (53 * hash) + getServiceAccountEmail().hashCode(); + hash = (37 * hash) + SCOPE_FIELD_NUMBER; + hash = (53 * hash) + getScope().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.tasks.v2beta3.OAuthToken parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.tasks.v2beta3.OAuthToken parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.tasks.v2beta3.OAuthToken parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.tasks.v2beta3.OAuthToken prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Contains information needed for generating an
+   * [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
+   * This type of authorization should be used when sending requests to a GCP
+   * endpoint.
+   * 
+ * + * Protobuf type {@code google.cloud.tasks.v2beta3.OAuthToken} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta3.OAuthToken) + com.google.cloud.tasks.v2beta3.OAuthTokenOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.TargetProto + .internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.tasks.v2beta3.TargetProto + .internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.tasks.v2beta3.OAuthToken.class, + com.google.cloud.tasks.v2beta3.OAuthToken.Builder.class); + } + + // Construct using com.google.cloud.tasks.v2beta3.OAuthToken.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + serviceAccountEmail_ = ""; + + scope_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.TargetProto + .internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor; + } + + @java.lang.Override + public com.google.cloud.tasks.v2beta3.OAuthToken getDefaultInstanceForType() { + return com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.tasks.v2beta3.OAuthToken build() { + com.google.cloud.tasks.v2beta3.OAuthToken result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.tasks.v2beta3.OAuthToken buildPartial() { + com.google.cloud.tasks.v2beta3.OAuthToken result = + new com.google.cloud.tasks.v2beta3.OAuthToken(this); + result.serviceAccountEmail_ = serviceAccountEmail_; + result.scope_ = scope_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.tasks.v2beta3.OAuthToken) { + return mergeFrom((com.google.cloud.tasks.v2beta3.OAuthToken) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.tasks.v2beta3.OAuthToken other) { + if (other == com.google.cloud.tasks.v2beta3.OAuthToken.getDefaultInstance()) return this; + if (!other.getServiceAccountEmail().isEmpty()) { + serviceAccountEmail_ = other.serviceAccountEmail_; + onChanged(); + } + if (!other.getScope().isEmpty()) { + scope_ = other.scope_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.tasks.v2beta3.OAuthToken parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.tasks.v2beta3.OAuthToken) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object serviceAccountEmail_ = ""; + /** + * + * + *
+     * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+     * to be used for generating OAuth token.
+     * The service account must be within the same project as the queue. The
+     * caller must have iam.serviceAccounts.actAs permission for the service
+     * account.
+     * 
+ * + * string service_account_email = 1; + */ + public java.lang.String getServiceAccountEmail() { + java.lang.Object ref = serviceAccountEmail_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + serviceAccountEmail_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+     * to be used for generating OAuth token.
+     * The service account must be within the same project as the queue. The
+     * caller must have iam.serviceAccounts.actAs permission for the service
+     * account.
+     * 
+ * + * string service_account_email = 1; + */ + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + java.lang.Object ref = serviceAccountEmail_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + serviceAccountEmail_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+     * to be used for generating OAuth token.
+     * The service account must be within the same project as the queue. The
+     * caller must have iam.serviceAccounts.actAs permission for the service
+     * account.
+     * 
+ * + * string service_account_email = 1; + */ + public Builder setServiceAccountEmail(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + serviceAccountEmail_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+     * to be used for generating OAuth token.
+     * The service account must be within the same project as the queue. The
+     * caller must have iam.serviceAccounts.actAs permission for the service
+     * account.
+     * 
+ * + * string service_account_email = 1; + */ + public Builder clearServiceAccountEmail() { + + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); + onChanged(); + return this; + } + /** + * + * + *
+     * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+     * to be used for generating OAuth token.
+     * The service account must be within the same project as the queue. The
+     * caller must have iam.serviceAccounts.actAs permission for the service
+     * account.
+     * 
+ * + * string service_account_email = 1; + */ + public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + serviceAccountEmail_ = value; + onChanged(); + return this; + } + + private java.lang.Object scope_ = ""; + /** + * + * + *
+     * OAuth scope to be used for generating OAuth access token.
+     * If not specified, "https://www.googleapis.com/auth/cloud-platform"
+     * will be used.
+     * 
+ * + * string scope = 2; + */ + public java.lang.String getScope() { + java.lang.Object ref = scope_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + scope_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * OAuth scope to be used for generating OAuth access token.
+     * If not specified, "https://www.googleapis.com/auth/cloud-platform"
+     * will be used.
+     * 
+ * + * string scope = 2; + */ + public com.google.protobuf.ByteString getScopeBytes() { + java.lang.Object ref = scope_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + scope_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * OAuth scope to be used for generating OAuth access token.
+     * If not specified, "https://www.googleapis.com/auth/cloud-platform"
+     * will be used.
+     * 
+ * + * string scope = 2; + */ + public Builder setScope(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + scope_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * OAuth scope to be used for generating OAuth access token.
+     * If not specified, "https://www.googleapis.com/auth/cloud-platform"
+     * will be used.
+     * 
+ * + * string scope = 2; + */ + public Builder clearScope() { + + scope_ = getDefaultInstance().getScope(); + onChanged(); + return this; + } + /** + * + * + *
+     * OAuth scope to be used for generating OAuth access token.
+     * If not specified, "https://www.googleapis.com/auth/cloud-platform"
+     * will be used.
+     * 
+ * + * string scope = 2; + */ + public Builder setScopeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + scope_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.OAuthToken) + } + + // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.OAuthToken) + private static final com.google.cloud.tasks.v2beta3.OAuthToken DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.OAuthToken(); + } + + public static com.google.cloud.tasks.v2beta3.OAuthToken getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OAuthToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OAuthToken(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.tasks.v2beta3.OAuthToken getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java new file mode 100644 index 000000000000..97f08c878054 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OAuthTokenOrBuilder.java @@ -0,0 +1,64 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/target.proto + +package com.google.cloud.tasks.v2beta3; + +public interface OAuthTokenOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.OAuthToken) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+   * to be used for generating OAuth token.
+   * The service account must be within the same project as the queue. The
+   * caller must have iam.serviceAccounts.actAs permission for the service
+   * account.
+   * 
+ * + * string service_account_email = 1; + */ + java.lang.String getServiceAccountEmail(); + /** + * + * + *
+   * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+   * to be used for generating OAuth token.
+   * The service account must be within the same project as the queue. The
+   * caller must have iam.serviceAccounts.actAs permission for the service
+   * account.
+   * 
+ * + * string service_account_email = 1; + */ + com.google.protobuf.ByteString getServiceAccountEmailBytes(); + + /** + * + * + *
+   * OAuth scope to be used for generating OAuth access token.
+   * If not specified, "https://www.googleapis.com/auth/cloud-platform"
+   * will be used.
+   * 
+ * + * string scope = 2; + */ + java.lang.String getScope(); + /** + * + * + *
+   * OAuth scope to be used for generating OAuth access token.
+   * If not specified, "https://www.googleapis.com/auth/cloud-platform"
+   * will be used.
+   * 
+ * + * string scope = 2; + */ + com.google.protobuf.ByteString getScopeBytes(); +} diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java new file mode 100644 index 000000000000..9cd71e9a58c6 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcToken.java @@ -0,0 +1,799 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/target.proto + +package com.google.cloud.tasks.v2beta3; + +/** + * + * + *
+ * Contains information needed for generating an
+ * [OpenID Connect
+ * token](https://developers.google.com/identity/protocols/OpenIDConnect). This
+ * type of authorization should be used when sending requests to third party
+ * endpoints.
+ * 
+ * + * Protobuf type {@code google.cloud.tasks.v2beta3.OidcToken} + */ +public final class OidcToken extends com.google.protobuf.GeneratedMessageV3 + implements + // @@protoc_insertion_point(message_implements:google.cloud.tasks.v2beta3.OidcToken) + OidcTokenOrBuilder { + private static final long serialVersionUID = 0L; + // Use OidcToken.newBuilder() to construct. + private OidcToken(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + + private OidcToken() { + serviceAccountEmail_ = ""; + audience_ = ""; + } + + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + return this.unknownFields; + } + + private OidcToken( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + this(); + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + com.google.protobuf.UnknownFieldSet.newBuilder(); + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); + + serviceAccountEmail_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + audience_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.TargetProto + .internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.tasks.v2beta3.TargetProto + .internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.tasks.v2beta3.OidcToken.class, + com.google.cloud.tasks.v2beta3.OidcToken.Builder.class); + } + + public static final int SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER = 1; + private volatile java.lang.Object serviceAccountEmail_; + /** + * + * + *
+   * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+   * to be used for generating OIDC token.
+   * The service account must be within the same project as the queue. The
+   * caller must have iam.serviceAccounts.actAs permission for the service
+   * account.
+   * 
+ * + * string service_account_email = 1; + */ + public java.lang.String getServiceAccountEmail() { + java.lang.Object ref = serviceAccountEmail_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + serviceAccountEmail_ = s; + return s; + } + } + /** + * + * + *
+   * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+   * to be used for generating OIDC token.
+   * The service account must be within the same project as the queue. The
+   * caller must have iam.serviceAccounts.actAs permission for the service
+   * account.
+   * 
+ * + * string service_account_email = 1; + */ + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + java.lang.Object ref = serviceAccountEmail_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + serviceAccountEmail_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int AUDIENCE_FIELD_NUMBER = 2; + private volatile java.lang.Object audience_; + /** + * + * + *
+   * Audience to be used when generating OIDC token. If not specified, the URI
+   * specified in target will be used.
+   * 
+ * + * string audience = 2; + */ + public java.lang.String getAudience() { + java.lang.Object ref = audience_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + audience_ = s; + return s; + } + } + /** + * + * + *
+   * Audience to be used when generating OIDC token. If not specified, the URI
+   * specified in target will be used.
+   * 
+ * + * string audience = 2; + */ + public com.google.protobuf.ByteString getAudienceBytes() { + java.lang.Object ref = audience_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + audience_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (!getServiceAccountEmailBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serviceAccountEmail_); + } + if (!getAudienceBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, audience_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!getServiceAccountEmailBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, serviceAccountEmail_); + } + if (!getAudienceBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, audience_); + } + size += unknownFields.getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.tasks.v2beta3.OidcToken)) { + return super.equals(obj); + } + com.google.cloud.tasks.v2beta3.OidcToken other = (com.google.cloud.tasks.v2beta3.OidcToken) obj; + + if (!getServiceAccountEmail().equals(other.getServiceAccountEmail())) return false; + if (!getAudience().equals(other.getAudience())) return false; + if (!unknownFields.equals(other.unknownFields)) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + SERVICE_ACCOUNT_EMAIL_FIELD_NUMBER; + hash = (53 * hash) + getServiceAccountEmail().hashCode(); + hash = (37 * hash) + AUDIENCE_FIELD_NUMBER; + hash = (53 * hash) + getAudience().hashCode(); + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.tasks.v2beta3.OidcToken parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.tasks.v2beta3.OidcToken parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); + } + + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.cloud.tasks.v2beta3.OidcToken parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { + return newBuilder(); + } + + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + + public static Builder newBuilder(com.google.cloud.tasks.v2beta3.OidcToken prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + * + * + *
+   * Contains information needed for generating an
+   * [OpenID Connect
+   * token](https://developers.google.com/identity/protocols/OpenIDConnect). This
+   * type of authorization should be used when sending requests to third party
+   * endpoints.
+   * 
+ * + * Protobuf type {@code google.cloud.tasks.v2beta3.OidcToken} + */ + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements + // @@protoc_insertion_point(builder_implements:google.cloud.tasks.v2beta3.OidcToken) + com.google.cloud.tasks.v2beta3.OidcTokenOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.tasks.v2beta3.TargetProto + .internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.tasks.v2beta3.TargetProto + .internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.tasks.v2beta3.OidcToken.class, + com.google.cloud.tasks.v2beta3.OidcToken.Builder.class); + } + + // Construct using com.google.cloud.tasks.v2beta3.OidcToken.newBuilder() + private Builder() { + maybeForceBuilderInitialization(); + } + + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + + private void maybeForceBuilderInitialization() { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + } + + @java.lang.Override + public Builder clear() { + super.clear(); + serviceAccountEmail_ = ""; + + audience_ = ""; + + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.tasks.v2beta3.TargetProto + .internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor; + } + + @java.lang.Override + public com.google.cloud.tasks.v2beta3.OidcToken getDefaultInstanceForType() { + return com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.tasks.v2beta3.OidcToken build() { + com.google.cloud.tasks.v2beta3.OidcToken result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.tasks.v2beta3.OidcToken buildPartial() { + com.google.cloud.tasks.v2beta3.OidcToken result = + new com.google.cloud.tasks.v2beta3.OidcToken(this); + result.serviceAccountEmail_ = serviceAccountEmail_; + result.audience_ = audience_; + onBuilt(); + return result; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.setField(field, value); + } + + @java.lang.Override + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + + @java.lang.Override + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + return super.addRepeatedField(field, value); + } + + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.tasks.v2beta3.OidcToken) { + return mergeFrom((com.google.cloud.tasks.v2beta3.OidcToken) other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.tasks.v2beta3.OidcToken other) { + if (other == com.google.cloud.tasks.v2beta3.OidcToken.getDefaultInstance()) return this; + if (!other.getServiceAccountEmail().isEmpty()) { + serviceAccountEmail_ = other.serviceAccountEmail_; + onChanged(); + } + if (!other.getAudience().isEmpty()) { + audience_ = other.audience_; + onChanged(); + } + this.mergeUnknownFields(other.unknownFields); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + com.google.cloud.tasks.v2beta3.OidcToken parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = (com.google.cloud.tasks.v2beta3.OidcToken) e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } + } + return this; + } + + private java.lang.Object serviceAccountEmail_ = ""; + /** + * + * + *
+     * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+     * to be used for generating OIDC token.
+     * The service account must be within the same project as the queue. The
+     * caller must have iam.serviceAccounts.actAs permission for the service
+     * account.
+     * 
+ * + * string service_account_email = 1; + */ + public java.lang.String getServiceAccountEmail() { + java.lang.Object ref = serviceAccountEmail_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + serviceAccountEmail_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+     * to be used for generating OIDC token.
+     * The service account must be within the same project as the queue. The
+     * caller must have iam.serviceAccounts.actAs permission for the service
+     * account.
+     * 
+ * + * string service_account_email = 1; + */ + public com.google.protobuf.ByteString getServiceAccountEmailBytes() { + java.lang.Object ref = serviceAccountEmail_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + serviceAccountEmail_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+     * to be used for generating OIDC token.
+     * The service account must be within the same project as the queue. The
+     * caller must have iam.serviceAccounts.actAs permission for the service
+     * account.
+     * 
+ * + * string service_account_email = 1; + */ + public Builder setServiceAccountEmail(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + serviceAccountEmail_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+     * to be used for generating OIDC token.
+     * The service account must be within the same project as the queue. The
+     * caller must have iam.serviceAccounts.actAs permission for the service
+     * account.
+     * 
+ * + * string service_account_email = 1; + */ + public Builder clearServiceAccountEmail() { + + serviceAccountEmail_ = getDefaultInstance().getServiceAccountEmail(); + onChanged(); + return this; + } + /** + * + * + *
+     * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+     * to be used for generating OIDC token.
+     * The service account must be within the same project as the queue. The
+     * caller must have iam.serviceAccounts.actAs permission for the service
+     * account.
+     * 
+ * + * string service_account_email = 1; + */ + public Builder setServiceAccountEmailBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + serviceAccountEmail_ = value; + onChanged(); + return this; + } + + private java.lang.Object audience_ = ""; + /** + * + * + *
+     * Audience to be used when generating OIDC token. If not specified, the URI
+     * specified in target will be used.
+     * 
+ * + * string audience = 2; + */ + public java.lang.String getAudience() { + java.lang.Object ref = audience_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + audience_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * + * + *
+     * Audience to be used when generating OIDC token. If not specified, the URI
+     * specified in target will be used.
+     * 
+ * + * string audience = 2; + */ + public com.google.protobuf.ByteString getAudienceBytes() { + java.lang.Object ref = audience_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + audience_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * + * + *
+     * Audience to be used when generating OIDC token. If not specified, the URI
+     * specified in target will be used.
+     * 
+ * + * string audience = 2; + */ + public Builder setAudience(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + audience_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Audience to be used when generating OIDC token. If not specified, the URI
+     * specified in target will be used.
+     * 
+ * + * string audience = 2; + */ + public Builder clearAudience() { + + audience_ = getDefaultInstance().getAudience(); + onChanged(); + return this; + } + /** + * + * + *
+     * Audience to be used when generating OIDC token. If not specified, the URI
+     * specified in target will be used.
+     * 
+ * + * string audience = 2; + */ + public Builder setAudienceBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + + audience_ = value; + onChanged(); + return this; + } + + @java.lang.Override + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + // @@protoc_insertion_point(builder_scope:google.cloud.tasks.v2beta3.OidcToken) + } + + // @@protoc_insertion_point(class_scope:google.cloud.tasks.v2beta3.OidcToken) + private static final com.google.cloud.tasks.v2beta3.OidcToken DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.cloud.tasks.v2beta3.OidcToken(); + } + + public static com.google.cloud.tasks.v2beta3.OidcToken getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public OidcToken parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new OidcToken(input, extensionRegistry); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.tasks.v2beta3.OidcToken getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } +} diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java new file mode 100644 index 000000000000..aa103fbe07f4 --- /dev/null +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/OidcTokenOrBuilder.java @@ -0,0 +1,62 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/tasks/v2beta3/target.proto + +package com.google.cloud.tasks.v2beta3; + +public interface OidcTokenOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.tasks.v2beta3.OidcToken) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+   * to be used for generating OIDC token.
+   * The service account must be within the same project as the queue. The
+   * caller must have iam.serviceAccounts.actAs permission for the service
+   * account.
+   * 
+ * + * string service_account_email = 1; + */ + java.lang.String getServiceAccountEmail(); + /** + * + * + *
+   * [Service account email](https://cloud.google.com/iam/docs/service-accounts)
+   * to be used for generating OIDC token.
+   * The service account must be within the same project as the queue. The
+   * caller must have iam.serviceAccounts.actAs permission for the service
+   * account.
+   * 
+ * + * string service_account_email = 1; + */ + com.google.protobuf.ByteString getServiceAccountEmailBytes(); + + /** + * + * + *
+   * Audience to be used when generating OIDC token. If not specified, the URI
+   * specified in target will be used.
+   * 
+ * + * string audience = 2; + */ + java.lang.String getAudience(); + /** + * + * + *
+   * Audience to be used when generating OIDC token. If not specified, the URI
+   * specified in target will be used.
+   * 
+ * + * string audience = 2; + */ + com.google.protobuf.ByteString getAudienceBytes(); +} diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java index 67126b74944d..89663c1f300c 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PauseQueueRequest.java @@ -7,8 +7,7 @@ * * *
- * Request message for
- * [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue].
+ * Request message for [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.PauseQueueRequest} @@ -302,8 +301,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue].
+   * Request message for [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.PauseQueueRequest} diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java index 6d3495596a8b..e59d8505324d 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/PurgeQueueRequest.java @@ -7,8 +7,7 @@ * * *
- * Request message for
- * [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue].
+ * Request message for [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.PurgeQueueRequest} @@ -302,8 +301,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue].
+   * Request message for [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.PurgeQueueRequest} diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java index 759b2dd3894c..47fda9183b2c 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Queue.java @@ -131,6 +131,11 @@ private Queue( purgeTime_ = subBuilder.buildPartial(); } + break; + } + case 81: + { + logSamplingRatio_ = input.readDouble(); break; } default: @@ -413,9 +418,8 @@ public QueueTypeCase getQueueTypeCase() { * * *
-   * Caller-specified and required in
-   * [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue], after
-   * which it becomes output only.
+   * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
+   * after which it becomes output only.
    * The queue name.
    * The queue name must have the following format:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
@@ -449,9 +453,8 @@ public java.lang.String getName() {
    *
    *
    * 
-   * Caller-specified and required in
-   * [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue], after
-   * which it becomes output only.
+   * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
+   * after which it becomes output only.
    * The queue name.
    * The queue name must have the following format:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
@@ -487,11 +490,9 @@ public com.google.protobuf.ByteString getNameBytes() {
    *
    *
    * 
-   * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue]
-   * settings apply only to [App Engine
-   * tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
-   * [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by
-   * this proto.
+   * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
+   * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
+   * [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by this proto.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -503,11 +504,9 @@ public boolean hasAppEngineHttpQueue() { * * *
-   * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue]
-   * settings apply only to [App Engine
-   * tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
-   * [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by
-   * this proto.
+   * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
+   * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
+   * [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by this proto.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -522,11 +521,9 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue() * * *
-   * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue]
-   * settings apply only to [App Engine
-   * tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
-   * [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by
-   * this proto.
+   * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
+   * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
+   * [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by this proto.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -546,24 +543,21 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue() * *
    * Rate limits for task dispatches.
-   * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and
-   * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are related
-   * because they both control task attempts. However they control task attempts
-   * in different ways:
-   * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the
-   * total rate of
+   * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
+   * related because they both control task attempts. However they control task
+   * attempts in different ways:
+   * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of
    *   dispatches from a queue (i.e. all traffic dispatched from the
    *   queue, regardless of whether the dispatch is from a first
    *   attempt or a retry).
-   * * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls
-   * what happens to
+   * * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls what happens to
    *   particular a task after its first attempt fails. That is,
-   *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls
-   *   task retries (the second attempt, third attempt, etc).
+   *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the
+   *   second attempt, third attempt, etc).
    * The queue's actual dispatch rate is the result of:
    * * Number of tasks in the queue
-   * * User-specified throttling: [rate limits][Queue.RateLimits]
-   *   [retry configuration][Queue.RetryConfig], and the
+   * * User-specified throttling: [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits],
+   *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config], and the
    *   [queue's state][google.cloud.tasks.v2beta3.Queue.state].
    * * System throttling due to `429` (Too Many Requests) or `503` (Service
    *   Unavailable) responses from the worker, high error rates, or to smooth
@@ -580,24 +574,21 @@ public boolean hasRateLimits() {
    *
    * 
    * Rate limits for task dispatches.
-   * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and
-   * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are related
-   * because they both control task attempts. However they control task attempts
-   * in different ways:
-   * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the
-   * total rate of
+   * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
+   * related because they both control task attempts. However they control task
+   * attempts in different ways:
+   * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of
    *   dispatches from a queue (i.e. all traffic dispatched from the
    *   queue, regardless of whether the dispatch is from a first
    *   attempt or a retry).
-   * * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls
-   * what happens to
+   * * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls what happens to
    *   particular a task after its first attempt fails. That is,
-   *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls
-   *   task retries (the second attempt, third attempt, etc).
+   *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the
+   *   second attempt, third attempt, etc).
    * The queue's actual dispatch rate is the result of:
    * * Number of tasks in the queue
-   * * User-specified throttling: [rate limits][Queue.RateLimits]
-   *   [retry configuration][Queue.RetryConfig], and the
+   * * User-specified throttling: [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits],
+   *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config], and the
    *   [queue's state][google.cloud.tasks.v2beta3.Queue.state].
    * * System throttling due to `429` (Too Many Requests) or `503` (Service
    *   Unavailable) responses from the worker, high error rates, or to smooth
@@ -616,24 +607,21 @@ public com.google.cloud.tasks.v2beta3.RateLimits getRateLimits() {
    *
    * 
    * Rate limits for task dispatches.
-   * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and
-   * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are related
-   * because they both control task attempts. However they control task attempts
-   * in different ways:
-   * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the
-   * total rate of
+   * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
+   * related because they both control task attempts. However they control task
+   * attempts in different ways:
+   * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of
    *   dispatches from a queue (i.e. all traffic dispatched from the
    *   queue, regardless of whether the dispatch is from a first
    *   attempt or a retry).
-   * * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls
-   * what happens to
+   * * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls what happens to
    *   particular a task after its first attempt fails. That is,
-   *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls
-   *   task retries (the second attempt, third attempt, etc).
+   *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the
+   *   second attempt, third attempt, etc).
    * The queue's actual dispatch rate is the result of:
    * * Number of tasks in the queue
-   * * User-specified throttling: [rate limits][Queue.RateLimits]
-   *   [retry configuration][Queue.RetryConfig], and the
+   * * User-specified throttling: [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits],
+   *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config], and the
    *   [queue's state][google.cloud.tasks.v2beta3.Queue.state].
    * * System throttling due to `429` (Too Many Requests) or `503` (Service
    *   Unavailable) responses from the worker, high error rates, or to smooth
@@ -720,11 +708,9 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
    * Output only. The state of the queue.
    * `state` can only be changed by called
    * [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue],
-   * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue], or
-   * uploading
+   * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue], or uploading
    * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref).
-   * [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] cannot be
-   * used to change `state`.
+   * [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] cannot be used to change `state`.
    * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; @@ -739,11 +725,9 @@ public int getStateValue() { * Output only. The state of the queue. * `state` can only be changed by called * [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue], - * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue], or - * uploading + * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue], or uploading * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref). - * [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] cannot be - * used to change `state`. + * [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] cannot be used to change `state`. *
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; @@ -762,11 +746,10 @@ public com.google.cloud.tasks.v2beta3.Queue.State getState() { * *
    * Output only. The last time this queue was purged.
-   * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time]
-   * before this time were purged.
-   * A queue can be purged using
-   * [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the [App
-   * Engine Task Queue SDK, or the Cloud
+   * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
+   * were purged.
+   * A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the
+   * [App Engine Task Queue SDK, or the Cloud
    * Console](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue).
    * Purge time will be truncated to the nearest microsecond. Purge
    * time will be unset if the queue has never been purged.
@@ -782,11 +765,10 @@ public boolean hasPurgeTime() {
    *
    * 
    * Output only. The last time this queue was purged.
-   * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time]
-   * before this time were purged.
-   * A queue can be purged using
-   * [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the [App
-   * Engine Task Queue SDK, or the Cloud
+   * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
+   * were purged.
+   * A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the
+   * [App Engine Task Queue SDK, or the Cloud
    * Console](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue).
    * Purge time will be truncated to the nearest microsecond. Purge
    * time will be unset if the queue has never been purged.
@@ -802,11 +784,10 @@ public com.google.protobuf.Timestamp getPurgeTime() {
    *
    * 
    * Output only. The last time this queue was purged.
-   * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time]
-   * before this time were purged.
-   * A queue can be purged using
-   * [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the [App
-   * Engine Task Queue SDK, or the Cloud
+   * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
+   * were purged.
+   * A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the
+   * [App Engine Task Queue SDK, or the Cloud
    * Console](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue).
    * Purge time will be truncated to the nearest microsecond. Purge
    * time will be unset if the queue has never been purged.
@@ -818,6 +799,24 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
     return getPurgeTime();
   }
 
+  public static final int LOG_SAMPLING_RATIO_FIELD_NUMBER = 10;
+  private double logSamplingRatio_;
+  /**
+   *
+   *
+   * 
+   * Specifies the fraction of operations to write to
+   * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
+   * This field may contain any value between 0.0 and 1.0, inclusive.
+   * 0.0 is the default and means that no operations are logged.
+   * 
+ * + * double log_sampling_ratio = 10; + */ + public double getLogSamplingRatio() { + return logSamplingRatio_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -850,6 +849,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (purgeTime_ != null) { output.writeMessage(7, getPurgeTime()); } + if (logSamplingRatio_ != 0D) { + output.writeDouble(10, logSamplingRatio_); + } unknownFields.writeTo(output); } @@ -879,6 +881,9 @@ public int getSerializedSize() { if (purgeTime_ != null) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getPurgeTime()); } + if (logSamplingRatio_ != 0D) { + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(10, logSamplingRatio_); + } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; @@ -908,6 +913,8 @@ public boolean equals(final java.lang.Object obj) { if (hasPurgeTime()) { if (!getPurgeTime().equals(other.getPurgeTime())) return false; } + if (java.lang.Double.doubleToLongBits(getLogSamplingRatio()) + != java.lang.Double.doubleToLongBits(other.getLogSamplingRatio())) return false; if (!getQueueTypeCase().equals(other.getQueueTypeCase())) return false; switch (queueTypeCase_) { case 3: @@ -943,6 +950,11 @@ public int hashCode() { hash = (37 * hash) + PURGE_TIME_FIELD_NUMBER; hash = (53 * hash) + getPurgeTime().hashCode(); } + hash = (37 * hash) + LOG_SAMPLING_RATIO_FIELD_NUMBER; + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getLogSamplingRatio())); switch (queueTypeCase_) { case 3: hash = (37 * hash) + APP_ENGINE_HTTP_QUEUE_FIELD_NUMBER; @@ -1119,6 +1131,8 @@ public Builder clear() { purgeTime_ = null; purgeTimeBuilder_ = null; } + logSamplingRatio_ = 0D; + queueTypeCase_ = 0; queueType_ = null; return this; @@ -1171,6 +1185,7 @@ public com.google.cloud.tasks.v2beta3.Queue buildPartial() { } else { result.purgeTime_ = purgeTimeBuilder_.build(); } + result.logSamplingRatio_ = logSamplingRatio_; result.queueTypeCase_ = queueTypeCase_; onBuilt(); return result; @@ -1237,6 +1252,9 @@ public Builder mergeFrom(com.google.cloud.tasks.v2beta3.Queue other) { if (other.hasPurgeTime()) { mergePurgeTime(other.getPurgeTime()); } + if (other.getLogSamplingRatio() != 0D) { + setLogSamplingRatio(other.getLogSamplingRatio()); + } switch (other.getQueueTypeCase()) { case APP_ENGINE_HTTP_QUEUE: { @@ -1296,9 +1314,8 @@ public Builder clearQueueType() { * * *
-     * Caller-specified and required in
-     * [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue], after
-     * which it becomes output only.
+     * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
+     * after which it becomes output only.
      * The queue name.
      * The queue name must have the following format:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
@@ -1332,9 +1349,8 @@ public java.lang.String getName() {
      *
      *
      * 
-     * Caller-specified and required in
-     * [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue], after
-     * which it becomes output only.
+     * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
+     * after which it becomes output only.
      * The queue name.
      * The queue name must have the following format:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
@@ -1368,9 +1384,8 @@ public com.google.protobuf.ByteString getNameBytes() {
      *
      *
      * 
-     * Caller-specified and required in
-     * [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue], after
-     * which it becomes output only.
+     * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
+     * after which it becomes output only.
      * The queue name.
      * The queue name must have the following format:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
@@ -1402,9 +1417,8 @@ public Builder setName(java.lang.String value) {
      *
      *
      * 
-     * Caller-specified and required in
-     * [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue], after
-     * which it becomes output only.
+     * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
+     * after which it becomes output only.
      * The queue name.
      * The queue name must have the following format:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
@@ -1433,9 +1447,8 @@ public Builder clearName() {
      *
      *
      * 
-     * Caller-specified and required in
-     * [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue], after
-     * which it becomes output only.
+     * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
+     * after which it becomes output only.
      * The queue name.
      * The queue name must have the following format:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
@@ -1474,11 +1487,9 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      *
      *
      * 
-     * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue]
-     * settings apply only to [App Engine
-     * tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
-     * [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by
-     * this proto.
+     * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
+     * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
+     * [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by this proto.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -1490,11 +1501,9 @@ public boolean hasAppEngineHttpQueue() { * * *
-     * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue]
-     * settings apply only to [App Engine
-     * tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
-     * [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by
-     * this proto.
+     * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
+     * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
+     * [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by this proto.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -1516,11 +1525,9 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpQueue getAppEngineHttpQueue() * * *
-     * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue]
-     * settings apply only to [App Engine
-     * tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
-     * [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by
-     * this proto.
+     * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
+     * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
+     * [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by this proto.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -1542,11 +1549,9 @@ public Builder setAppEngineHttpQueue(com.google.cloud.tasks.v2beta3.AppEngineHtt * * *
-     * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue]
-     * settings apply only to [App Engine
-     * tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
-     * [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by
-     * this proto.
+     * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
+     * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
+     * [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by this proto.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -1566,11 +1571,9 @@ public Builder setAppEngineHttpQueue( * * *
-     * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue]
-     * settings apply only to [App Engine
-     * tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
-     * [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by
-     * this proto.
+     * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
+     * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
+     * [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by this proto.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -1603,11 +1606,9 @@ public Builder mergeAppEngineHttpQueue( * * *
-     * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue]
-     * settings apply only to [App Engine
-     * tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
-     * [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by
-     * this proto.
+     * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
+     * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
+     * [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by this proto.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -1632,11 +1633,9 @@ public Builder clearAppEngineHttpQueue() { * * *
-     * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue]
-     * settings apply only to [App Engine
-     * tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
-     * [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by
-     * this proto.
+     * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
+     * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
+     * [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by this proto.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -1649,11 +1648,9 @@ public Builder clearAppEngineHttpQueue() { * * *
-     * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue]
-     * settings apply only to [App Engine
-     * tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
-     * [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by
-     * this proto.
+     * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
+     * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
+     * [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by this proto.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -1673,11 +1670,9 @@ public Builder clearAppEngineHttpQueue() { * * *
-     * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue]
-     * settings apply only to [App Engine
-     * tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
-     * [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by
-     * this proto.
+     * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
+     * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
+     * [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by this proto.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -1718,24 +1713,21 @@ public Builder clearAppEngineHttpQueue() { * *
      * Rate limits for task dispatches.
-     * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and
-     * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are related
-     * because they both control task attempts. However they control task attempts
-     * in different ways:
-     * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the
-     * total rate of
+     * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
+     * related because they both control task attempts. However they control task
+     * attempts in different ways:
+     * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of
      *   dispatches from a queue (i.e. all traffic dispatched from the
      *   queue, regardless of whether the dispatch is from a first
      *   attempt or a retry).
-     * * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls
-     * what happens to
+     * * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls what happens to
      *   particular a task after its first attempt fails. That is,
-     *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls
-     *   task retries (the second attempt, third attempt, etc).
+     *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the
+     *   second attempt, third attempt, etc).
      * The queue's actual dispatch rate is the result of:
      * * Number of tasks in the queue
-     * * User-specified throttling: [rate limits][Queue.RateLimits]
-     *   [retry configuration][Queue.RetryConfig], and the
+     * * User-specified throttling: [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits],
+     *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config], and the
      *   [queue's state][google.cloud.tasks.v2beta3.Queue.state].
      * * System throttling due to `429` (Too Many Requests) or `503` (Service
      *   Unavailable) responses from the worker, high error rates, or to smooth
@@ -1752,24 +1744,21 @@ public boolean hasRateLimits() {
      *
      * 
      * Rate limits for task dispatches.
-     * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and
-     * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are related
-     * because they both control task attempts. However they control task attempts
-     * in different ways:
-     * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the
-     * total rate of
+     * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
+     * related because they both control task attempts. However they control task
+     * attempts in different ways:
+     * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of
      *   dispatches from a queue (i.e. all traffic dispatched from the
      *   queue, regardless of whether the dispatch is from a first
      *   attempt or a retry).
-     * * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls
-     * what happens to
+     * * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls what happens to
      *   particular a task after its first attempt fails. That is,
-     *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls
-     *   task retries (the second attempt, third attempt, etc).
+     *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the
+     *   second attempt, third attempt, etc).
      * The queue's actual dispatch rate is the result of:
      * * Number of tasks in the queue
-     * * User-specified throttling: [rate limits][Queue.RateLimits]
-     *   [retry configuration][Queue.RetryConfig], and the
+     * * User-specified throttling: [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits],
+     *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config], and the
      *   [queue's state][google.cloud.tasks.v2beta3.Queue.state].
      * * System throttling due to `429` (Too Many Requests) or `503` (Service
      *   Unavailable) responses from the worker, high error rates, or to smooth
@@ -1792,24 +1781,21 @@ public com.google.cloud.tasks.v2beta3.RateLimits getRateLimits() {
      *
      * 
      * Rate limits for task dispatches.
-     * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and
-     * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are related
-     * because they both control task attempts. However they control task attempts
-     * in different ways:
-     * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the
-     * total rate of
+     * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
+     * related because they both control task attempts. However they control task
+     * attempts in different ways:
+     * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of
      *   dispatches from a queue (i.e. all traffic dispatched from the
      *   queue, regardless of whether the dispatch is from a first
      *   attempt or a retry).
-     * * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls
-     * what happens to
+     * * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls what happens to
      *   particular a task after its first attempt fails. That is,
-     *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls
-     *   task retries (the second attempt, third attempt, etc).
+     *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the
+     *   second attempt, third attempt, etc).
      * The queue's actual dispatch rate is the result of:
      * * Number of tasks in the queue
-     * * User-specified throttling: [rate limits][Queue.RateLimits]
-     *   [retry configuration][Queue.RetryConfig], and the
+     * * User-specified throttling: [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits],
+     *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config], and the
      *   [queue's state][google.cloud.tasks.v2beta3.Queue.state].
      * * System throttling due to `429` (Too Many Requests) or `503` (Service
      *   Unavailable) responses from the worker, high error rates, or to smooth
@@ -1836,24 +1822,21 @@ public Builder setRateLimits(com.google.cloud.tasks.v2beta3.RateLimits value) {
      *
      * 
      * Rate limits for task dispatches.
-     * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and
-     * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are related
-     * because they both control task attempts. However they control task attempts
-     * in different ways:
-     * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the
-     * total rate of
+     * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
+     * related because they both control task attempts. However they control task
+     * attempts in different ways:
+     * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of
      *   dispatches from a queue (i.e. all traffic dispatched from the
      *   queue, regardless of whether the dispatch is from a first
      *   attempt or a retry).
-     * * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls
-     * what happens to
+     * * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls what happens to
      *   particular a task after its first attempt fails. That is,
-     *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls
-     *   task retries (the second attempt, third attempt, etc).
+     *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the
+     *   second attempt, third attempt, etc).
      * The queue's actual dispatch rate is the result of:
      * * Number of tasks in the queue
-     * * User-specified throttling: [rate limits][Queue.RateLimits]
-     *   [retry configuration][Queue.RetryConfig], and the
+     * * User-specified throttling: [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits],
+     *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config], and the
      *   [queue's state][google.cloud.tasks.v2beta3.Queue.state].
      * * System throttling due to `429` (Too Many Requests) or `503` (Service
      *   Unavailable) responses from the worker, high error rates, or to smooth
@@ -1878,24 +1861,21 @@ public Builder setRateLimits(
      *
      * 
      * Rate limits for task dispatches.
-     * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and
-     * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are related
-     * because they both control task attempts. However they control task attempts
-     * in different ways:
-     * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the
-     * total rate of
+     * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
+     * related because they both control task attempts. However they control task
+     * attempts in different ways:
+     * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of
      *   dispatches from a queue (i.e. all traffic dispatched from the
      *   queue, regardless of whether the dispatch is from a first
      *   attempt or a retry).
-     * * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls
-     * what happens to
+     * * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls what happens to
      *   particular a task after its first attempt fails. That is,
-     *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls
-     *   task retries (the second attempt, third attempt, etc).
+     *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the
+     *   second attempt, third attempt, etc).
      * The queue's actual dispatch rate is the result of:
      * * Number of tasks in the queue
-     * * User-specified throttling: [rate limits][Queue.RateLimits]
-     *   [retry configuration][Queue.RetryConfig], and the
+     * * User-specified throttling: [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits],
+     *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config], and the
      *   [queue's state][google.cloud.tasks.v2beta3.Queue.state].
      * * System throttling due to `429` (Too Many Requests) or `503` (Service
      *   Unavailable) responses from the worker, high error rates, or to smooth
@@ -1926,24 +1906,21 @@ public Builder mergeRateLimits(com.google.cloud.tasks.v2beta3.RateLimits value)
      *
      * 
      * Rate limits for task dispatches.
-     * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and
-     * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are related
-     * because they both control task attempts. However they control task attempts
-     * in different ways:
-     * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the
-     * total rate of
+     * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
+     * related because they both control task attempts. However they control task
+     * attempts in different ways:
+     * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of
      *   dispatches from a queue (i.e. all traffic dispatched from the
      *   queue, regardless of whether the dispatch is from a first
      *   attempt or a retry).
-     * * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls
-     * what happens to
+     * * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls what happens to
      *   particular a task after its first attempt fails. That is,
-     *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls
-     *   task retries (the second attempt, third attempt, etc).
+     *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the
+     *   second attempt, third attempt, etc).
      * The queue's actual dispatch rate is the result of:
      * * Number of tasks in the queue
-     * * User-specified throttling: [rate limits][Queue.RateLimits]
-     *   [retry configuration][Queue.RetryConfig], and the
+     * * User-specified throttling: [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits],
+     *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config], and the
      *   [queue's state][google.cloud.tasks.v2beta3.Queue.state].
      * * System throttling due to `429` (Too Many Requests) or `503` (Service
      *   Unavailable) responses from the worker, high error rates, or to smooth
@@ -1968,24 +1945,21 @@ public Builder clearRateLimits() {
      *
      * 
      * Rate limits for task dispatches.
-     * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and
-     * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are related
-     * because they both control task attempts. However they control task attempts
-     * in different ways:
-     * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the
-     * total rate of
+     * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
+     * related because they both control task attempts. However they control task
+     * attempts in different ways:
+     * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of
      *   dispatches from a queue (i.e. all traffic dispatched from the
      *   queue, regardless of whether the dispatch is from a first
      *   attempt or a retry).
-     * * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls
-     * what happens to
+     * * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls what happens to
      *   particular a task after its first attempt fails. That is,
-     *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls
-     *   task retries (the second attempt, third attempt, etc).
+     *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the
+     *   second attempt, third attempt, etc).
      * The queue's actual dispatch rate is the result of:
      * * Number of tasks in the queue
-     * * User-specified throttling: [rate limits][Queue.RateLimits]
-     *   [retry configuration][Queue.RetryConfig], and the
+     * * User-specified throttling: [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits],
+     *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config], and the
      *   [queue's state][google.cloud.tasks.v2beta3.Queue.state].
      * * System throttling due to `429` (Too Many Requests) or `503` (Service
      *   Unavailable) responses from the worker, high error rates, or to smooth
@@ -2004,24 +1978,21 @@ public com.google.cloud.tasks.v2beta3.RateLimits.Builder getRateLimitsBuilder()
      *
      * 
      * Rate limits for task dispatches.
-     * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and
-     * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are related
-     * because they both control task attempts. However they control task attempts
-     * in different ways:
-     * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the
-     * total rate of
+     * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
+     * related because they both control task attempts. However they control task
+     * attempts in different ways:
+     * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of
      *   dispatches from a queue (i.e. all traffic dispatched from the
      *   queue, regardless of whether the dispatch is from a first
      *   attempt or a retry).
-     * * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls
-     * what happens to
+     * * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls what happens to
      *   particular a task after its first attempt fails. That is,
-     *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls
-     *   task retries (the second attempt, third attempt, etc).
+     *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the
+     *   second attempt, third attempt, etc).
      * The queue's actual dispatch rate is the result of:
      * * Number of tasks in the queue
-     * * User-specified throttling: [rate limits][Queue.RateLimits]
-     *   [retry configuration][Queue.RetryConfig], and the
+     * * User-specified throttling: [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits],
+     *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config], and the
      *   [queue's state][google.cloud.tasks.v2beta3.Queue.state].
      * * System throttling due to `429` (Too Many Requests) or `503` (Service
      *   Unavailable) responses from the worker, high error rates, or to smooth
@@ -2044,24 +2015,21 @@ public com.google.cloud.tasks.v2beta3.RateLimitsOrBuilder getRateLimitsOrBuilder
      *
      * 
      * Rate limits for task dispatches.
-     * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and
-     * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are related
-     * because they both control task attempts. However they control task attempts
-     * in different ways:
-     * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the
-     * total rate of
+     * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
+     * related because they both control task attempts. However they control task
+     * attempts in different ways:
+     * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of
      *   dispatches from a queue (i.e. all traffic dispatched from the
      *   queue, regardless of whether the dispatch is from a first
      *   attempt or a retry).
-     * * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls
-     * what happens to
+     * * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls what happens to
      *   particular a task after its first attempt fails. That is,
-     *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls
-     *   task retries (the second attempt, third attempt, etc).
+     *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the
+     *   second attempt, third attempt, etc).
      * The queue's actual dispatch rate is the result of:
      * * Number of tasks in the queue
-     * * User-specified throttling: [rate limits][Queue.RateLimits]
-     *   [retry configuration][Queue.RetryConfig], and the
+     * * User-specified throttling: [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits],
+     *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config], and the
      *   [queue's state][google.cloud.tasks.v2beta3.Queue.state].
      * * System throttling due to `429` (Too Many Requests) or `503` (Service
      *   Unavailable) responses from the worker, high error rates, or to smooth
@@ -2349,11 +2317,9 @@ public com.google.cloud.tasks.v2beta3.RetryConfigOrBuilder getRetryConfigOrBuild
      * Output only. The state of the queue.
      * `state` can only be changed by called
      * [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue],
-     * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue], or
-     * uploading
+     * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue], or uploading
      * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref).
-     * [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] cannot be
-     * used to change `state`.
+     * [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] cannot be used to change `state`.
      * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; @@ -2368,11 +2334,9 @@ public int getStateValue() { * Output only. The state of the queue. * `state` can only be changed by called * [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue], - * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue], or - * uploading + * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue], or uploading * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref). - * [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] cannot be - * used to change `state`. + * [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] cannot be used to change `state`. *
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; @@ -2389,11 +2353,9 @@ public Builder setStateValue(int value) { * Output only. The state of the queue. * `state` can only be changed by called * [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue], - * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue], or - * uploading + * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue], or uploading * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref). - * [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] cannot be - * used to change `state`. + * [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] cannot be used to change `state`. *
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; @@ -2411,11 +2373,9 @@ public com.google.cloud.tasks.v2beta3.Queue.State getState() { * Output only. The state of the queue. * `state` can only be changed by called * [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue], - * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue], or - * uploading + * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue], or uploading * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref). - * [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] cannot be - * used to change `state`. + * [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] cannot be used to change `state`. *
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; @@ -2436,11 +2396,9 @@ 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 * [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue], - * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue], or - * uploading + * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue], or uploading * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref). - * [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] cannot be - * used to change `state`. + * [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] cannot be used to change `state`. *
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; @@ -2463,11 +2421,10 @@ public Builder clearState() { * *
      * Output only. The last time this queue was purged.
-     * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time]
-     * before this time were purged.
-     * A queue can be purged using
-     * [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the [App
-     * Engine Task Queue SDK, or the Cloud
+     * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
+     * were purged.
+     * A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the
+     * [App Engine Task Queue SDK, or the Cloud
      * Console](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue).
      * Purge time will be truncated to the nearest microsecond. Purge
      * time will be unset if the queue has never been purged.
@@ -2483,11 +2440,10 @@ public boolean hasPurgeTime() {
      *
      * 
      * Output only. The last time this queue was purged.
-     * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time]
-     * before this time were purged.
-     * A queue can be purged using
-     * [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the [App
-     * Engine Task Queue SDK, or the Cloud
+     * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
+     * were purged.
+     * A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the
+     * [App Engine Task Queue SDK, or the Cloud
      * Console](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue).
      * Purge time will be truncated to the nearest microsecond. Purge
      * time will be unset if the queue has never been purged.
@@ -2507,11 +2463,10 @@ public com.google.protobuf.Timestamp getPurgeTime() {
      *
      * 
      * Output only. The last time this queue was purged.
-     * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time]
-     * before this time were purged.
-     * A queue can be purged using
-     * [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the [App
-     * Engine Task Queue SDK, or the Cloud
+     * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
+     * were purged.
+     * A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the
+     * [App Engine Task Queue SDK, or the Cloud
      * Console](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue).
      * Purge time will be truncated to the nearest microsecond. Purge
      * time will be unset if the queue has never been purged.
@@ -2537,11 +2492,10 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp value) {
      *
      * 
      * Output only. The last time this queue was purged.
-     * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time]
-     * before this time were purged.
-     * A queue can be purged using
-     * [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the [App
-     * Engine Task Queue SDK, or the Cloud
+     * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
+     * were purged.
+     * A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the
+     * [App Engine Task Queue SDK, or the Cloud
      * Console](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue).
      * Purge time will be truncated to the nearest microsecond. Purge
      * time will be unset if the queue has never been purged.
@@ -2564,11 +2518,10 @@ public Builder setPurgeTime(com.google.protobuf.Timestamp.Builder builderForValu
      *
      * 
      * Output only. The last time this queue was purged.
-     * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time]
-     * before this time were purged.
-     * A queue can be purged using
-     * [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the [App
-     * Engine Task Queue SDK, or the Cloud
+     * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
+     * were purged.
+     * A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the
+     * [App Engine Task Queue SDK, or the Cloud
      * Console](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue).
      * Purge time will be truncated to the nearest microsecond. Purge
      * time will be unset if the queue has never been purged.
@@ -2596,11 +2549,10 @@ public Builder mergePurgeTime(com.google.protobuf.Timestamp value) {
      *
      * 
      * Output only. The last time this queue was purged.
-     * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time]
-     * before this time were purged.
-     * A queue can be purged using
-     * [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the [App
-     * Engine Task Queue SDK, or the Cloud
+     * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
+     * were purged.
+     * A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the
+     * [App Engine Task Queue SDK, or the Cloud
      * Console](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue).
      * Purge time will be truncated to the nearest microsecond. Purge
      * time will be unset if the queue has never been purged.
@@ -2624,11 +2576,10 @@ public Builder clearPurgeTime() {
      *
      * 
      * Output only. The last time this queue was purged.
-     * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time]
-     * before this time were purged.
-     * A queue can be purged using
-     * [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the [App
-     * Engine Task Queue SDK, or the Cloud
+     * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
+     * were purged.
+     * A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the
+     * [App Engine Task Queue SDK, or the Cloud
      * Console](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue).
      * Purge time will be truncated to the nearest microsecond. Purge
      * time will be unset if the queue has never been purged.
@@ -2646,11 +2597,10 @@ public com.google.protobuf.Timestamp.Builder getPurgeTimeBuilder() {
      *
      * 
      * Output only. The last time this queue was purged.
-     * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time]
-     * before this time were purged.
-     * A queue can be purged using
-     * [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the [App
-     * Engine Task Queue SDK, or the Cloud
+     * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
+     * were purged.
+     * A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the
+     * [App Engine Task Queue SDK, or the Cloud
      * Console](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue).
      * Purge time will be truncated to the nearest microsecond. Purge
      * time will be unset if the queue has never been purged.
@@ -2670,11 +2620,10 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
      *
      * 
      * Output only. The last time this queue was purged.
-     * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time]
-     * before this time were purged.
-     * A queue can be purged using
-     * [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the [App
-     * Engine Task Queue SDK, or the Cloud
+     * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
+     * were purged.
+     * A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the
+     * [App Engine Task Queue SDK, or the Cloud
      * Console](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue).
      * Purge time will be truncated to the nearest microsecond. Purge
      * time will be unset if the queue has never been purged.
@@ -2699,6 +2648,59 @@ public com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder() {
       return purgeTimeBuilder_;
     }
 
+    private double logSamplingRatio_;
+    /**
+     *
+     *
+     * 
+     * Specifies the fraction of operations to write to
+     * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
+     * This field may contain any value between 0.0 and 1.0, inclusive.
+     * 0.0 is the default and means that no operations are logged.
+     * 
+ * + * double log_sampling_ratio = 10; + */ + public double getLogSamplingRatio() { + return logSamplingRatio_; + } + /** + * + * + *
+     * Specifies the fraction of operations to write to
+     * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
+     * This field may contain any value between 0.0 and 1.0, inclusive.
+     * 0.0 is the default and means that no operations are logged.
+     * 
+ * + * double log_sampling_ratio = 10; + */ + public Builder setLogSamplingRatio(double value) { + + logSamplingRatio_ = value; + onChanged(); + return this; + } + /** + * + * + *
+     * Specifies the fraction of operations to write to
+     * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
+     * This field may contain any value between 0.0 and 1.0, inclusive.
+     * 0.0 is the default and means that no operations are logged.
+     * 
+ * + * double log_sampling_ratio = 10; + */ + public Builder clearLogSamplingRatio() { + + logSamplingRatio_ = 0D; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java index b178e17916a8..2e58d2aafc67 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueOrBuilder.java @@ -12,9 +12,8 @@ public interface QueueOrBuilder * * *
-   * Caller-specified and required in
-   * [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue], after
-   * which it becomes output only.
+   * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
+   * after which it becomes output only.
    * The queue name.
    * The queue name must have the following format:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
@@ -38,9 +37,8 @@ public interface QueueOrBuilder
    *
    *
    * 
-   * Caller-specified and required in
-   * [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue], after
-   * which it becomes output only.
+   * Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue],
+   * after which it becomes output only.
    * The queue name.
    * The queue name must have the following format:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
@@ -65,11 +63,9 @@ public interface QueueOrBuilder
    *
    *
    * 
-   * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue]
-   * settings apply only to [App Engine
-   * tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
-   * [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by
-   * this proto.
+   * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
+   * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
+   * [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by this proto.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -79,11 +75,9 @@ public interface QueueOrBuilder * * *
-   * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue]
-   * settings apply only to [App Engine
-   * tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
-   * [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by
-   * this proto.
+   * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
+   * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
+   * [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by this proto.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -93,11 +87,9 @@ public interface QueueOrBuilder * * *
-   * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue]
-   * settings apply only to [App Engine
-   * tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
-   * [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by
-   * this proto.
+   * [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to
+   * [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue.
+   * [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by this proto.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpQueue app_engine_http_queue = 3; @@ -109,24 +101,21 @@ public interface QueueOrBuilder * *
    * Rate limits for task dispatches.
-   * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and
-   * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are related
-   * because they both control task attempts. However they control task attempts
-   * in different ways:
-   * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the
-   * total rate of
+   * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
+   * related because they both control task attempts. However they control task
+   * attempts in different ways:
+   * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of
    *   dispatches from a queue (i.e. all traffic dispatched from the
    *   queue, regardless of whether the dispatch is from a first
    *   attempt or a retry).
-   * * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls
-   * what happens to
+   * * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls what happens to
    *   particular a task after its first attempt fails. That is,
-   *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls
-   *   task retries (the second attempt, third attempt, etc).
+   *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the
+   *   second attempt, third attempt, etc).
    * The queue's actual dispatch rate is the result of:
    * * Number of tasks in the queue
-   * * User-specified throttling: [rate limits][Queue.RateLimits]
-   *   [retry configuration][Queue.RetryConfig], and the
+   * * User-specified throttling: [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits],
+   *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config], and the
    *   [queue's state][google.cloud.tasks.v2beta3.Queue.state].
    * * System throttling due to `429` (Too Many Requests) or `503` (Service
    *   Unavailable) responses from the worker, high error rates, or to smooth
@@ -141,24 +130,21 @@ public interface QueueOrBuilder
    *
    * 
    * Rate limits for task dispatches.
-   * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and
-   * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are related
-   * because they both control task attempts. However they control task attempts
-   * in different ways:
-   * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the
-   * total rate of
+   * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
+   * related because they both control task attempts. However they control task
+   * attempts in different ways:
+   * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of
    *   dispatches from a queue (i.e. all traffic dispatched from the
    *   queue, regardless of whether the dispatch is from a first
    *   attempt or a retry).
-   * * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls
-   * what happens to
+   * * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls what happens to
    *   particular a task after its first attempt fails. That is,
-   *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls
-   *   task retries (the second attempt, third attempt, etc).
+   *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the
+   *   second attempt, third attempt, etc).
    * The queue's actual dispatch rate is the result of:
    * * Number of tasks in the queue
-   * * User-specified throttling: [rate limits][Queue.RateLimits]
-   *   [retry configuration][Queue.RetryConfig], and the
+   * * User-specified throttling: [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits],
+   *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config], and the
    *   [queue's state][google.cloud.tasks.v2beta3.Queue.state].
    * * System throttling due to `429` (Too Many Requests) or `503` (Service
    *   Unavailable) responses from the worker, high error rates, or to smooth
@@ -173,24 +159,21 @@ public interface QueueOrBuilder
    *
    * 
    * Rate limits for task dispatches.
-   * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and
-   * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are related
-   * because they both control task attempts. However they control task attempts
-   * in different ways:
-   * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the
-   * total rate of
+   * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are
+   * related because they both control task attempts. However they control task
+   * attempts in different ways:
+   * * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of
    *   dispatches from a queue (i.e. all traffic dispatched from the
    *   queue, regardless of whether the dispatch is from a first
    *   attempt or a retry).
-   * * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls
-   * what happens to
+   * * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls what happens to
    *   particular a task after its first attempt fails. That is,
-   *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls
-   *   task retries (the second attempt, third attempt, etc).
+   *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the
+   *   second attempt, third attempt, etc).
    * The queue's actual dispatch rate is the result of:
    * * Number of tasks in the queue
-   * * User-specified throttling: [rate limits][Queue.RateLimits]
-   *   [retry configuration][Queue.RetryConfig], and the
+   * * User-specified throttling: [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits],
+   *   [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config], and the
    *   [queue's state][google.cloud.tasks.v2beta3.Queue.state].
    * * System throttling due to `429` (Too Many Requests) or `503` (Service
    *   Unavailable) responses from the worker, high error rates, or to smooth
@@ -263,11 +246,9 @@ public interface QueueOrBuilder
    * Output only. The state of the queue.
    * `state` can only be changed by called
    * [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue],
-   * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue], or
-   * uploading
+   * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue], or uploading
    * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref).
-   * [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] cannot be
-   * used to change `state`.
+   * [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] cannot be used to change `state`.
    * 
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; @@ -280,11 +261,9 @@ public interface QueueOrBuilder * Output only. The state of the queue. * `state` can only be changed by called * [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue], - * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue], or - * uploading + * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue], or uploading * [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref). - * [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] cannot be - * used to change `state`. + * [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] cannot be used to change `state`. *
* * .google.cloud.tasks.v2beta3.Queue.State state = 6; @@ -296,11 +275,10 @@ public interface QueueOrBuilder * *
    * Output only. The last time this queue was purged.
-   * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time]
-   * before this time were purged.
-   * A queue can be purged using
-   * [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the [App
-   * Engine Task Queue SDK, or the Cloud
+   * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
+   * were purged.
+   * A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the
+   * [App Engine Task Queue SDK, or the Cloud
    * Console](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue).
    * Purge time will be truncated to the nearest microsecond. Purge
    * time will be unset if the queue has never been purged.
@@ -314,11 +292,10 @@ public interface QueueOrBuilder
    *
    * 
    * Output only. The last time this queue was purged.
-   * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time]
-   * before this time were purged.
-   * A queue can be purged using
-   * [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the [App
-   * Engine Task Queue SDK, or the Cloud
+   * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
+   * were purged.
+   * A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the
+   * [App Engine Task Queue SDK, or the Cloud
    * Console](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue).
    * Purge time will be truncated to the nearest microsecond. Purge
    * time will be unset if the queue has never been purged.
@@ -332,11 +309,10 @@ public interface QueueOrBuilder
    *
    * 
    * Output only. The last time this queue was purged.
-   * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time]
-   * before this time were purged.
-   * A queue can be purged using
-   * [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the [App
-   * Engine Task Queue SDK, or the Cloud
+   * All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time
+   * were purged.
+   * A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the
+   * [App Engine Task Queue SDK, or the Cloud
    * Console](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue).
    * Purge time will be truncated to the nearest microsecond. Purge
    * time will be unset if the queue has never been purged.
@@ -346,5 +322,19 @@ public interface QueueOrBuilder
    */
   com.google.protobuf.TimestampOrBuilder getPurgeTimeOrBuilder();
 
+  /**
+   *
+   *
+   * 
+   * Specifies the fraction of operations to write to
+   * [Stackdriver Logging](https://cloud.google.com/logging/docs/).
+   * This field may contain any value between 0.0 and 1.0, inclusive.
+   * 0.0 is the default and means that no operations are logged.
+   * 
+ * + * double log_sampling_ratio = 10; + */ + double getLogSamplingRatio(); + public com.google.cloud.tasks.v2beta3.Queue.QueueTypeCase getQueueTypeCase(); } diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java index 79ecfe4ef26e..60239c675785 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/QueueProto.java @@ -35,31 +35,32 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n&google/cloud/tasks/v2beta3/queue.proto" + "\022\032google.cloud.tasks.v2beta3\032\034google/api" - + "/annotations.proto\032\'google/cloud/tasks/v" - + "2beta3/target.proto\032\036google/protobuf/dur" - + "ation.proto\032\037google/protobuf/timestamp.p" - + "roto\"\237\003\n\005Queue\022\014\n\004name\030\001 \001(\t\022O\n\025app_engi" - + "ne_http_queue\030\003 \001(\0132..google.cloud.tasks" - + ".v2beta3.AppEngineHttpQueueH\000\022;\n\013rate_li" - + "mits\030\004 \001(\0132&.google.cloud.tasks.v2beta3." - + "RateLimits\022=\n\014retry_config\030\005 \001(\0132\'.googl" - + "e.cloud.tasks.v2beta3.RetryConfig\0226\n\005sta" - + "te\030\006 \001(\0162\'.google.cloud.tasks.v2beta3.Qu" - + "eue.State\022.\n\npurge_time\030\007 \001(\0132\032.google.p" - + "rotobuf.Timestamp\"E\n\005State\022\025\n\021STATE_UNSP" - + "ECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n\006PAUSED\020\002\022\014\n\010DI" - + "SABLED\020\003B\014\n\nqueue_type\"j\n\nRateLimits\022!\n\031" - + "max_dispatches_per_second\030\001 \001(\001\022\026\n\016max_b" - + "urst_size\030\002 \001(\005\022!\n\031max_concurrent_dispat" - + "ches\030\003 \001(\005\"\321\001\n\013RetryConfig\022\024\n\014max_attemp" - + "ts\030\001 \001(\005\0225\n\022max_retry_duration\030\002 \001(\0132\031.g" - + "oogle.protobuf.Duration\022.\n\013min_backoff\030\003" - + " \001(\0132\031.google.protobuf.Duration\022.\n\013max_b" - + "ackoff\030\004 \001(\0132\031.google.protobuf.Duration\022" - + "\025\n\rmax_doublings\030\005 \001(\005Bo\n\036com.google.clo" - + "ud.tasks.v2beta3B\nQueueProtoP\001Z?google.g" - + "olang.org/genproto/googleapis/cloud/task" - + "s/v2beta3;tasksb\006proto3" + + "/annotations.proto\032\031google/api/resource." + + "proto\032\'google/cloud/tasks/v2beta3/target" + + ".proto\032\036google/protobuf/duration.proto\032\037" + + "google/protobuf/timestamp.proto\"\273\003\n\005Queu" + + "e\022\014\n\004name\030\001 \001(\t\022O\n\025app_engine_http_queue" + + "\030\003 \001(\0132..google.cloud.tasks.v2beta3.AppE" + + "ngineHttpQueueH\000\022;\n\013rate_limits\030\004 \001(\0132&." + + "google.cloud.tasks.v2beta3.RateLimits\022=\n" + + "\014retry_config\030\005 \001(\0132\'.google.cloud.tasks" + + ".v2beta3.RetryConfig\0226\n\005state\030\006 \001(\0162\'.go" + + "ogle.cloud.tasks.v2beta3.Queue.State\022.\n\n" + + "purge_time\030\007 \001(\0132\032.google.protobuf.Times" + + "tamp\022\032\n\022log_sampling_ratio\030\n \001(\001\"E\n\005Stat" + + "e\022\025\n\021STATE_UNSPECIFIED\020\000\022\013\n\007RUNNING\020\001\022\n\n" + + "\006PAUSED\020\002\022\014\n\010DISABLED\020\003B\014\n\nqueue_type\"j\n" + + "\nRateLimits\022!\n\031max_dispatches_per_second" + + "\030\001 \001(\001\022\026\n\016max_burst_size\030\002 \001(\005\022!\n\031max_co" + + "ncurrent_dispatches\030\003 \001(\005\"\321\001\n\013RetryConfi" + + "g\022\024\n\014max_attempts\030\001 \001(\005\0225\n\022max_retry_dur" + + "ation\030\002 \001(\0132\031.google.protobuf.Duration\022." + + "\n\013min_backoff\030\003 \001(\0132\031.google.protobuf.Du" + + "ration\022.\n\013max_backoff\030\004 \001(\0132\031.google.pro" + + "tobuf.Duration\022\025\n\rmax_doublings\030\005 \001(\005Bo\n" + + "\036com.google.cloud.tasks.v2beta3B\nQueuePr" + + "otoP\001Z?google.golang.org/genproto/google" + + "apis/cloud/tasks/v2beta3;tasksb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { @@ -73,6 +74,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(), com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), @@ -90,6 +92,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "RetryConfig", "State", "PurgeTime", + "LogSamplingRatio", "QueueType", }); internal_static_google_cloud_tasks_v2beta3_RateLimits_descriptor = @@ -109,6 +112,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "MaxAttempts", "MaxRetryDuration", "MinBackoff", "MaxBackoff", "MaxDoublings", }); com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(); com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java index d7c6a6872690..dafdb2f8ab8d 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimits.java @@ -10,10 +10,8 @@ * Rate limits. * This message determines the maximum rate that tasks can be dispatched by a * queue, regardless of whether the dispatch is a first task attempt or a retry. - * Note: The debugging command, - * [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask], will run a task - * even if the queue has reached its - * [RateLimits][google.cloud.tasks.v2beta3.RateLimits]. + * Note: The debugging command, [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask], will run a task + * even if the queue has reached its [RateLimits][google.cloud.tasks.v2beta3.RateLimits]. *
* * Protobuf type {@code google.cloud.tasks.v2beta3.RateLimits} @@ -112,8 +110,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * The maximum rate at which tasks are dispatched from this queue. * If unspecified when the queue is created, Cloud Tasks will pick the * default. - * * For [App Engine queues][google.cloud.tasks.v2beta3.AppEngineHttpQueue], - * the maximum allowed value + * * For [App Engine queues][google.cloud.tasks.v2beta3.AppEngineHttpQueue], the maximum allowed value * is 500. * This field has the same meaning as * [rate in @@ -153,9 +150,9 @@ public double getMaxDispatchesPerSecond() { * `queue.yaml/xml`, `max_burst_size` is equal to * [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). * Since `max_burst_size` is output only, if - * [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] is called - * on a queue created by `queue.yaml/xml`, `max_burst_size` will be reset - * based on the value of + * [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] is called on a queue + * created by `queue.yaml/xml`, `max_burst_size` will be reset based + * on the value of * [max_dispatches_per_second][google.cloud.tasks.v2beta3.RateLimits.max_dispatches_per_second], * regardless of whether * [max_dispatches_per_second][google.cloud.tasks.v2beta3.RateLimits.max_dispatches_per_second] @@ -380,10 +377,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * Rate limits. * This message determines the maximum rate that tasks can be dispatched by a * queue, regardless of whether the dispatch is a first task attempt or a retry. - * Note: The debugging command, - * [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask], will run a task - * even if the queue has reached its - * [RateLimits][google.cloud.tasks.v2beta3.RateLimits]. + * Note: The debugging command, [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask], will run a task + * even if the queue has reached its [RateLimits][google.cloud.tasks.v2beta3.RateLimits]. *
* * Protobuf type {@code google.cloud.tasks.v2beta3.RateLimits} @@ -555,8 +550,7 @@ public Builder mergeFrom( * The maximum rate at which tasks are dispatched from this queue. * If unspecified when the queue is created, Cloud Tasks will pick the * default. - * * For [App Engine queues][google.cloud.tasks.v2beta3.AppEngineHttpQueue], - * the maximum allowed value + * * For [App Engine queues][google.cloud.tasks.v2beta3.AppEngineHttpQueue], the maximum allowed value * is 500. * This field has the same meaning as * [rate in @@ -575,8 +569,7 @@ public double getMaxDispatchesPerSecond() { * The maximum rate at which tasks are dispatched from this queue. * If unspecified when the queue is created, Cloud Tasks will pick the * default. - * * For [App Engine queues][google.cloud.tasks.v2beta3.AppEngineHttpQueue], - * the maximum allowed value + * * For [App Engine queues][google.cloud.tasks.v2beta3.AppEngineHttpQueue], the maximum allowed value * is 500. * This field has the same meaning as * [rate in @@ -598,8 +591,7 @@ public Builder setMaxDispatchesPerSecond(double value) { * The maximum rate at which tasks are dispatched from this queue. * If unspecified when the queue is created, Cloud Tasks will pick the * default. - * * For [App Engine queues][google.cloud.tasks.v2beta3.AppEngineHttpQueue], - * the maximum allowed value + * * For [App Engine queues][google.cloud.tasks.v2beta3.AppEngineHttpQueue], the maximum allowed value * is 500. * This field has the same meaning as * [rate in @@ -641,9 +633,9 @@ public Builder clearMaxDispatchesPerSecond() { * `queue.yaml/xml`, `max_burst_size` is equal to * [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). * Since `max_burst_size` is output only, if - * [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] is called - * on a queue created by `queue.yaml/xml`, `max_burst_size` will be reset - * based on the value of + * [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] is called on a queue + * created by `queue.yaml/xml`, `max_burst_size` will be reset based + * on the value of * [max_dispatches_per_second][google.cloud.tasks.v2beta3.RateLimits.max_dispatches_per_second], * regardless of whether * [max_dispatches_per_second][google.cloud.tasks.v2beta3.RateLimits.max_dispatches_per_second] @@ -680,9 +672,9 @@ public int getMaxBurstSize() { * `queue.yaml/xml`, `max_burst_size` is equal to * [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). * Since `max_burst_size` is output only, if - * [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] is called - * on a queue created by `queue.yaml/xml`, `max_burst_size` will be reset - * based on the value of + * [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] is called on a queue + * created by `queue.yaml/xml`, `max_burst_size` will be reset based + * on the value of * [max_dispatches_per_second][google.cloud.tasks.v2beta3.RateLimits.max_dispatches_per_second], * regardless of whether * [max_dispatches_per_second][google.cloud.tasks.v2beta3.RateLimits.max_dispatches_per_second] @@ -722,9 +714,9 @@ public Builder setMaxBurstSize(int value) { * `queue.yaml/xml`, `max_burst_size` is equal to * [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). * Since `max_burst_size` is output only, if - * [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] is called - * on a queue created by `queue.yaml/xml`, `max_burst_size` will be reset - * based on the value of + * [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] is called on a queue + * created by `queue.yaml/xml`, `max_burst_size` will be reset based + * on the value of * [max_dispatches_per_second][google.cloud.tasks.v2beta3.RateLimits.max_dispatches_per_second], * regardless of whether * [max_dispatches_per_second][google.cloud.tasks.v2beta3.RateLimits.max_dispatches_per_second] diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java index 64db188a5cf4..4ffa935c8d3c 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RateLimitsOrBuilder.java @@ -15,8 +15,7 @@ public interface RateLimitsOrBuilder * The maximum rate at which tasks are dispatched from this queue. * If unspecified when the queue is created, Cloud Tasks will pick the * default. - * * For [App Engine queues][google.cloud.tasks.v2beta3.AppEngineHttpQueue], - * the maximum allowed value + * * For [App Engine queues][google.cloud.tasks.v2beta3.AppEngineHttpQueue], the maximum allowed value * is 500. * This field has the same meaning as * [rate in @@ -52,9 +51,9 @@ public interface RateLimitsOrBuilder * `queue.yaml/xml`, `max_burst_size` is equal to * [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). * Since `max_burst_size` is output only, if - * [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] is called - * on a queue created by `queue.yaml/xml`, `max_burst_size` will be reset - * based on the value of + * [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] is called on a queue + * created by `queue.yaml/xml`, `max_burst_size` will be reset based + * on the value of * [max_dispatches_per_second][google.cloud.tasks.v2beta3.RateLimits.max_dispatches_per_second], * regardless of whether * [max_dispatches_per_second][google.cloud.tasks.v2beta3.RateLimits.max_dispatches_per_second] diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java index 050935e8fe12..de633e83a588 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/ResumeQueueRequest.java @@ -7,8 +7,7 @@ * * *
- * Request message for
- * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue].
+ * Request message for [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ResumeQueueRequest} @@ -302,8 +301,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue].
+   * Request message for [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.ResumeQueueRequest} diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java index 59f89c33b6f5..bae11fbae8ec 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfig.java @@ -171,9 +171,9 @@ public int getMaxAttempts() { * If positive, `max_retry_duration` specifies the time limit for * retrying a failed task, measured from when the task was first * attempted. Once `max_retry_duration` time has passed *and* the - * task has been attempted - * [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] times, - * no further attempts will be made and the task will be deleted. + * task has been attempted [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] + * times, no further attempts will be made and the task will be + * deleted. * If zero, then the task age is unlimited. * If unspecified when the queue is created, Cloud Tasks will pick the * default. @@ -195,9 +195,9 @@ public boolean hasMaxRetryDuration() { * If positive, `max_retry_duration` specifies the time limit for * retrying a failed task, measured from when the task was first * attempted. Once `max_retry_duration` time has passed *and* the - * task has been attempted - * [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] times, - * no further attempts will be made and the task will be deleted. + * task has been attempted [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] + * times, no further attempts will be made and the task will be + * deleted. * If zero, then the task age is unlimited. * If unspecified when the queue is created, Cloud Tasks will pick the * default. @@ -221,9 +221,9 @@ public com.google.protobuf.Duration getMaxRetryDuration() { * If positive, `max_retry_duration` specifies the time limit for * retrying a failed task, measured from when the task was first * attempted. Once `max_retry_duration` time has passed *and* the - * task has been attempted - * [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] times, - * no further attempts will be made and the task will be deleted. + * task has been attempted [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] + * times, no further attempts will be made and the task will be + * deleted. * If zero, then the task age is unlimited. * If unspecified when the queue is created, Cloud Tasks will pick the * default. @@ -245,13 +245,11 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() { * * *
-   * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time]
-   * for retry between
+   * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
-   * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration
-   * after it fails, if the queue's
-   * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the
-   * task should be retried.
+   * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails,
+   * if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be
+   * retried.
    * If unspecified when the queue is created, Cloud Tasks will pick the
    * default.
    * `min_backoff` will be truncated to the nearest second.
@@ -269,13 +267,11 @@ public boolean hasMinBackoff() {
    *
    *
    * 
-   * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time]
-   * for retry between
+   * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
-   * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration
-   * after it fails, if the queue's
-   * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the
-   * task should be retried.
+   * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails,
+   * if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be
+   * retried.
    * If unspecified when the queue is created, Cloud Tasks will pick the
    * default.
    * `min_backoff` will be truncated to the nearest second.
@@ -293,13 +289,11 @@ public com.google.protobuf.Duration getMinBackoff() {
    *
    *
    * 
-   * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time]
-   * for retry between
+   * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
-   * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration
-   * after it fails, if the queue's
-   * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the
-   * task should be retried.
+   * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails,
+   * if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be
+   * retried.
    * If unspecified when the queue is created, Cloud Tasks will pick the
    * default.
    * `min_backoff` will be truncated to the nearest second.
@@ -320,13 +314,11 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
    *
    *
    * 
-   * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time]
-   * for retry between
+   * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
-   * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration
-   * after it fails, if the queue's
-   * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the
-   * task should be retried.
+   * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails,
+   * if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be
+   * retried.
    * If unspecified when the queue is created, Cloud Tasks will pick the
    * default.
    * `max_backoff` will be truncated to the nearest second.
@@ -344,13 +336,11 @@ public boolean hasMaxBackoff() {
    *
    *
    * 
-   * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time]
-   * for retry between
+   * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
-   * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration
-   * after it fails, if the queue's
-   * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the
-   * task should be retried.
+   * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails,
+   * if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be
+   * retried.
    * If unspecified when the queue is created, Cloud Tasks will pick the
    * default.
    * `max_backoff` will be truncated to the nearest second.
@@ -368,13 +358,11 @@ public com.google.protobuf.Duration getMaxBackoff() {
    *
    *
    * 
-   * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time]
-   * for retry between
+   * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
-   * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration
-   * after it fails, if the queue's
-   * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the
-   * task should be retried.
+   * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails,
+   * if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be
+   * retried.
    * If unspecified when the queue is created, Cloud Tasks will pick the
    * default.
    * `max_backoff` will be truncated to the nearest second.
@@ -397,22 +385,20 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
-   * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff], then
-   * doubles `max_doublings` times, then increases linearly, and finally retries
-   * retries at intervals of
+   * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff], then doubles
+   * `max_doublings` times, then increases linearly, and finally
+   * retries retries at intervals of
    * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] up to
    * [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] times.
-   * For example, if
-   * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] is 10s,
-   * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] is 300s,
-   * and `max_doublings` is 3, then the a task will first be retried in 10s. The
-   * retry interval will double three times, and then increase linearly by 2^3 *
-   * 10s.  Finally, the task will retry at intervals of
-   * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] until the
-   * task has been attempted
-   * [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] times.
-   * Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s,
-   * 300s, ....
+   * For example, if [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] is 10s,
+   * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] is 300s, and
+   * `max_doublings` is 3, then the a task will first be retried in
+   * 10s. The retry interval will double three times, and then
+   * increase linearly by 2^3 * 10s.  Finally, the task will retry at
+   * intervals of [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] until the
+   * task has been attempted [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts]
+   * times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s,
+   * 240s, 300s, 300s, ....
    * If unspecified when the queue is created, Cloud Tasks will pick the
    * default.
    * This field has the same meaning as
@@ -925,9 +911,9 @@ public Builder clearMaxAttempts() {
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
      * attempted. Once `max_retry_duration` time has passed *and* the
-     * task has been attempted
-     * [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] times,
-     * no further attempts will be made and the task will be deleted.
+     * task has been attempted [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts]
+     * times, no further attempts will be made and the task will be
+     * deleted.
      * If zero, then the task age is unlimited.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
@@ -949,9 +935,9 @@ public boolean hasMaxRetryDuration() {
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
      * attempted. Once `max_retry_duration` time has passed *and* the
-     * task has been attempted
-     * [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] times,
-     * no further attempts will be made and the task will be deleted.
+     * task has been attempted [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts]
+     * times, no further attempts will be made and the task will be
+     * deleted.
      * If zero, then the task age is unlimited.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
@@ -979,9 +965,9 @@ public com.google.protobuf.Duration getMaxRetryDuration() {
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
      * attempted. Once `max_retry_duration` time has passed *and* the
-     * task has been attempted
-     * [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] times,
-     * no further attempts will be made and the task will be deleted.
+     * task has been attempted [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts]
+     * times, no further attempts will be made and the task will be
+     * deleted.
      * If zero, then the task age is unlimited.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
@@ -1013,9 +999,9 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration value) {
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
      * attempted. Once `max_retry_duration` time has passed *and* the
-     * task has been attempted
-     * [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] times,
-     * no further attempts will be made and the task will be deleted.
+     * task has been attempted [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts]
+     * times, no further attempts will be made and the task will be
+     * deleted.
      * If zero, then the task age is unlimited.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
@@ -1044,9 +1030,9 @@ public Builder setMaxRetryDuration(com.google.protobuf.Duration.Builder builderF
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
      * attempted. Once `max_retry_duration` time has passed *and* the
-     * task has been attempted
-     * [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] times,
-     * no further attempts will be made and the task will be deleted.
+     * task has been attempted [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts]
+     * times, no further attempts will be made and the task will be
+     * deleted.
      * If zero, then the task age is unlimited.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
@@ -1082,9 +1068,9 @@ public Builder mergeMaxRetryDuration(com.google.protobuf.Duration value) {
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
      * attempted. Once `max_retry_duration` time has passed *and* the
-     * task has been attempted
-     * [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] times,
-     * no further attempts will be made and the task will be deleted.
+     * task has been attempted [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts]
+     * times, no further attempts will be made and the task will be
+     * deleted.
      * If zero, then the task age is unlimited.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
@@ -1114,9 +1100,9 @@ public Builder clearMaxRetryDuration() {
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
      * attempted. Once `max_retry_duration` time has passed *and* the
-     * task has been attempted
-     * [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] times,
-     * no further attempts will be made and the task will be deleted.
+     * task has been attempted [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts]
+     * times, no further attempts will be made and the task will be
+     * deleted.
      * If zero, then the task age is unlimited.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
@@ -1140,9 +1126,9 @@ public com.google.protobuf.Duration.Builder getMaxRetryDurationBuilder() {
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
      * attempted. Once `max_retry_duration` time has passed *and* the
-     * task has been attempted
-     * [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] times,
-     * no further attempts will be made and the task will be deleted.
+     * task has been attempted [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts]
+     * times, no further attempts will be made and the task will be
+     * deleted.
      * If zero, then the task age is unlimited.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
@@ -1170,9 +1156,9 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      * If positive, `max_retry_duration` specifies the time limit for
      * retrying a failed task, measured from when the task was first
      * attempted. Once `max_retry_duration` time has passed *and* the
-     * task has been attempted
-     * [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] times,
-     * no further attempts will be made and the task will be deleted.
+     * task has been attempted [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts]
+     * times, no further attempts will be made and the task will be
+     * deleted.
      * If zero, then the task age is unlimited.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
@@ -1211,13 +1197,11 @@ public com.google.protobuf.DurationOrBuilder getMaxRetryDurationOrBuilder() {
      *
      *
      * 
-     * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time]
-     * for retry between
+     * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
-     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration
-     * after it fails, if the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the
-     * task should be retried.
+     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails,
+     * if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be
+     * retried.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
      * `min_backoff` will be truncated to the nearest second.
@@ -1235,13 +1219,11 @@ public boolean hasMinBackoff() {
      *
      *
      * 
-     * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time]
-     * for retry between
+     * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
-     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration
-     * after it fails, if the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the
-     * task should be retried.
+     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails,
+     * if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be
+     * retried.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
      * `min_backoff` will be truncated to the nearest second.
@@ -1265,13 +1247,11 @@ public com.google.protobuf.Duration getMinBackoff() {
      *
      *
      * 
-     * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time]
-     * for retry between
+     * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
-     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration
-     * after it fails, if the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the
-     * task should be retried.
+     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails,
+     * if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be
+     * retried.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
      * `min_backoff` will be truncated to the nearest second.
@@ -1299,13 +1279,11 @@ public Builder setMinBackoff(com.google.protobuf.Duration value) {
      *
      *
      * 
-     * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time]
-     * for retry between
+     * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
-     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration
-     * after it fails, if the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the
-     * task should be retried.
+     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails,
+     * if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be
+     * retried.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
      * `min_backoff` will be truncated to the nearest second.
@@ -1330,13 +1308,11 @@ public Builder setMinBackoff(com.google.protobuf.Duration.Builder builderForValu
      *
      *
      * 
-     * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time]
-     * for retry between
+     * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
-     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration
-     * after it fails, if the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the
-     * task should be retried.
+     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails,
+     * if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be
+     * retried.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
      * `min_backoff` will be truncated to the nearest second.
@@ -1366,13 +1342,11 @@ public Builder mergeMinBackoff(com.google.protobuf.Duration value) {
      *
      *
      * 
-     * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time]
-     * for retry between
+     * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
-     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration
-     * after it fails, if the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the
-     * task should be retried.
+     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails,
+     * if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be
+     * retried.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
      * `min_backoff` will be truncated to the nearest second.
@@ -1398,13 +1372,11 @@ public Builder clearMinBackoff() {
      *
      *
      * 
-     * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time]
-     * for retry between
+     * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
-     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration
-     * after it fails, if the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the
-     * task should be retried.
+     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails,
+     * if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be
+     * retried.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
      * `min_backoff` will be truncated to the nearest second.
@@ -1424,13 +1396,11 @@ public com.google.protobuf.Duration.Builder getMinBackoffBuilder() {
      *
      *
      * 
-     * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time]
-     * for retry between
+     * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
-     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration
-     * after it fails, if the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the
-     * task should be retried.
+     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails,
+     * if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be
+     * retried.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
      * `min_backoff` will be truncated to the nearest second.
@@ -1454,13 +1424,11 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      *
      *
      * 
-     * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time]
-     * for retry between
+     * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
-     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration
-     * after it fails, if the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the
-     * task should be retried.
+     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails,
+     * if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be
+     * retried.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
      * `min_backoff` will be truncated to the nearest second.
@@ -1498,13 +1466,11 @@ public com.google.protobuf.DurationOrBuilder getMinBackoffOrBuilder() {
      *
      *
      * 
-     * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time]
-     * for retry between
+     * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
-     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration
-     * after it fails, if the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the
-     * task should be retried.
+     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails,
+     * if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be
+     * retried.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
      * `max_backoff` will be truncated to the nearest second.
@@ -1522,13 +1488,11 @@ public boolean hasMaxBackoff() {
      *
      *
      * 
-     * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time]
-     * for retry between
+     * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
-     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration
-     * after it fails, if the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the
-     * task should be retried.
+     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails,
+     * if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be
+     * retried.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
      * `max_backoff` will be truncated to the nearest second.
@@ -1552,13 +1516,11 @@ public com.google.protobuf.Duration getMaxBackoff() {
      *
      *
      * 
-     * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time]
-     * for retry between
+     * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
-     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration
-     * after it fails, if the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the
-     * task should be retried.
+     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails,
+     * if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be
+     * retried.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
      * `max_backoff` will be truncated to the nearest second.
@@ -1586,13 +1548,11 @@ public Builder setMaxBackoff(com.google.protobuf.Duration value) {
      *
      *
      * 
-     * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time]
-     * for retry between
+     * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
-     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration
-     * after it fails, if the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the
-     * task should be retried.
+     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails,
+     * if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be
+     * retried.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
      * `max_backoff` will be truncated to the nearest second.
@@ -1617,13 +1577,11 @@ public Builder setMaxBackoff(com.google.protobuf.Duration.Builder builderForValu
      *
      *
      * 
-     * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time]
-     * for retry between
+     * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
-     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration
-     * after it fails, if the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the
-     * task should be retried.
+     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails,
+     * if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be
+     * retried.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
      * `max_backoff` will be truncated to the nearest second.
@@ -1653,13 +1611,11 @@ public Builder mergeMaxBackoff(com.google.protobuf.Duration value) {
      *
      *
      * 
-     * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time]
-     * for retry between
+     * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
-     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration
-     * after it fails, if the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the
-     * task should be retried.
+     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails,
+     * if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be
+     * retried.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
      * `max_backoff` will be truncated to the nearest second.
@@ -1685,13 +1641,11 @@ public Builder clearMaxBackoff() {
      *
      *
      * 
-     * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time]
-     * for retry between
+     * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
-     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration
-     * after it fails, if the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the
-     * task should be retried.
+     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails,
+     * if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be
+     * retried.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
      * `max_backoff` will be truncated to the nearest second.
@@ -1711,13 +1665,11 @@ public com.google.protobuf.Duration.Builder getMaxBackoffBuilder() {
      *
      *
      * 
-     * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time]
-     * for retry between
+     * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
-     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration
-     * after it fails, if the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the
-     * task should be retried.
+     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails,
+     * if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be
+     * retried.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
      * `max_backoff` will be truncated to the nearest second.
@@ -1741,13 +1693,11 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      *
      *
      * 
-     * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time]
-     * for retry between
+     * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
      * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
-     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration
-     * after it fails, if the queue's
-     * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the
-     * task should be retried.
+     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails,
+     * if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be
+     * retried.
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
      * `max_backoff` will be truncated to the nearest second.
@@ -1782,22 +1732,20 @@ public com.google.protobuf.DurationOrBuilder getMaxBackoffOrBuilder() {
      * 
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
-     * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff], then
-     * doubles `max_doublings` times, then increases linearly, and finally retries
-     * retries at intervals of
+     * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff], then doubles
+     * `max_doublings` times, then increases linearly, and finally
+     * retries retries at intervals of
      * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] up to
      * [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] times.
-     * For example, if
-     * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] is 10s,
-     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] is 300s,
-     * and `max_doublings` is 3, then the a task will first be retried in 10s. The
-     * retry interval will double three times, and then increase linearly by 2^3 *
-     * 10s.  Finally, the task will retry at intervals of
-     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] until the
-     * task has been attempted
-     * [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] times.
-     * Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s,
-     * 300s, ....
+     * For example, if [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] is 10s,
+     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] is 300s, and
+     * `max_doublings` is 3, then the a task will first be retried in
+     * 10s. The retry interval will double three times, and then
+     * increase linearly by 2^3 * 10s.  Finally, the task will retry at
+     * intervals of [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] until the
+     * task has been attempted [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts]
+     * times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s,
+     * 240s, 300s, 300s, ....
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
      * This field has the same meaning as
@@ -1816,22 +1764,20 @@ public int getMaxDoublings() {
      * 
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
-     * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff], then
-     * doubles `max_doublings` times, then increases linearly, and finally retries
-     * retries at intervals of
+     * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff], then doubles
+     * `max_doublings` times, then increases linearly, and finally
+     * retries retries at intervals of
      * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] up to
      * [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] times.
-     * For example, if
-     * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] is 10s,
-     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] is 300s,
-     * and `max_doublings` is 3, then the a task will first be retried in 10s. The
-     * retry interval will double three times, and then increase linearly by 2^3 *
-     * 10s.  Finally, the task will retry at intervals of
-     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] until the
-     * task has been attempted
-     * [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] times.
-     * Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s,
-     * 300s, ....
+     * For example, if [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] is 10s,
+     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] is 300s, and
+     * `max_doublings` is 3, then the a task will first be retried in
+     * 10s. The retry interval will double three times, and then
+     * increase linearly by 2^3 * 10s.  Finally, the task will retry at
+     * intervals of [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] until the
+     * task has been attempted [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts]
+     * times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s,
+     * 240s, 300s, 300s, ....
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
      * This field has the same meaning as
@@ -1853,22 +1799,20 @@ public Builder setMaxDoublings(int value) {
      * 
      * The time between retries will double `max_doublings` times.
      * A task's retry interval starts at
-     * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff], then
-     * doubles `max_doublings` times, then increases linearly, and finally retries
-     * retries at intervals of
+     * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff], then doubles
+     * `max_doublings` times, then increases linearly, and finally
+     * retries retries at intervals of
      * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] up to
      * [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] times.
-     * For example, if
-     * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] is 10s,
-     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] is 300s,
-     * and `max_doublings` is 3, then the a task will first be retried in 10s. The
-     * retry interval will double three times, and then increase linearly by 2^3 *
-     * 10s.  Finally, the task will retry at intervals of
-     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] until the
-     * task has been attempted
-     * [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] times.
-     * Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s,
-     * 300s, ....
+     * For example, if [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] is 10s,
+     * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] is 300s, and
+     * `max_doublings` is 3, then the a task will first be retried in
+     * 10s. The retry interval will double three times, and then
+     * increase linearly by 2^3 * 10s.  Finally, the task will retry at
+     * intervals of [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] until the
+     * task has been attempted [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts]
+     * times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s,
+     * 240s, 300s, 300s, ....
      * If unspecified when the queue is created, Cloud Tasks will pick the
      * default.
      * This field has the same meaning as
diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java
index 6777de1bb894..9d281dd0922a 100644
--- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RetryConfigOrBuilder.java
@@ -35,9 +35,9 @@ public interface RetryConfigOrBuilder
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
    * attempted. Once `max_retry_duration` time has passed *and* the
-   * task has been attempted
-   * [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] times,
-   * no further attempts will be made and the task will be deleted.
+   * task has been attempted [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts]
+   * times, no further attempts will be made and the task will be
+   * deleted.
    * If zero, then the task age is unlimited.
    * If unspecified when the queue is created, Cloud Tasks will pick the
    * default.
@@ -57,9 +57,9 @@ public interface RetryConfigOrBuilder
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
    * attempted. Once `max_retry_duration` time has passed *and* the
-   * task has been attempted
-   * [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] times,
-   * no further attempts will be made and the task will be deleted.
+   * task has been attempted [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts]
+   * times, no further attempts will be made and the task will be
+   * deleted.
    * If zero, then the task age is unlimited.
    * If unspecified when the queue is created, Cloud Tasks will pick the
    * default.
@@ -79,9 +79,9 @@ public interface RetryConfigOrBuilder
    * If positive, `max_retry_duration` specifies the time limit for
    * retrying a failed task, measured from when the task was first
    * attempted. Once `max_retry_duration` time has passed *and* the
-   * task has been attempted
-   * [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] times,
-   * no further attempts will be made and the task will be deleted.
+   * task has been attempted [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts]
+   * times, no further attempts will be made and the task will be
+   * deleted.
    * If zero, then the task age is unlimited.
    * If unspecified when the queue is created, Cloud Tasks will pick the
    * default.
@@ -99,13 +99,11 @@ public interface RetryConfigOrBuilder
    *
    *
    * 
-   * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time]
-   * for retry between
+   * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
-   * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration
-   * after it fails, if the queue's
-   * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the
-   * task should be retried.
+   * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails,
+   * if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be
+   * retried.
    * If unspecified when the queue is created, Cloud Tasks will pick the
    * default.
    * `min_backoff` will be truncated to the nearest second.
@@ -121,13 +119,11 @@ public interface RetryConfigOrBuilder
    *
    *
    * 
-   * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time]
-   * for retry between
+   * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
-   * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration
-   * after it fails, if the queue's
-   * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the
-   * task should be retried.
+   * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails,
+   * if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be
+   * retried.
    * If unspecified when the queue is created, Cloud Tasks will pick the
    * default.
    * `min_backoff` will be truncated to the nearest second.
@@ -143,13 +139,11 @@ public interface RetryConfigOrBuilder
    *
    *
    * 
-   * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time]
-   * for retry between
+   * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
-   * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration
-   * after it fails, if the queue's
-   * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the
-   * task should be retried.
+   * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails,
+   * if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be
+   * retried.
    * If unspecified when the queue is created, Cloud Tasks will pick the
    * default.
    * `min_backoff` will be truncated to the nearest second.
@@ -166,13 +160,11 @@ public interface RetryConfigOrBuilder
    *
    *
    * 
-   * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time]
-   * for retry between
+   * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
-   * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration
-   * after it fails, if the queue's
-   * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the
-   * task should be retried.
+   * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails,
+   * if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be
+   * retried.
    * If unspecified when the queue is created, Cloud Tasks will pick the
    * default.
    * `max_backoff` will be truncated to the nearest second.
@@ -188,13 +180,11 @@ public interface RetryConfigOrBuilder
    *
    *
    * 
-   * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time]
-   * for retry between
+   * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
-   * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration
-   * after it fails, if the queue's
-   * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the
-   * task should be retried.
+   * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails,
+   * if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be
+   * retried.
    * If unspecified when the queue is created, Cloud Tasks will pick the
    * default.
    * `max_backoff` will be truncated to the nearest second.
@@ -210,13 +200,11 @@ public interface RetryConfigOrBuilder
    *
    *
    * 
-   * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time]
-   * for retry between
+   * A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between
    * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and
-   * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration
-   * after it fails, if the queue's
-   * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the
-   * task should be retried.
+   * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails,
+   * if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be
+   * retried.
    * If unspecified when the queue is created, Cloud Tasks will pick the
    * default.
    * `max_backoff` will be truncated to the nearest second.
@@ -235,22 +223,20 @@ public interface RetryConfigOrBuilder
    * 
    * The time between retries will double `max_doublings` times.
    * A task's retry interval starts at
-   * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff], then
-   * doubles `max_doublings` times, then increases linearly, and finally retries
-   * retries at intervals of
+   * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff], then doubles
+   * `max_doublings` times, then increases linearly, and finally
+   * retries retries at intervals of
    * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] up to
    * [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] times.
-   * For example, if
-   * [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] is 10s,
-   * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] is 300s,
-   * and `max_doublings` is 3, then the a task will first be retried in 10s. The
-   * retry interval will double three times, and then increase linearly by 2^3 *
-   * 10s.  Finally, the task will retry at intervals of
-   * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] until the
-   * task has been attempted
-   * [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] times.
-   * Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s,
-   * 300s, ....
+   * For example, if [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] is 10s,
+   * [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] is 300s, and
+   * `max_doublings` is 3, then the a task will first be retried in
+   * 10s. The retry interval will double three times, and then
+   * increase linearly by 2^3 * 10s.  Finally, the task will retry at
+   * intervals of [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] until the
+   * task has been attempted [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts]
+   * times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s,
+   * 240s, 300s, 300s, ....
    * If unspecified when the queue is created, Cloud Tasks will pick the
    * default.
    * This field has the same meaning as
diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java
index 14588804a20d..fb3449281516 100644
--- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java
+++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequest.java
@@ -153,17 +153,16 @@ public com.google.protobuf.ByteString getNameBytes() {
    *
    *
    * 
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta3.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
-   * retrieved by default because some data, such as payloads, might be
-   * desirable to return only when needed because of its large size or because
-   * of the sensitivity of data that it contains.
-   * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta3.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+   * information is retrieved by default because some data, such as
+   * payloads, might be desirable to return only when needed because
+   * of its large size or because of the sensitivity of data that it
+   * contains.
+   * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; @@ -175,17 +174,16 @@ public int getResponseViewValue() { * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta3.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
-   * retrieved by default because some data, such as payloads, might be
-   * desirable to return only when needed because of its large size or because
-   * of the sensitivity of data that it contains.
-   * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta3.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+   * information is retrieved by default because some data, such as
+   * payloads, might be desirable to return only when needed because
+   * of its large size or because of the sensitivity of data that it
+   * contains.
+   * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; @@ -638,17 +636,16 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta3.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
-     * retrieved by default because some data, such as payloads, might be
-     * desirable to return only when needed because of its large size or because
-     * of the sensitivity of data that it contains.
-     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta3.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+     * information is retrieved by default because some data, such as
+     * payloads, might be desirable to return only when needed because
+     * of its large size or because of the sensitivity of data that it
+     * contains.
+     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; @@ -660,17 +657,16 @@ public int getResponseViewValue() { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta3.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
-     * retrieved by default because some data, such as payloads, might be
-     * desirable to return only when needed because of its large size or because
-     * of the sensitivity of data that it contains.
-     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta3.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+     * information is retrieved by default because some data, such as
+     * payloads, might be desirable to return only when needed because
+     * of its large size or because of the sensitivity of data that it
+     * contains.
+     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; @@ -684,17 +680,16 @@ public Builder setResponseViewValue(int value) { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta3.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
-     * retrieved by default because some data, such as payloads, might be
-     * desirable to return only when needed because of its large size or because
-     * of the sensitivity of data that it contains.
-     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta3.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+     * information is retrieved by default because some data, such as
+     * payloads, might be desirable to return only when needed because
+     * of its large size or because of the sensitivity of data that it
+     * contains.
+     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; @@ -709,17 +704,16 @@ public com.google.cloud.tasks.v2beta3.Task.View getResponseView() { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta3.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
-     * retrieved by default because some data, such as payloads, might be
-     * desirable to return only when needed because of its large size or because
-     * of the sensitivity of data that it contains.
-     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta3.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+     * information is retrieved by default because some data, such as
+     * payloads, might be desirable to return only when needed because
+     * of its large size or because of the sensitivity of data that it
+     * contains.
+     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; @@ -737,17 +731,16 @@ public Builder setResponseView(com.google.cloud.tasks.v2beta3.Task.View value) { * * *
-     * The response_view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta3.Task] will be returned.
-     * By default response_view is
-     * [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
-     * retrieved by default because some data, such as payloads, might be
-     * desirable to return only when needed because of its large size or because
-     * of the sensitivity of data that it contains.
-     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Task][google.cloud.tasks.v2beta3.Task] resource.
+     * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+     * returned.
+     * By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+     * information is retrieved by default because some data, such as
+     * payloads, might be desirable to return only when needed because
+     * of its large size or because of the sensitivity of data that it
+     * contains.
+     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
      * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java index 616bc19852b6..e0657cc4f288 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/RunTaskRequestOrBuilder.java @@ -37,17 +37,16 @@ public interface RunTaskRequestOrBuilder * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta3.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
-   * retrieved by default because some data, such as payloads, might be
-   * desirable to return only when needed because of its large size or because
-   * of the sensitivity of data that it contains.
-   * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta3.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+   * information is retrieved by default because some data, such as
+   * payloads, might be desirable to return only when needed because
+   * of its large size or because of the sensitivity of data that it
+   * contains.
+   * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; @@ -57,17 +56,16 @@ public interface RunTaskRequestOrBuilder * * *
-   * The response_view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta3.Task] will be returned.
-   * By default response_view is
-   * [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is
-   * retrieved by default because some data, such as payloads, might be
-   * desirable to return only when needed because of its large size or because
-   * of the sensitivity of data that it contains.
-   * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-   * requires `cloudtasks.tasks.fullView` [Google
-   * IAM](https://cloud.google.com/iam/) permission on the
-   * [Task][google.cloud.tasks.v2beta3.Task] resource.
+   * The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be
+   * returned.
+   * By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all
+   * information is retrieved by default because some data, such as
+   * payloads, might be desirable to return only when needed because
+   * of its large size or because of the sensitivity of data that it
+   * contains.
+   * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+   * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+   * permission on the [Task][google.cloud.tasks.v2beta3.Task] resource.
    * 
* * .google.cloud.tasks.v2beta3.Task.View response_view = 2; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java index 1e59641bbf4b..a3ca4b8b3b4a 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TargetProto.java @@ -36,6 +36,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_cloud_tasks_v2beta3_AppEngineRouting_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; @@ -47,31 +55,38 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n\'google/cloud/tasks/v2beta3/target.prot" + "o\022\032google.cloud.tasks.v2beta3\032\034google/ap" - + "i/annotations.proto\"\334\001\n\013HttpRequest\022\013\n\003u" + + "i/annotations.proto\"\360\002\n\013HttpRequest\022\013\n\003u" + "rl\030\001 \001(\t\022;\n\013http_method\030\002 \001(\0162&.google.c" + "loud.tasks.v2beta3.HttpMethod\022E\n\007headers" + "\030\003 \003(\01324.google.cloud.tasks.v2beta3.Http" - + "Request.HeadersEntry\022\014\n\004body\030\004 \001(\014\032.\n\014He" - + "adersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\002" - + "8\001\"g\n\022AppEngineHttpQueue\022Q\n\033app_engine_r" - + "outing_override\030\001 \001(\0132,.google.cloud.tas" - + "ks.v2beta3.AppEngineRouting\"\301\002\n\024AppEngin" - + "eHttpRequest\022;\n\013http_method\030\001 \001(\0162&.goog" - + "le.cloud.tasks.v2beta3.HttpMethod\022H\n\022app" - + "_engine_routing\030\002 \001(\0132,.google.cloud.tas" - + "ks.v2beta3.AppEngineRouting\022\024\n\014relative_" - + "uri\030\003 \001(\t\022N\n\007headers\030\004 \003(\0132=.google.clou" - + "d.tasks.v2beta3.AppEngineHttpRequest.Hea" - + "dersEntry\022\014\n\004body\030\005 \001(\014\032.\n\014HeadersEntry\022" - + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEn" - + "gineRouting\022\017\n\007service\030\001 \001(\t\022\017\n\007version\030" - + "\002 \001(\t\022\020\n\010instance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t*s\n" - + "\nHttpMethod\022\033\n\027HTTP_METHOD_UNSPECIFIED\020\000" - + "\022\010\n\004POST\020\001\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004\022\n" - + "\n\006DELETE\020\005\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS\020\007Bp\n\036co" - + "m.google.cloud.tasks.v2beta3B\013TargetProt" - + "oP\001Z?google.golang.org/genproto/googleap" - + "is/cloud/tasks/v2beta3;tasksb\006proto3" + + "Request.HeadersEntry\022\014\n\004body\030\004 \001(\014\022=\n\013oa" + + "uth_token\030\005 \001(\0132&.google.cloud.tasks.v2b" + + "eta3.OAuthTokenH\000\022;\n\noidc_token\030\006 \001(\0132%." + + "google.cloud.tasks.v2beta3.OidcTokenH\000\032." + + "\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001" + + "(\t:\0028\001B\026\n\024authorization_header\"g\n\022AppEng" + + "ineHttpQueue\022Q\n\033app_engine_routing_overr" + + "ide\030\001 \001(\0132,.google.cloud.tasks.v2beta3.A" + + "ppEngineRouting\"\301\002\n\024AppEngineHttpRequest" + + "\022;\n\013http_method\030\001 \001(\0162&.google.cloud.tas" + + "ks.v2beta3.HttpMethod\022H\n\022app_engine_rout" + + "ing\030\002 \001(\0132,.google.cloud.tasks.v2beta3.A" + + "ppEngineRouting\022\024\n\014relative_uri\030\003 \001(\t\022N\n" + + "\007headers\030\004 \003(\0132=.google.cloud.tasks.v2be" + + "ta3.AppEngineHttpRequest.HeadersEntry\022\014\n" + + "\004body\030\005 \001(\014\032.\n\014HeadersEntry\022\013\n\003key\030\001 \001(\t" + + "\022\r\n\005value\030\002 \001(\t:\0028\001\"T\n\020AppEngineRouting\022" + + "\017\n\007service\030\001 \001(\t\022\017\n\007version\030\002 \001(\t\022\020\n\010ins" + + "tance\030\003 \001(\t\022\014\n\004host\030\004 \001(\t\":\n\nOAuthToken\022" + + "\035\n\025service_account_email\030\001 \001(\t\022\r\n\005scope\030" + + "\002 \001(\t\"<\n\tOidcToken\022\035\n\025service_account_em" + + "ail\030\001 \001(\t\022\020\n\010audience\030\002 \001(\t*s\n\nHttpMetho" + + "d\022\033\n\027HTTP_METHOD_UNSPECIFIED\020\000\022\010\n\004POST\020\001" + + "\022\007\n\003GET\020\002\022\010\n\004HEAD\020\003\022\007\n\003PUT\020\004\022\n\n\006DELETE\020\005" + + "\022\t\n\005PATCH\020\006\022\013\n\007OPTIONS\020\007Bp\n\036com.google.c" + + "loud.tasks.v2beta3B\013TargetProtoP\001Z?googl" + + "e.golang.org/genproto/googleapis/cloud/t" + + "asks/v2beta3;tasksb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { @@ -93,7 +108,13 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor, new java.lang.String[] { - "Url", "HttpMethod", "Headers", "Body", + "Url", + "HttpMethod", + "Headers", + "Body", + "OauthToken", + "OidcToken", + "AuthorizationHeader", }); internal_static_google_cloud_tasks_v2beta3_HttpRequest_HeadersEntry_descriptor = internal_static_google_cloud_tasks_v2beta3_HttpRequest_descriptor.getNestedTypes().get(0); @@ -137,6 +158,22 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( new java.lang.String[] { "Service", "Version", "Instance", "Host", }); + internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor = + getDescriptor().getMessageTypes().get(4); + internal_static_google_cloud_tasks_v2beta3_OAuthToken_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_OAuthToken_descriptor, + new java.lang.String[] { + "ServiceAccountEmail", "Scope", + }); + internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor = + getDescriptor().getMessageTypes().get(5); + internal_static_google_cloud_tasks_v2beta3_OidcToken_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_cloud_tasks_v2beta3_OidcToken_descriptor, + new java.lang.String[] { + "ServiceAccountEmail", "Audience", + }); com.google.api.AnnotationsProto.getDescriptor(); } diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java index 489757073bba..6f0360b1a248 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/Task.java @@ -227,8 +227,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
-   * The view specifies a subset of [Task][google.cloud.tasks.v2beta3.Task]
-   * data.
+   * The view specifies a subset of [Task][google.cloud.tasks.v2beta3.Task] data.
    * When a task is returned in a response, not all
    * information is retrieved by default because some data, such as
    * payloads, might be desirable to return only when needed because
@@ -256,8 +255,7 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      * The basic view omits fields which can be large or can contain
      * sensitive data.
      * This view does not include the
-     * [body in
-     * AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body].
+     * [body in AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body].
      * Bodies are desirable to return only when needed, because they
      * can be large and because of the sensitivity of the data that you
      * choose to store in it.
@@ -271,10 +269,9 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum {
      *
      * 
      * All information is returned.
-     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Queue][google.cloud.tasks.v2beta3.Queue] resource.
+     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Queue][google.cloud.tasks.v2beta3.Queue] resource.
      * 
* * FULL = 2; @@ -300,8 +297,7 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { * The basic view omits fields which can be large or can contain * sensitive data. * This view does not include the - * [body in - * AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body]. + * [body in AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body]. * Bodies are desirable to return only when needed, because they * can be large and because of the sensitivity of the data that you * choose to store in it. @@ -315,10 +311,9 @@ public enum View implements com.google.protobuf.ProtocolMessageEnum { * *
      * All information is returned.
-     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL]
-     * requires `cloudtasks.tasks.fullView` [Google
-     * IAM](https://cloud.google.com/iam/) permission on the
-     * [Queue][google.cloud.tasks.v2beta3.Queue] resource.
+     * Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires
+     * `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/)
+     * permission on the [Queue][google.cloud.tasks.v2beta3.Queue] resource.
      * 
* * FULL = 2; @@ -442,8 +437,7 @@ public PayloadTypeCase getPayloadTypeCase() { * * *
-   * Optionally caller-specified in
-   * [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
+   * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
    * The task name.
    * The task name must have the following format:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
@@ -479,8 +473,7 @@ public java.lang.String getName() {
    *
    *
    * 
-   * Optionally caller-specified in
-   * [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
+   * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
    * The task name.
    * The task name must have the following format:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
@@ -519,9 +512,7 @@ public com.google.protobuf.ByteString getNameBytes() {
    *
    * 
    * HTTP request that is sent to the App Engine app handler.
-   * An App Engine task is a task that has
-   * [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest]
-   * set.
+   * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; @@ -534,9 +525,7 @@ public boolean hasAppEngineHttpRequest() { * *
    * HTTP request that is sent to the App Engine app handler.
-   * An App Engine task is a task that has
-   * [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest]
-   * set.
+   * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; @@ -552,9 +541,7 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getAppEngineHttpReque * *
    * HTTP request that is sent to the App Engine app handler.
-   * An App Engine task is a task that has
-   * [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest]
-   * set.
+   * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; @@ -575,9 +562,8 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getAppEngineHttpReque * HTTP request that is sent to the task's target. * Warning: This is an [alpha](https://cloud.google.com/terms/launch-stages) * feature. If you haven't already joined, you can [use this form to sign - * up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform?usp=sf_link). - * An HTTP task is a task that has - * [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set. + * up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform). + * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set. *
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; @@ -592,9 +578,8 @@ public boolean hasHttpRequest() { * HTTP request that is sent to the task's target. * Warning: This is an [alpha](https://cloud.google.com/terms/launch-stages) * feature. If you haven't already joined, you can [use this form to sign - * up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform?usp=sf_link). - * An HTTP task is a task that has - * [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set. + * up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform). + * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set. *
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; @@ -612,9 +597,8 @@ public com.google.cloud.tasks.v2beta3.HttpRequest getHttpRequest() { * HTTP request that is sent to the task's target. * Warning: This is an [alpha](https://cloud.google.com/terms/launch-stages) * feature. If you haven't already joined, you can [use this form to sign - * up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform?usp=sf_link). - * An HTTP task is a task that has - * [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set. + * up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform). + * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set. *
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; @@ -724,18 +708,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * The deadline for requests sent to the worker. If the worker does not * respond by this deadline then the request is cancelled and the attempt * is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the - * task according to the - * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. + * task according to the [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. * Note that when the request is cancelled, Cloud Tasks will stop listing for * the response, but whether the worker stops processing depends on the * worker. For example, if the worker is stuck, it may not react to cancelled * requests. * The default and maximum values depend on the type of request: - * * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is - * 10 minutes. - * The deadline must be in the interval [15 seconds, 30 minutes]. - * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], - * 0 indicates that the + * * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is 10 minutes. The deadline + * must be in the interval [15 seconds, 30 minutes]. + * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], 0 indicates that the * request has the default deadline. The default deadline depends on the * [scaling * type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling) @@ -764,18 +745,15 @@ public boolean hasDispatchDeadline() { * The deadline for requests sent to the worker. If the worker does not * respond by this deadline then the request is cancelled and the attempt * is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the - * task according to the - * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. + * task according to the [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. * Note that when the request is cancelled, Cloud Tasks will stop listing for * the response, but whether the worker stops processing depends on the * worker. For example, if the worker is stuck, it may not react to cancelled * requests. * The default and maximum values depend on the type of request: - * * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is - * 10 minutes. - * The deadline must be in the interval [15 seconds, 30 minutes]. - * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], - * 0 indicates that the + * * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is 10 minutes. The deadline + * must be in the interval [15 seconds, 30 minutes]. + * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], 0 indicates that the * request has the default deadline. The default deadline depends on the * [scaling * type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling) @@ -806,18 +784,15 @@ public com.google.protobuf.Duration getDispatchDeadline() { * The deadline for requests sent to the worker. If the worker does not * respond by this deadline then the request is cancelled and the attempt * is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the - * task according to the - * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. + * task according to the [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. * Note that when the request is cancelled, Cloud Tasks will stop listing for * the response, but whether the worker stops processing depends on the * worker. For example, if the worker is stuck, it may not react to cancelled * requests. * The default and maximum values depend on the type of request: - * * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is - * 10 minutes. - * The deadline must be in the interval [15 seconds, 30 minutes]. - * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], - * 0 indicates that the + * * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is 10 minutes. The deadline + * must be in the interval [15 seconds, 30 minutes]. + * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], 0 indicates that the * request has the default deadline. The default deadline depends on the * [scaling * type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling) @@ -879,9 +854,8 @@ public int getResponseCount() { * *
    * Output only. The status of the task's first attempt.
-   * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will
-   * be set. The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information
-   * is not retained by Cloud Tasks.
+   * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
+   * The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information is not retained by Cloud Tasks.
    * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; @@ -894,9 +868,8 @@ public boolean hasFirstAttempt() { * *
    * Output only. The status of the task's first attempt.
-   * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will
-   * be set. The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information
-   * is not retained by Cloud Tasks.
+   * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
+   * The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information is not retained by Cloud Tasks.
    * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; @@ -911,9 +884,8 @@ public com.google.cloud.tasks.v2beta3.Attempt getFirstAttempt() { * *
    * Output only. The status of the task's first attempt.
-   * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will
-   * be set. The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information
-   * is not retained by Cloud Tasks.
+   * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
+   * The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information is not retained by Cloud Tasks.
    * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; @@ -969,8 +941,8 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getLastAttemptOrBuilder() * * *
-   * Output only. The view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta3.Task] has been returned.
+   * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
+   * been returned.
    * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; @@ -982,8 +954,8 @@ public int getViewValue() { * * *
-   * Output only. The view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta3.Task] has been returned.
+   * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
+   * been returned.
    * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; @@ -1584,8 +1556,7 @@ public Builder clearPayloadType() { * * *
-     * Optionally caller-specified in
-     * [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
+     * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
      * The task name.
      * The task name must have the following format:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
@@ -1621,8 +1592,7 @@ public java.lang.String getName() {
      *
      *
      * 
-     * Optionally caller-specified in
-     * [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
+     * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
      * The task name.
      * The task name must have the following format:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
@@ -1658,8 +1628,7 @@ public com.google.protobuf.ByteString getNameBytes() {
      *
      *
      * 
-     * Optionally caller-specified in
-     * [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
+     * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
      * The task name.
      * The task name must have the following format:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
@@ -1693,8 +1662,7 @@ public Builder setName(java.lang.String value) {
      *
      *
      * 
-     * Optionally caller-specified in
-     * [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
+     * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
      * The task name.
      * The task name must have the following format:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
@@ -1725,8 +1693,7 @@ public Builder clearName() {
      *
      *
      * 
-     * Optionally caller-specified in
-     * [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
+     * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
      * The task name.
      * The task name must have the following format:
      * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
@@ -1768,9 +1735,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      *
      * 
      * HTTP request that is sent to the App Engine app handler.
-     * An App Engine task is a task that has
-     * [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest]
-     * set.
+     * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; @@ -1783,9 +1748,7 @@ public boolean hasAppEngineHttpRequest() { * *
      * HTTP request that is sent to the App Engine app handler.
-     * An App Engine task is a task that has
-     * [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest]
-     * set.
+     * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; @@ -1808,9 +1771,7 @@ public com.google.cloud.tasks.v2beta3.AppEngineHttpRequest getAppEngineHttpReque * *
      * HTTP request that is sent to the App Engine app handler.
-     * An App Engine task is a task that has
-     * [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest]
-     * set.
+     * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; @@ -1834,9 +1795,7 @@ public Builder setAppEngineHttpRequest( * *
      * HTTP request that is sent to the App Engine app handler.
-     * An App Engine task is a task that has
-     * [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest]
-     * set.
+     * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; @@ -1857,9 +1816,7 @@ public Builder setAppEngineHttpRequest( * *
      * HTTP request that is sent to the App Engine app handler.
-     * An App Engine task is a task that has
-     * [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest]
-     * set.
+     * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; @@ -1893,9 +1850,7 @@ public Builder mergeAppEngineHttpRequest( * *
      * HTTP request that is sent to the App Engine app handler.
-     * An App Engine task is a task that has
-     * [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest]
-     * set.
+     * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; @@ -1921,9 +1876,7 @@ public Builder clearAppEngineHttpRequest() { * *
      * HTTP request that is sent to the App Engine app handler.
-     * An App Engine task is a task that has
-     * [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest]
-     * set.
+     * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; @@ -1937,9 +1890,7 @@ public Builder clearAppEngineHttpRequest() { * *
      * HTTP request that is sent to the App Engine app handler.
-     * An App Engine task is a task that has
-     * [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest]
-     * set.
+     * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; @@ -1960,9 +1911,7 @@ public Builder clearAppEngineHttpRequest() { * *
      * HTTP request that is sent to the App Engine app handler.
-     * An App Engine task is a task that has
-     * [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest]
-     * set.
+     * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
      * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; @@ -2004,9 +1953,8 @@ public Builder clearAppEngineHttpRequest() { * HTTP request that is sent to the task's target. * Warning: This is an [alpha](https://cloud.google.com/terms/launch-stages) * feature. If you haven't already joined, you can [use this form to sign - * up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform?usp=sf_link). - * An HTTP task is a task that has - * [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set. + * up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform). + * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set. *
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; @@ -2021,9 +1969,8 @@ public boolean hasHttpRequest() { * HTTP request that is sent to the task's target. * Warning: This is an [alpha](https://cloud.google.com/terms/launch-stages) * feature. If you haven't already joined, you can [use this form to sign - * up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform?usp=sf_link). - * An HTTP task is a task that has - * [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set. + * up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform). + * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set. *
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; @@ -2048,9 +1995,8 @@ public com.google.cloud.tasks.v2beta3.HttpRequest getHttpRequest() { * HTTP request that is sent to the task's target. * Warning: This is an [alpha](https://cloud.google.com/terms/launch-stages) * feature. If you haven't already joined, you can [use this form to sign - * up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform?usp=sf_link). - * An HTTP task is a task that has - * [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set. + * up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform). + * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set. *
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; @@ -2075,9 +2021,8 @@ public Builder setHttpRequest(com.google.cloud.tasks.v2beta3.HttpRequest value) * HTTP request that is sent to the task's target. * Warning: This is an [alpha](https://cloud.google.com/terms/launch-stages) * feature. If you haven't already joined, you can [use this form to sign - * up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform?usp=sf_link). - * An HTTP task is a task that has - * [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set. + * up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform). + * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set. *
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; @@ -2100,9 +2045,8 @@ public Builder setHttpRequest( * HTTP request that is sent to the task's target. * Warning: This is an [alpha](https://cloud.google.com/terms/launch-stages) * feature. If you haven't already joined, you can [use this form to sign - * up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform?usp=sf_link). - * An HTTP task is a task that has - * [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set. + * up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform). + * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set. *
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; @@ -2136,9 +2080,8 @@ public Builder mergeHttpRequest(com.google.cloud.tasks.v2beta3.HttpRequest value * HTTP request that is sent to the task's target. * Warning: This is an [alpha](https://cloud.google.com/terms/launch-stages) * feature. If you haven't already joined, you can [use this form to sign - * up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform?usp=sf_link). - * An HTTP task is a task that has - * [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set. + * up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform). + * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set. *
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; @@ -2166,9 +2109,8 @@ public Builder clearHttpRequest() { * HTTP request that is sent to the task's target. * Warning: This is an [alpha](https://cloud.google.com/terms/launch-stages) * feature. If you haven't already joined, you can [use this form to sign - * up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform?usp=sf_link). - * An HTTP task is a task that has - * [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set. + * up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform). + * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set. *
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; @@ -2183,9 +2125,8 @@ public com.google.cloud.tasks.v2beta3.HttpRequest.Builder getHttpRequestBuilder( * HTTP request that is sent to the task's target. * Warning: This is an [alpha](https://cloud.google.com/terms/launch-stages) * feature. If you haven't already joined, you can [use this form to sign - * up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform?usp=sf_link). - * An HTTP task is a task that has - * [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set. + * up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform). + * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set. *
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; @@ -2207,9 +2148,8 @@ public com.google.cloud.tasks.v2beta3.HttpRequestOrBuilder getHttpRequestOrBuild * HTTP request that is sent to the task's target. * Warning: This is an [alpha](https://cloud.google.com/terms/launch-stages) * feature. If you haven't already joined, you can [use this form to sign - * up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform?usp=sf_link). - * An HTTP task is a task that has - * [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set. + * up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform). + * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set. *
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; @@ -2639,18 +2579,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * The deadline for requests sent to the worker. If the worker does not * respond by this deadline then the request is cancelled and the attempt * is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the - * task according to the - * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. + * task according to the [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. * Note that when the request is cancelled, Cloud Tasks will stop listing for * the response, but whether the worker stops processing depends on the * worker. For example, if the worker is stuck, it may not react to cancelled * requests. * The default and maximum values depend on the type of request: - * * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is - * 10 minutes. - * The deadline must be in the interval [15 seconds, 30 minutes]. - * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], - * 0 indicates that the + * * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is 10 minutes. The deadline + * must be in the interval [15 seconds, 30 minutes]. + * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], 0 indicates that the * request has the default deadline. The default deadline depends on the * [scaling * type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling) @@ -2679,18 +2616,15 @@ public boolean hasDispatchDeadline() { * The deadline for requests sent to the worker. If the worker does not * respond by this deadline then the request is cancelled and the attempt * is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the - * task according to the - * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. + * task according to the [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. * Note that when the request is cancelled, Cloud Tasks will stop listing for * the response, but whether the worker stops processing depends on the * worker. For example, if the worker is stuck, it may not react to cancelled * requests. * The default and maximum values depend on the type of request: - * * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is - * 10 minutes. - * The deadline must be in the interval [15 seconds, 30 minutes]. - * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], - * 0 indicates that the + * * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is 10 minutes. The deadline + * must be in the interval [15 seconds, 30 minutes]. + * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], 0 indicates that the * request has the default deadline. The default deadline depends on the * [scaling * type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling) @@ -2725,18 +2659,15 @@ public com.google.protobuf.Duration getDispatchDeadline() { * The deadline for requests sent to the worker. If the worker does not * respond by this deadline then the request is cancelled and the attempt * is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the - * task according to the - * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. + * task according to the [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. * Note that when the request is cancelled, Cloud Tasks will stop listing for * the response, but whether the worker stops processing depends on the * worker. For example, if the worker is stuck, it may not react to cancelled * requests. * The default and maximum values depend on the type of request: - * * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is - * 10 minutes. - * The deadline must be in the interval [15 seconds, 30 minutes]. - * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], - * 0 indicates that the + * * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is 10 minutes. The deadline + * must be in the interval [15 seconds, 30 minutes]. + * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], 0 indicates that the * request has the default deadline. The default deadline depends on the * [scaling * type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling) @@ -2775,18 +2706,15 @@ public Builder setDispatchDeadline(com.google.protobuf.Duration value) { * The deadline for requests sent to the worker. If the worker does not * respond by this deadline then the request is cancelled and the attempt * is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the - * task according to the - * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. + * task according to the [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. * Note that when the request is cancelled, Cloud Tasks will stop listing for * the response, but whether the worker stops processing depends on the * worker. For example, if the worker is stuck, it may not react to cancelled * requests. * The default and maximum values depend on the type of request: - * * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is - * 10 minutes. - * The deadline must be in the interval [15 seconds, 30 minutes]. - * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], - * 0 indicates that the + * * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is 10 minutes. The deadline + * must be in the interval [15 seconds, 30 minutes]. + * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], 0 indicates that the * request has the default deadline. The default deadline depends on the * [scaling * type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling) @@ -2822,18 +2750,15 @@ public Builder setDispatchDeadline(com.google.protobuf.Duration.Builder builderF * The deadline for requests sent to the worker. If the worker does not * respond by this deadline then the request is cancelled and the attempt * is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the - * task according to the - * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. + * task according to the [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. * Note that when the request is cancelled, Cloud Tasks will stop listing for * the response, but whether the worker stops processing depends on the * worker. For example, if the worker is stuck, it may not react to cancelled * requests. * The default and maximum values depend on the type of request: - * * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is - * 10 minutes. - * The deadline must be in the interval [15 seconds, 30 minutes]. - * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], - * 0 indicates that the + * * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is 10 minutes. The deadline + * must be in the interval [15 seconds, 30 minutes]. + * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], 0 indicates that the * request has the default deadline. The default deadline depends on the * [scaling * type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling) @@ -2876,18 +2801,15 @@ public Builder mergeDispatchDeadline(com.google.protobuf.Duration value) { * The deadline for requests sent to the worker. If the worker does not * respond by this deadline then the request is cancelled and the attempt * is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the - * task according to the - * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. + * task according to the [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. * Note that when the request is cancelled, Cloud Tasks will stop listing for * the response, but whether the worker stops processing depends on the * worker. For example, if the worker is stuck, it may not react to cancelled * requests. * The default and maximum values depend on the type of request: - * * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is - * 10 minutes. - * The deadline must be in the interval [15 seconds, 30 minutes]. - * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], - * 0 indicates that the + * * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is 10 minutes. The deadline + * must be in the interval [15 seconds, 30 minutes]. + * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], 0 indicates that the * request has the default deadline. The default deadline depends on the * [scaling * type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling) @@ -2924,18 +2846,15 @@ public Builder clearDispatchDeadline() { * The deadline for requests sent to the worker. If the worker does not * respond by this deadline then the request is cancelled and the attempt * is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the - * task according to the - * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. + * task according to the [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. * Note that when the request is cancelled, Cloud Tasks will stop listing for * the response, but whether the worker stops processing depends on the * worker. For example, if the worker is stuck, it may not react to cancelled * requests. * The default and maximum values depend on the type of request: - * * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is - * 10 minutes. - * The deadline must be in the interval [15 seconds, 30 minutes]. - * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], - * 0 indicates that the + * * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is 10 minutes. The deadline + * must be in the interval [15 seconds, 30 minutes]. + * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], 0 indicates that the * request has the default deadline. The default deadline depends on the * [scaling * type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling) @@ -2966,18 +2885,15 @@ public com.google.protobuf.Duration.Builder getDispatchDeadlineBuilder() { * The deadline for requests sent to the worker. If the worker does not * respond by this deadline then the request is cancelled and the attempt * is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the - * task according to the - * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. + * task according to the [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. * Note that when the request is cancelled, Cloud Tasks will stop listing for * the response, but whether the worker stops processing depends on the * worker. For example, if the worker is stuck, it may not react to cancelled * requests. * The default and maximum values depend on the type of request: - * * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is - * 10 minutes. - * The deadline must be in the interval [15 seconds, 30 minutes]. - * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], - * 0 indicates that the + * * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is 10 minutes. The deadline + * must be in the interval [15 seconds, 30 minutes]. + * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], 0 indicates that the * request has the default deadline. The default deadline depends on the * [scaling * type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling) @@ -3012,18 +2928,15 @@ public com.google.protobuf.DurationOrBuilder getDispatchDeadlineOrBuilder() { * The deadline for requests sent to the worker. If the worker does not * respond by this deadline then the request is cancelled and the attempt * is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the - * task according to the - * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. + * task according to the [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. * Note that when the request is cancelled, Cloud Tasks will stop listing for * the response, but whether the worker stops processing depends on the * worker. For example, if the worker is stuck, it may not react to cancelled * requests. * The default and maximum values depend on the type of request: - * * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is - * 10 minutes. - * The deadline must be in the interval [15 seconds, 30 minutes]. - * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], - * 0 indicates that the + * * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is 10 minutes. The deadline + * must be in the interval [15 seconds, 30 minutes]. + * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], 0 indicates that the * request has the default deadline. The default deadline depends on the * [scaling * type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling) @@ -3164,9 +3077,8 @@ public Builder clearResponseCount() { * *
      * Output only. The status of the task's first attempt.
-     * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will
-     * be set. The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information
-     * is not retained by Cloud Tasks.
+     * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
+     * The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information is not retained by Cloud Tasks.
      * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; @@ -3179,9 +3091,8 @@ public boolean hasFirstAttempt() { * *
      * Output only. The status of the task's first attempt.
-     * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will
-     * be set. The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information
-     * is not retained by Cloud Tasks.
+     * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
+     * The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information is not retained by Cloud Tasks.
      * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; @@ -3200,9 +3111,8 @@ public com.google.cloud.tasks.v2beta3.Attempt getFirstAttempt() { * *
      * Output only. The status of the task's first attempt.
-     * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will
-     * be set. The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information
-     * is not retained by Cloud Tasks.
+     * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
+     * The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information is not retained by Cloud Tasks.
      * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; @@ -3225,9 +3135,8 @@ public Builder setFirstAttempt(com.google.cloud.tasks.v2beta3.Attempt value) { * *
      * Output only. The status of the task's first attempt.
-     * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will
-     * be set. The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information
-     * is not retained by Cloud Tasks.
+     * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
+     * The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information is not retained by Cloud Tasks.
      * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; @@ -3247,9 +3156,8 @@ public Builder setFirstAttempt(com.google.cloud.tasks.v2beta3.Attempt.Builder bu * *
      * Output only. The status of the task's first attempt.
-     * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will
-     * be set. The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information
-     * is not retained by Cloud Tasks.
+     * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
+     * The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information is not retained by Cloud Tasks.
      * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; @@ -3276,9 +3184,8 @@ public Builder mergeFirstAttempt(com.google.cloud.tasks.v2beta3.Attempt value) { * *
      * Output only. The status of the task's first attempt.
-     * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will
-     * be set. The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information
-     * is not retained by Cloud Tasks.
+     * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
+     * The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information is not retained by Cloud Tasks.
      * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; @@ -3299,9 +3206,8 @@ public Builder clearFirstAttempt() { * *
      * Output only. The status of the task's first attempt.
-     * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will
-     * be set. The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information
-     * is not retained by Cloud Tasks.
+     * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
+     * The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information is not retained by Cloud Tasks.
      * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; @@ -3316,9 +3222,8 @@ public com.google.cloud.tasks.v2beta3.Attempt.Builder getFirstAttemptBuilder() { * *
      * Output only. The status of the task's first attempt.
-     * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will
-     * be set. The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information
-     * is not retained by Cloud Tasks.
+     * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
+     * The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information is not retained by Cloud Tasks.
      * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; @@ -3337,9 +3242,8 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getFirstAttemptOrBuilder( * *
      * Output only. The status of the task's first attempt.
-     * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will
-     * be set. The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information
-     * is not retained by Cloud Tasks.
+     * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
+     * The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information is not retained by Cloud Tasks.
      * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; @@ -3547,8 +3451,8 @@ public com.google.cloud.tasks.v2beta3.AttemptOrBuilder getLastAttemptOrBuilder() * * *
-     * Output only. The view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta3.Task] has been returned.
+     * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
+     * been returned.
      * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; @@ -3560,8 +3464,8 @@ public int getViewValue() { * * *
-     * Output only. The view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta3.Task] has been returned.
+     * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
+     * been returned.
      * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; @@ -3575,8 +3479,8 @@ public Builder setViewValue(int value) { * * *
-     * Output only. The view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta3.Task] has been returned.
+     * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
+     * been returned.
      * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; @@ -3591,8 +3495,8 @@ public com.google.cloud.tasks.v2beta3.Task.View getView() { * * *
-     * Output only. The view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta3.Task] has been returned.
+     * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
+     * been returned.
      * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; @@ -3610,8 +3514,8 @@ public Builder setView(com.google.cloud.tasks.v2beta3.Task.View value) { * * *
-     * Output only. The view specifies which subset of the
-     * [Task][google.cloud.tasks.v2beta3.Task] has been returned.
+     * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
+     * been returned.
      * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java index 65377b5feb8c..a5f0edd83b24 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskOrBuilder.java @@ -12,8 +12,7 @@ public interface TaskOrBuilder * * *
-   * Optionally caller-specified in
-   * [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
+   * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
    * The task name.
    * The task name must have the following format:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
@@ -39,8 +38,7 @@ public interface TaskOrBuilder
    *
    *
    * 
-   * Optionally caller-specified in
-   * [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
+   * Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
    * The task name.
    * The task name must have the following format:
    * `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
@@ -68,9 +66,7 @@ public interface TaskOrBuilder
    *
    * 
    * HTTP request that is sent to the App Engine app handler.
-   * An App Engine task is a task that has
-   * [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest]
-   * set.
+   * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; @@ -81,9 +77,7 @@ public interface TaskOrBuilder * *
    * HTTP request that is sent to the App Engine app handler.
-   * An App Engine task is a task that has
-   * [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest]
-   * set.
+   * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; @@ -94,9 +88,7 @@ public interface TaskOrBuilder * *
    * HTTP request that is sent to the App Engine app handler.
-   * An App Engine task is a task that has
-   * [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest]
-   * set.
+   * An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set.
    * 
* * .google.cloud.tasks.v2beta3.AppEngineHttpRequest app_engine_http_request = 3; @@ -110,9 +102,8 @@ public interface TaskOrBuilder * HTTP request that is sent to the task's target. * Warning: This is an [alpha](https://cloud.google.com/terms/launch-stages) * feature. If you haven't already joined, you can [use this form to sign - * up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform?usp=sf_link). - * An HTTP task is a task that has - * [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set. + * up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform). + * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set. *
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; @@ -125,9 +116,8 @@ public interface TaskOrBuilder * HTTP request that is sent to the task's target. * Warning: This is an [alpha](https://cloud.google.com/terms/launch-stages) * feature. If you haven't already joined, you can [use this form to sign - * up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform?usp=sf_link). - * An HTTP task is a task that has - * [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set. + * up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform). + * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set. *
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; @@ -140,9 +130,8 @@ public interface TaskOrBuilder * HTTP request that is sent to the task's target. * Warning: This is an [alpha](https://cloud.google.com/terms/launch-stages) * feature. If you haven't already joined, you can [use this form to sign - * up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform?usp=sf_link). - * An HTTP task is a task that has - * [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set. + * up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform). + * An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set. *
* * .google.cloud.tasks.v2beta3.HttpRequest http_request = 11; @@ -227,18 +216,15 @@ public interface TaskOrBuilder * The deadline for requests sent to the worker. If the worker does not * respond by this deadline then the request is cancelled and the attempt * is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the - * task according to the - * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. + * task according to the [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. * Note that when the request is cancelled, Cloud Tasks will stop listing for * the response, but whether the worker stops processing depends on the * worker. For example, if the worker is stuck, it may not react to cancelled * requests. * The default and maximum values depend on the type of request: - * * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is - * 10 minutes. - * The deadline must be in the interval [15 seconds, 30 minutes]. - * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], - * 0 indicates that the + * * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is 10 minutes. The deadline + * must be in the interval [15 seconds, 30 minutes]. + * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], 0 indicates that the * request has the default deadline. The default deadline depends on the * [scaling * type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling) @@ -265,18 +251,15 @@ public interface TaskOrBuilder * The deadline for requests sent to the worker. If the worker does not * respond by this deadline then the request is cancelled and the attempt * is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the - * task according to the - * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. + * task according to the [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. * Note that when the request is cancelled, Cloud Tasks will stop listing for * the response, but whether the worker stops processing depends on the * worker. For example, if the worker is stuck, it may not react to cancelled * requests. * The default and maximum values depend on the type of request: - * * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is - * 10 minutes. - * The deadline must be in the interval [15 seconds, 30 minutes]. - * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], - * 0 indicates that the + * * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is 10 minutes. The deadline + * must be in the interval [15 seconds, 30 minutes]. + * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], 0 indicates that the * request has the default deadline. The default deadline depends on the * [scaling * type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling) @@ -303,18 +286,15 @@ public interface TaskOrBuilder * The deadline for requests sent to the worker. If the worker does not * respond by this deadline then the request is cancelled and the attempt * is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the - * task according to the - * [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. + * task according to the [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. * Note that when the request is cancelled, Cloud Tasks will stop listing for * the response, but whether the worker stops processing depends on the * worker. For example, if the worker is stuck, it may not react to cancelled * requests. * The default and maximum values depend on the type of request: - * * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is - * 10 minutes. - * The deadline must be in the interval [15 seconds, 30 minutes]. - * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], - * 0 indicates that the + * * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is 10 minutes. The deadline + * must be in the interval [15 seconds, 30 minutes]. + * * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], 0 indicates that the * request has the default deadline. The default deadline depends on the * [scaling * type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling) @@ -364,9 +344,8 @@ public interface TaskOrBuilder * *
    * Output only. The status of the task's first attempt.
-   * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will
-   * be set. The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information
-   * is not retained by Cloud Tasks.
+   * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
+   * The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information is not retained by Cloud Tasks.
    * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; @@ -377,9 +356,8 @@ public interface TaskOrBuilder * *
    * Output only. The status of the task's first attempt.
-   * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will
-   * be set. The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information
-   * is not retained by Cloud Tasks.
+   * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
+   * The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information is not retained by Cloud Tasks.
    * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; @@ -390,9 +368,8 @@ public interface TaskOrBuilder * *
    * Output only. The status of the task's first attempt.
-   * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will
-   * be set. The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information
-   * is not retained by Cloud Tasks.
+   * Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set.
+   * The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information is not retained by Cloud Tasks.
    * 
* * .google.cloud.tasks.v2beta3.Attempt first_attempt = 8; @@ -434,8 +411,8 @@ public interface TaskOrBuilder * * *
-   * Output only. The view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta3.Task] has been returned.
+   * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
+   * been returned.
    * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; @@ -445,8 +422,8 @@ public interface TaskOrBuilder * * *
-   * Output only. The view specifies which subset of the
-   * [Task][google.cloud.tasks.v2beta3.Task] has been returned.
+   * Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has
+   * been returned.
    * 
* * .google.cloud.tasks.v2beta3.Task.View view = 10; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java index 0ad72df7f7c9..a4afab01796e 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/TaskProto.java @@ -31,34 +31,34 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { java.lang.String[] descriptorData = { "\n%google/cloud/tasks/v2beta3/task.proto\022" + "\032google.cloud.tasks.v2beta3\032\034google/api/" - + "annotations.proto\032\'google/cloud/tasks/v2" - + "beta3/target.proto\032\036google/protobuf/dura" - + "tion.proto\032\037google/protobuf/timestamp.pr" - + "oto\032\027google/rpc/status.proto\"\343\004\n\004Task\022\014\n" - + "\004name\030\001 \001(\t\022S\n\027app_engine_http_request\030\003" - + " \001(\01320.google.cloud.tasks.v2beta3.AppEng" - + "ineHttpRequestH\000\022?\n\014http_request\030\013 \001(\0132\'" - + ".google.cloud.tasks.v2beta3.HttpRequestH" - + "\000\0221\n\rschedule_time\030\004 \001(\0132\032.google.protob" - + "uf.Timestamp\022/\n\013create_time\030\005 \001(\0132\032.goog" - + "le.protobuf.Timestamp\0224\n\021dispatch_deadli" - + "ne\030\014 \001(\0132\031.google.protobuf.Duration\022\026\n\016d" - + "ispatch_count\030\006 \001(\005\022\026\n\016response_count\030\007 " - + "\001(\005\022:\n\rfirst_attempt\030\010 \001(\0132#.google.clou" - + "d.tasks.v2beta3.Attempt\0229\n\014last_attempt\030" - + "\t \001(\0132#.google.cloud.tasks.v2beta3.Attem" - + "pt\0223\n\004view\030\n \001(\0162%.google.cloud.tasks.v2" - + "beta3.Task.View\"1\n\004View\022\024\n\020VIEW_UNSPECIF" - + "IED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\002B\016\n\014payload_ty" - + "pe\"\317\001\n\007Attempt\0221\n\rschedule_time\030\001 \001(\0132\032." - + "google.protobuf.Timestamp\0221\n\rdispatch_ti" - + "me\030\002 \001(\0132\032.google.protobuf.Timestamp\0221\n\r" - + "response_time\030\003 \001(\0132\032.google.protobuf.Ti" - + "mestamp\022+\n\017response_status\030\004 \001(\0132\022.googl" - + "e.rpc.StatusBn\n\036com.google.cloud.tasks.v" - + "2beta3B\tTaskProtoP\001Z?google.golang.org/g" - + "enproto/googleapis/cloud/tasks/v2beta3;t" - + "asksb\006proto3" + + "annotations.proto\032\031google/api/resource.p" + + "roto\032\'google/cloud/tasks/v2beta3/target." + + "proto\032\036google/protobuf/duration.proto\032\037g" + + "oogle/protobuf/timestamp.proto\032\027google/r" + + "pc/status.proto\"\343\004\n\004Task\022\014\n\004name\030\001 \001(\t\022S" + + "\n\027app_engine_http_request\030\003 \001(\01320.google" + + ".cloud.tasks.v2beta3.AppEngineHttpReques" + + "tH\000\022?\n\014http_request\030\013 \001(\0132\'.google.cloud" + + ".tasks.v2beta3.HttpRequestH\000\0221\n\rschedule" + + "_time\030\004 \001(\0132\032.google.protobuf.Timestamp\022" + + "/\n\013create_time\030\005 \001(\0132\032.google.protobuf.T" + + "imestamp\0224\n\021dispatch_deadline\030\014 \001(\0132\031.go" + + "ogle.protobuf.Duration\022\026\n\016dispatch_count" + + "\030\006 \001(\005\022\026\n\016response_count\030\007 \001(\005\022:\n\rfirst_" + + "attempt\030\010 \001(\0132#.google.cloud.tasks.v2bet" + + "a3.Attempt\0229\n\014last_attempt\030\t \001(\0132#.googl" + + "e.cloud.tasks.v2beta3.Attempt\0223\n\004view\030\n " + + "\001(\0162%.google.cloud.tasks.v2beta3.Task.Vi" + + "ew\"1\n\004View\022\024\n\020VIEW_UNSPECIFIED\020\000\022\t\n\005BASI" + + "C\020\001\022\010\n\004FULL\020\002B\016\n\014payload_type\"\317\001\n\007Attemp" + + "t\0221\n\rschedule_time\030\001 \001(\0132\032.google.protob" + + "uf.Timestamp\0221\n\rdispatch_time\030\002 \001(\0132\032.go" + + "ogle.protobuf.Timestamp\0221\n\rresponse_time" + + "\030\003 \001(\0132\032.google.protobuf.Timestamp\022+\n\017re" + + "sponse_status\030\004 \001(\0132\022.google.rpc.StatusB" + + "n\n\036com.google.cloud.tasks.v2beta3B\tTaskP" + + "rotoP\001Z?google.golang.org/genproto/googl" + + "eapis/cloud/tasks/v2beta3;tasksb\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { @@ -72,6 +72,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { com.google.api.AnnotationsProto.getDescriptor(), + com.google.api.ResourceProto.getDescriptor(), com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(), com.google.protobuf.DurationProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), @@ -106,6 +107,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "ScheduleTime", "DispatchTime", "ResponseTime", "ResponseStatus", }); com.google.api.AnnotationsProto.getDescriptor(); + com.google.api.ResourceProto.getDescriptor(); com.google.cloud.tasks.v2beta3.TargetProto.getDescriptor(); com.google.protobuf.DurationProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java index 6af772dd8545..9eca90f57aaa 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequest.java @@ -7,8 +7,7 @@ * * *
- * Request message for
- * [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue].
+ * Request message for [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue].
  * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.UpdateQueueRequest} @@ -122,12 +121,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
    * Required.
    * The queue to create or update.
-   * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be
-   * specified.
+   * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
    * Output only fields cannot be modified using UpdateQueue.
    * Any value specified for an output only field will be ignored.
-   * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be
-   * changed.
+   * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* * .google.cloud.tasks.v2beta3.Queue queue = 1; @@ -141,12 +138,10 @@ public boolean hasQueue() { *
    * Required.
    * The queue to create or update.
-   * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be
-   * specified.
+   * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
    * Output only fields cannot be modified using UpdateQueue.
    * Any value specified for an output only field will be ignored.
-   * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be
-   * changed.
+   * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* * .google.cloud.tasks.v2beta3.Queue queue = 1; @@ -160,12 +155,10 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() { *
    * Required.
    * The queue to create or update.
-   * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be
-   * specified.
+   * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
    * Output only fields cannot be modified using UpdateQueue.
    * Any value specified for an output only field will be ignored.
-   * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be
-   * changed.
+   * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* * .google.cloud.tasks.v2beta3.Queue queue = 1; @@ -398,8 +391,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request message for
-   * [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue].
+   * Request message for [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue].
    * 
* * Protobuf type {@code google.cloud.tasks.v2beta3.UpdateQueueRequest} @@ -587,12 +579,10 @@ public Builder mergeFrom( *
      * Required.
      * The queue to create or update.
-     * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be
-     * specified.
+     * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
      * Output only fields cannot be modified using UpdateQueue.
      * Any value specified for an output only field will be ignored.
-     * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be
-     * changed.
+     * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* * .google.cloud.tasks.v2beta3.Queue queue = 1; @@ -606,12 +596,10 @@ public boolean hasQueue() { *
      * Required.
      * The queue to create or update.
-     * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be
-     * specified.
+     * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
      * Output only fields cannot be modified using UpdateQueue.
      * Any value specified for an output only field will be ignored.
-     * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be
-     * changed.
+     * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* * .google.cloud.tasks.v2beta3.Queue queue = 1; @@ -629,12 +617,10 @@ public com.google.cloud.tasks.v2beta3.Queue getQueue() { *
      * Required.
      * The queue to create or update.
-     * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be
-     * specified.
+     * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
      * Output only fields cannot be modified using UpdateQueue.
      * Any value specified for an output only field will be ignored.
-     * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be
-     * changed.
+     * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* * .google.cloud.tasks.v2beta3.Queue queue = 1; @@ -658,12 +644,10 @@ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue value) { *
      * Required.
      * The queue to create or update.
-     * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be
-     * specified.
+     * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
      * Output only fields cannot be modified using UpdateQueue.
      * Any value specified for an output only field will be ignored.
-     * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be
-     * changed.
+     * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* * .google.cloud.tasks.v2beta3.Queue queue = 1; @@ -684,12 +668,10 @@ public Builder setQueue(com.google.cloud.tasks.v2beta3.Queue.Builder builderForV *
      * Required.
      * The queue to create or update.
-     * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be
-     * specified.
+     * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
      * Output only fields cannot be modified using UpdateQueue.
      * Any value specified for an output only field will be ignored.
-     * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be
-     * changed.
+     * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* * .google.cloud.tasks.v2beta3.Queue queue = 1; @@ -717,12 +699,10 @@ public Builder mergeQueue(com.google.cloud.tasks.v2beta3.Queue value) { *
      * Required.
      * The queue to create or update.
-     * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be
-     * specified.
+     * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
      * Output only fields cannot be modified using UpdateQueue.
      * Any value specified for an output only field will be ignored.
-     * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be
-     * changed.
+     * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* * .google.cloud.tasks.v2beta3.Queue queue = 1; @@ -744,12 +724,10 @@ public Builder clearQueue() { *
      * Required.
      * The queue to create or update.
-     * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be
-     * specified.
+     * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
      * Output only fields cannot be modified using UpdateQueue.
      * Any value specified for an output only field will be ignored.
-     * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be
-     * changed.
+     * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* * .google.cloud.tasks.v2beta3.Queue queue = 1; @@ -765,12 +743,10 @@ public com.google.cloud.tasks.v2beta3.Queue.Builder getQueueBuilder() { *
      * Required.
      * The queue to create or update.
-     * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be
-     * specified.
+     * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
      * Output only fields cannot be modified using UpdateQueue.
      * Any value specified for an output only field will be ignored.
-     * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be
-     * changed.
+     * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* * .google.cloud.tasks.v2beta3.Queue queue = 1; @@ -788,12 +764,10 @@ public com.google.cloud.tasks.v2beta3.QueueOrBuilder getQueueOrBuilder() { *
      * Required.
      * The queue to create or update.
-     * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be
-     * specified.
+     * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
      * Output only fields cannot be modified using UpdateQueue.
      * Any value specified for an output only field will be ignored.
-     * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be
-     * changed.
+     * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
      * 
* * .google.cloud.tasks.v2beta3.Queue queue = 1; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java index 27f0b3c9506a..f48cd23c29cf 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/java/com/google/cloud/tasks/v2beta3/UpdateQueueRequestOrBuilder.java @@ -14,12 +14,10 @@ public interface UpdateQueueRequestOrBuilder *
    * Required.
    * The queue to create or update.
-   * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be
-   * specified.
+   * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
    * Output only fields cannot be modified using UpdateQueue.
    * Any value specified for an output only field will be ignored.
-   * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be
-   * changed.
+   * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* * .google.cloud.tasks.v2beta3.Queue queue = 1; @@ -31,12 +29,10 @@ public interface UpdateQueueRequestOrBuilder *
    * Required.
    * The queue to create or update.
-   * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be
-   * specified.
+   * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
    * Output only fields cannot be modified using UpdateQueue.
    * Any value specified for an output only field will be ignored.
-   * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be
-   * changed.
+   * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* * .google.cloud.tasks.v2beta3.Queue queue = 1; @@ -48,12 +44,10 @@ public interface UpdateQueueRequestOrBuilder *
    * Required.
    * The queue to create or update.
-   * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be
-   * specified.
+   * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified.
    * Output only fields cannot be modified using UpdateQueue.
    * Any value specified for an output only field will be ignored.
-   * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be
-   * changed.
+   * The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed.
    * 
* * .google.cloud.tasks.v2beta3.Queue queue = 1; diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto index fdf2d65a5d3a..8868a0b339bf 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/cloudtasks.proto @@ -18,12 +18,13 @@ syntax = "proto3"; package google.cloud.tasks.v2beta3; import "google/api/annotations.proto"; -import "google/cloud/tasks/v2beta3/queue.proto"; +import "google/api/resource.proto"; +import "google/protobuf/empty.proto"; +import "google/protobuf/field_mask.proto"; import "google/cloud/tasks/v2beta3/task.proto"; +import "google/cloud/tasks/v2beta3/queue.proto"; import "google/iam/v1/iam_policy.proto"; import "google/iam/v1/policy.proto"; -import "google/protobuf/empty.proto"; -import "google/protobuf/field_mask.proto"; import "google/rpc/code.proto"; option go_package = "google.golang.org/genproto/googleapis/cloud/tasks/v2beta3;tasks"; @@ -54,15 +55,14 @@ service CloudTasks { // Creates a queue. // // Queues created with this method allow tasks to live for a maximum of 31 - // days. After a task is 31 days old, the task will be deleted regardless of - // whether it was dispatched or not. + // days. After a task is 31 days old, the task will be deleted regardless of whether + // it was dispatched or not. // // WARNING: Using this method may have unintended side effects if you are // using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. // Read - // [Overview of Queue Management and - // queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using - // this method. + // [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) + // before using this method. rpc CreateQueue(CreateQueueRequest) returns (Queue) { option (google.api.http) = { post: "/v2beta3/{parent=projects/*/locations/*}/queues" @@ -76,15 +76,14 @@ service CloudTasks { // the queue if it does exist. // // Queues created with this method allow tasks to live for a maximum of 31 - // days. After a task is 31 days old, the task will be deleted regardless of - // whether it was dispatched or not. + // days. After a task is 31 days old, the task will be deleted regardless of whether + // it was dispatched or not. // // WARNING: Using this method may have unintended side effects if you are // using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. // Read - // [Overview of Queue Management and - // queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using - // this method. + // [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) + // before using this method. rpc UpdateQueue(UpdateQueueRequest) returns (Queue) { option (google.api.http) = { patch: "/v2beta3/{queue.name=projects/*/locations/*/queues/*}" @@ -102,9 +101,8 @@ service CloudTasks { // WARNING: Using this method may have unintended side effects if you are // using an App Engine `queue.yaml` or `queue.xml` file to manage your queues. // Read - // [Overview of Queue Management and - // queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using - // this method. + // [Overview of Queue Management and queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) + // before using this method. rpc DeleteQueue(DeleteQueueRequest) returns (google.protobuf.Empty) { option (google.api.http) = { delete: "/v2beta3/{name=projects/*/locations/*/queues/*}" @@ -128,10 +126,9 @@ service CloudTasks { // // If a queue is paused then the system will stop dispatching tasks // until the queue is resumed via - // [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue]. Tasks can - // still be added when the queue is paused. A queue is paused if its - // [state][google.cloud.tasks.v2beta3.Queue.state] is - // [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED]. + // [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue]. Tasks can still be added + // when the queue is paused. A queue is paused if its + // [state][google.cloud.tasks.v2beta3.Queue.state] is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED]. rpc PauseQueue(PauseQueueRequest) returns (Queue) { option (google.api.http) = { post: "/v2beta3/{name=projects/*/locations/*/queues/*}:pause" @@ -143,17 +140,14 @@ service CloudTasks { // // This method resumes a queue after it has been // [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED] or - // [DISABLED][google.cloud.tasks.v2beta3.Queue.State.DISABLED]. The state of a - // queue is stored in the queue's - // [state][google.cloud.tasks.v2beta3.Queue.state]; after calling this method - // it will be set to - // [RUNNING][google.cloud.tasks.v2beta3.Queue.State.RUNNING]. + // [DISABLED][google.cloud.tasks.v2beta3.Queue.State.DISABLED]. The state of a queue is stored + // in the queue's [state][google.cloud.tasks.v2beta3.Queue.state]; after calling this method it + // will be set to [RUNNING][google.cloud.tasks.v2beta3.Queue.State.RUNNING]. // // WARNING: Resuming many high-QPS queues at the same time can // lead to target overloading. If you are resuming high-QPS // queues, follow the 500/50/5 pattern described in - // [Managing Cloud Tasks Scaling - // Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling). + // [Managing Cloud Tasks Scaling Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling). rpc ResumeQueue(ResumeQueueRequest) returns (Queue) { option (google.api.http) = { post: "/v2beta3/{name=projects/*/locations/*/queues/*}:resume" @@ -161,25 +155,24 @@ service CloudTasks { }; } - // Gets the access control policy for a - // [Queue][google.cloud.tasks.v2beta3.Queue]. Returns an empty policy if the - // resource exists and does not have a policy set. + // Gets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. + // Returns an empty policy if the resource exists and does not have a policy + // set. // // Authorization requires the following // [Google IAM](https://cloud.google.com/iam) permission on the specified // resource parent: // // * `cloudtasks.queues.getIamPolicy` - rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) - returns (google.iam.v1.Policy) { + rpc GetIamPolicy(google.iam.v1.GetIamPolicyRequest) returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v2beta3/{resource=projects/*/locations/*/queues/*}:getIamPolicy" body: "*" }; } - // Sets the access control policy for a - // [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing policy. + // Sets the access control policy for a [Queue][google.cloud.tasks.v2beta3.Queue]. Replaces any existing + // policy. // // Note: The Cloud Console does not check queue-level IAM permissions yet. // Project-level permissions are required to use the Cloud Console. @@ -189,24 +182,21 @@ service CloudTasks { // resource parent: // // * `cloudtasks.queues.setIamPolicy` - rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) - returns (google.iam.v1.Policy) { + rpc SetIamPolicy(google.iam.v1.SetIamPolicyRequest) returns (google.iam.v1.Policy) { option (google.api.http) = { post: "/v2beta3/{resource=projects/*/locations/*/queues/*}:setIamPolicy" body: "*" }; } - // Returns permissions that a caller has on a - // [Queue][google.cloud.tasks.v2beta3.Queue]. If the resource does not exist, - // this will return an empty set of permissions, not a - // [NOT_FOUND][google.rpc.Code.NOT_FOUND] error. + // Returns permissions that a caller has on a [Queue][google.cloud.tasks.v2beta3.Queue]. + // If the resource does not exist, this will return an empty set of + // permissions, not a [NOT_FOUND][google.rpc.Code.NOT_FOUND] error. // // Note: This operation is designed to be used for building permission-aware // UIs and command-line tools, not for authorization checking. This operation // may "fail open" without warning. - rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) - returns (google.iam.v1.TestIamPermissionsResponse) { + rpc TestIamPermissions(google.iam.v1.TestIamPermissionsRequest) returns (google.iam.v1.TestIamPermissionsResponse) { option (google.api.http) = { post: "/v2beta3/{resource=projects/*/locations/*/queues/*}:testIamPermissions" body: "*" @@ -215,10 +205,10 @@ service CloudTasks { // Lists the tasks in a queue. // - // By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC] - // view is retrieved due to performance considerations; - // [response_view][google.cloud.tasks.v2beta3.ListTasksRequest.response_view] - // controls the subset of information which is returned. + // By default, only the [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC] view is retrieved + // due to performance considerations; + // [response_view][google.cloud.tasks.v2beta3.ListTasksRequest.response_view] controls the + // subset of information which is returned. // // The tasks may be returned in any order. The ordering may change at any // time. @@ -239,8 +229,7 @@ service CloudTasks { // // Tasks cannot be updated after creation; there is no UpdateTask command. // - // * For [App Engine queues][google.cloud.tasks.v2beta3.AppEngineHttpQueue], - // the maximum task size is + // * For [App Engine queues][google.cloud.tasks.v2beta3.AppEngineHttpQueue], the maximum task size is // 100KB. rpc CreateTask(CreateTaskRequest) returns (Task) { option (google.api.http) = { @@ -263,14 +252,13 @@ service CloudTasks { // Forces a task to run now. // // When this method is called, Cloud Tasks will dispatch the task, even if - // the task is already running, the queue has reached its - // [RateLimits][google.cloud.tasks.v2beta3.RateLimits] or is - // [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED]. + // the task is already running, the queue has reached its [RateLimits][google.cloud.tasks.v2beta3.RateLimits] or + // is [PAUSED][google.cloud.tasks.v2beta3.Queue.State.PAUSED]. // // This command is meant to be used for manual debugging. For - // example, [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] can be - // used to retry a failed task after a fix has been made or to manually force - // a task to be dispatched now. + // example, [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] can be used to retry a failed + // task after a fix has been made or to manually force a task to be + // dispatched now. // // The dispatched task is returned. That is, the task that is returned // contains the [status][Task.status] after the task is dispatched but @@ -278,11 +266,9 @@ service CloudTasks { // // If Cloud Tasks receives a successful response from the task's // target, then the task will be deleted; otherwise the task's - // [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] will be - // reset to the time that - // [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] was called plus - // the retry delay specified in the queue's - // [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. + // [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] will be reset to the time that + // [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] was called plus the retry delay specified + // in the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. // // [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask] returns // [NOT_FOUND][google.rpc.Code.NOT_FOUND] when it is called on a @@ -295,8 +281,7 @@ service CloudTasks { } } -// Request message for -// [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues]. +// Request message for [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues]. message ListQueuesRequest { // Required. // @@ -304,11 +289,11 @@ message ListQueuesRequest { // For example: `projects/PROJECT_ID/locations/LOCATION_ID` string parent = 1; - // `filter` can be used to specify a subset of queues. Any - // [Queue][google.cloud.tasks.v2beta3.Queue] field can be used as a filter and - // several operators as supported. For example: `<=, <, >=, >, !=, =, :`. The - // filter syntax is the same as described in [Stackdriver's Advanced Logs - // Filters](https://cloud.google.com/logging/docs/view/advanced_filters). + // `filter` can be used to specify a subset of queues. Any [Queue][google.cloud.tasks.v2beta3.Queue] + // field can be used as a filter and several operators as supported. + // For example: `<=, <, >=, >, !=, =, :`. The filter syntax is the same as + // described in + // [Stackdriver's Advanced Logs Filters](https://cloud.google.com/logging/docs/view/advanced_filters). // // Sample filter "state: PAUSED". // @@ -321,25 +306,22 @@ message ListQueuesRequest { // The maximum page size is 9800. If unspecified, the page size will // be the maximum. Fewer queues than requested might be returned, // even if more queues exist; use the - // [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] - // in the response to determine if more queues exist. + // [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] in the + // response to determine if more queues exist. int32 page_size = 3; // A token identifying the page of results to return. // // To request the first page results, page_token must be empty. To // request the next page of results, page_token must be the value of - // [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] - // returned from the previous call to - // [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] method. It - // is an error to switch the value of the - // [filter][google.cloud.tasks.v2beta3.ListQueuesRequest.filter] while - // iterating through pages. + // [next_page_token][google.cloud.tasks.v2beta3.ListQueuesResponse.next_page_token] returned + // from the previous call to [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] + // method. It is an error to switch the value of the + // [filter][google.cloud.tasks.v2beta3.ListQueuesRequest.filter] while iterating through pages. string page_token = 4; } -// Response message for -// [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues]. +// Response message for [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues]. message ListQueuesResponse { // The list of queues. repeated Queue queues = 1; @@ -347,8 +329,7 @@ message ListQueuesResponse { // A token to retrieve next page of results. // // To return the next page of results, call - // [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] with this - // value as the + // [ListQueues][google.cloud.tasks.v2beta3.CloudTasks.ListQueues] with this value as the // [page_token][google.cloud.tasks.v2beta3.ListQueuesRequest.page_token]. // // If the next_page_token is empty, there are no more results. @@ -357,8 +338,7 @@ message ListQueuesResponse { string next_page_token = 2; } -// Request message for -// [GetQueue][google.cloud.tasks.v2beta3.CloudTasks.GetQueue]. +// Request message for [GetQueue][google.cloud.tasks.v2beta3.CloudTasks.GetQueue]. message GetQueueRequest { // Required. // @@ -367,8 +347,7 @@ message GetQueueRequest { string name = 1; } -// Request message for -// [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue]. +// Request message for [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue]. message CreateQueueRequest { // Required. // @@ -384,25 +363,21 @@ message CreateQueueRequest { // // The queue to create. // - // [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as - // an existing queue. + // [Queue's name][google.cloud.tasks.v2beta3.Queue.name] cannot be the same as an existing queue. Queue queue = 2; } -// Request message for -// [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue]. +// Request message for [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue]. message UpdateQueueRequest { // Required. // // The queue to create or update. // - // The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be - // specified. + // The queue's [name][google.cloud.tasks.v2beta3.Queue.name] must be specified. // // Output only fields cannot be modified using UpdateQueue. // Any value specified for an output only field will be ignored. - // The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be - // changed. + // The queue's [name][google.cloud.tasks.v2beta3.Queue.name] cannot be changed. Queue queue = 1; // A mask used to specify which fields of the queue are being updated. @@ -411,8 +386,7 @@ message UpdateQueueRequest { google.protobuf.FieldMask update_mask = 2; } -// Request message for -// [DeleteQueue][google.cloud.tasks.v2beta3.CloudTasks.DeleteQueue]. +// Request message for [DeleteQueue][google.cloud.tasks.v2beta3.CloudTasks.DeleteQueue]. message DeleteQueueRequest { // Required. // @@ -421,8 +395,7 @@ message DeleteQueueRequest { string name = 1; } -// Request message for -// [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue]. +// Request message for [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue]. message PurgeQueueRequest { // Required. // @@ -431,8 +404,7 @@ message PurgeQueueRequest { string name = 1; } -// Request message for -// [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue]. +// Request message for [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue]. message PauseQueueRequest { // Required. // @@ -441,8 +413,7 @@ message PauseQueueRequest { string name = 1; } -// Request message for -// [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue]. +// Request message for [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue]. message ResumeQueueRequest { // Required. // @@ -451,8 +422,7 @@ message ResumeQueueRequest { string name = 1; } -// Request message for listing tasks using -// [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks]. +// Request message for listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks]. message ListTasksRequest { // Required. // @@ -460,19 +430,18 @@ message ListTasksRequest { // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` string parent = 1; - // The response_view specifies which subset of the - // [Task][google.cloud.tasks.v2beta3.Task] will be returned. + // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be + // returned. // - // By default response_view is - // [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is - // retrieved by default because some data, such as payloads, might be - // desirable to return only when needed because of its large size or because - // of the sensitivity of data that it contains. + // By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all + // information is retrieved by default because some data, such as + // payloads, might be desirable to return only when needed because + // of its large size or because of the sensitivity of data that it + // contains. // - // Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] - // requires `cloudtasks.tasks.fullView` [Google - // IAM](https://cloud.google.com/iam/) permission on the - // [Task][google.cloud.tasks.v2beta3.Task] resource. + // Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires + // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) + // permission on the [Task][google.cloud.tasks.v2beta3.Task] resource. Task.View response_view = 2; // Requested page size. Fewer tasks than requested might be returned. @@ -480,24 +449,23 @@ message ListTasksRequest { // The maximum page size is 1000. If unspecified, the page size will // be the maximum. Fewer tasks than requested might be returned, // even if more tasks exist; use - // [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] - // in the response to determine if more tasks exist. + // [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] in the + // response to determine if more tasks exist. int32 page_size = 3; // A token identifying the page of results to return. // // To request the first page results, page_token must be empty. To // request the next page of results, page_token must be the value of - // [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] - // returned from the previous call to - // [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] method. + // [next_page_token][google.cloud.tasks.v2beta3.ListTasksResponse.next_page_token] returned + // from the previous call to [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] + // method. // // The page token is valid for only 2 hours. string page_token = 4; } -// Response message for listing tasks using -// [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks]. +// Response message for listing tasks using [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks]. message ListTasksResponse { // The list of tasks. repeated Task tasks = 1; @@ -505,16 +473,14 @@ message ListTasksResponse { // A token to retrieve next page of results. // // To return the next page of results, call - // [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] with this - // value as the + // [ListTasks][google.cloud.tasks.v2beta3.CloudTasks.ListTasks] with this value as the // [page_token][google.cloud.tasks.v2beta3.ListTasksRequest.page_token]. // // If the next_page_token is empty, there are no more results. string next_page_token = 2; } -// Request message for getting a task using -// [GetTask][google.cloud.tasks.v2beta3.CloudTasks.GetTask]. +// Request message for getting a task using [GetTask][google.cloud.tasks.v2beta3.CloudTasks.GetTask]. message GetTaskRequest { // Required. // @@ -522,24 +488,22 @@ message GetTaskRequest { // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` string name = 1; - // The response_view specifies which subset of the - // [Task][google.cloud.tasks.v2beta3.Task] will be returned. + // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be + // returned. // - // By default response_view is - // [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is - // retrieved by default because some data, such as payloads, might be - // desirable to return only when needed because of its large size or because - // of the sensitivity of data that it contains. + // By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all + // information is retrieved by default because some data, such as + // payloads, might be desirable to return only when needed because + // of its large size or because of the sensitivity of data that it + // contains. // - // Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] - // requires `cloudtasks.tasks.fullView` [Google - // IAM](https://cloud.google.com/iam/) permission on the - // [Task][google.cloud.tasks.v2beta3.Task] resource. + // Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires + // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) + // permission on the [Task][google.cloud.tasks.v2beta3.Task] resource. Task.View response_view = 2; } -// Request message for -// [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask]. +// Request message for [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask]. message CreateTaskRequest { // Required. // @@ -555,13 +519,13 @@ message CreateTaskRequest { // // Task names have the following format: // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`. - // The user can optionally specify a task - // [name][google.cloud.tasks.v2beta3.Task.name]. If a name is not specified - // then the system will generate a random unique task id, which will be set in - // the task returned in the [response][google.cloud.tasks.v2beta3.Task.name]. + // The user can optionally specify a task [name][google.cloud.tasks.v2beta3.Task.name]. If a + // name is not specified then the system will generate a random + // unique task id, which will be set in the task returned in the + // [response][google.cloud.tasks.v2beta3.Task.name]. // - // If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not - // set or is in the past then Cloud Tasks will set it to the current time. + // If [schedule_time][google.cloud.tasks.v2beta3.Task.schedule_time] is not set or is in the + // past then Cloud Tasks will set it to the current time. // // Task De-duplication: // @@ -576,29 +540,28 @@ message CreateTaskRequest { // for ~9days after the original task was deleted or executed. // // Because there is an extra lookup cost to identify duplicate task - // names, these [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] - // calls have significantly increased latency. Using hashed strings for the - // task id or for the prefix of the task id is recommended. Choosing task ids - // that are sequential or have sequential prefixes, for example using a + // names, these [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] calls have significantly + // increased latency. Using hashed strings for the task id or for + // the prefix of the task id is recommended. Choosing task ids that + // are sequential or have sequential prefixes, for example using a // timestamp, causes an increase in latency and error rates in all // task commands. The infrastructure relies on an approximately // uniform distribution of task ids to store and serve tasks // efficiently. Task task = 2; - // The response_view specifies which subset of the - // [Task][google.cloud.tasks.v2beta3.Task] will be returned. + // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be + // returned. // - // By default response_view is - // [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is - // retrieved by default because some data, such as payloads, might be - // desirable to return only when needed because of its large size or because - // of the sensitivity of data that it contains. + // By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all + // information is retrieved by default because some data, such as + // payloads, might be desirable to return only when needed because + // of its large size or because of the sensitivity of data that it + // contains. // - // Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] - // requires `cloudtasks.tasks.fullView` [Google - // IAM](https://cloud.google.com/iam/) permission on the - // [Task][google.cloud.tasks.v2beta3.Task] resource. + // Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires + // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) + // permission on the [Task][google.cloud.tasks.v2beta3.Task] resource. Task.View response_view = 3; } @@ -621,18 +584,17 @@ message RunTaskRequest { // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID` string name = 1; - // The response_view specifies which subset of the - // [Task][google.cloud.tasks.v2beta3.Task] will be returned. + // The response_view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] will be + // returned. // - // By default response_view is - // [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all information is - // retrieved by default because some data, such as payloads, might be - // desirable to return only when needed because of its large size or because - // of the sensitivity of data that it contains. + // By default response_view is [BASIC][google.cloud.tasks.v2beta3.Task.View.BASIC]; not all + // information is retrieved by default because some data, such as + // payloads, might be desirable to return only when needed because + // of its large size or because of the sensitivity of data that it + // contains. // - // Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] - // requires `cloudtasks.tasks.fullView` [Google - // IAM](https://cloud.google.com/iam/) permission on the - // [Task][google.cloud.tasks.v2beta3.Task] resource. + // Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires + // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) + // permission on the [Task][google.cloud.tasks.v2beta3.Task] resource. Task.View response_view = 2; } diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto index 4ee65cdb0bf3..a1e586230571 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/queue.proto @@ -18,6 +18,7 @@ syntax = "proto3"; package google.cloud.tasks.v2beta3; import "google/api/annotations.proto"; +import "google/api/resource.proto"; import "google/cloud/tasks/v2beta3/target.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; @@ -68,9 +69,8 @@ message Queue { DISABLED = 3; } - // Caller-specified and required in - // [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue], after - // which it becomes output only. + // Caller-specified and required in [CreateQueue][google.cloud.tasks.v2beta3.CloudTasks.CreateQueue], + // after which it becomes output only. // // The queue name. // @@ -91,37 +91,32 @@ message Queue { string name = 1; oneof queue_type { - // [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] - // settings apply only to [App Engine - // tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue. - // [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by - // this proto. + // [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] settings apply only to + // [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest] in this queue. + // [Http tasks][google.cloud.tasks.v2beta3.HttpRequest] are not affected by this proto. AppEngineHttpQueue app_engine_http_queue = 3; } // Rate limits for task dispatches. // - // [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and - // [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are related - // because they both control task attempts. However they control task attempts - // in different ways: + // [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] and [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] are + // related because they both control task attempts. However they control task + // attempts in different ways: // - // * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the - // total rate of + // * [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits] controls the total rate of // dispatches from a queue (i.e. all traffic dispatched from the // queue, regardless of whether the dispatch is from a first // attempt or a retry). - // * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls - // what happens to + // * [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls what happens to // particular a task after its first attempt fails. That is, - // [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls - // task retries (the second attempt, third attempt, etc). + // [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config] controls task retries (the + // second attempt, third attempt, etc). // // The queue's actual dispatch rate is the result of: // // * Number of tasks in the queue - // * User-specified throttling: [rate limits][Queue.RateLimits] - // [retry configuration][Queue.RetryConfig], and the + // * User-specified throttling: [rate_limits][google.cloud.tasks.v2beta3.Queue.rate_limits], + // [retry_config][google.cloud.tasks.v2beta3.Queue.retry_config], and the // [queue's state][google.cloud.tasks.v2beta3.Queue.state]. // * System throttling due to `429` (Too Many Requests) or `503` (Service // Unavailable) responses from the worker, high error rates, or to smooth @@ -144,26 +139,29 @@ message Queue { // // `state` can only be changed by called // [PauseQueue][google.cloud.tasks.v2beta3.CloudTasks.PauseQueue], - // [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue], or - // uploading + // [ResumeQueue][google.cloud.tasks.v2beta3.CloudTasks.ResumeQueue], or uploading // [queue.yaml/xml](https://cloud.google.com/appengine/docs/python/config/queueref). - // [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] cannot be - // used to change `state`. + // [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] cannot be used to change `state`. State state = 6; // Output only. The last time this queue was purged. // - // All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] - // before this time were purged. + // All tasks that were [created][google.cloud.tasks.v2beta3.Task.create_time] before this time + // were purged. // - // A queue can be purged using - // [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the [App - // Engine Task Queue SDK, or the Cloud + // A queue can be purged using [PurgeQueue][google.cloud.tasks.v2beta3.CloudTasks.PurgeQueue], the + // [App Engine Task Queue SDK, or the Cloud // Console](https://cloud.google.com/appengine/docs/standard/python/taskqueue/push/deleting-tasks-and-queues#purging_all_tasks_from_a_queue). // // Purge time will be truncated to the nearest microsecond. Purge // time will be unset if the queue has never been purged. google.protobuf.Timestamp purge_time = 7; + + // Specifies the fraction of operations to write to + // [Stackdriver Logging](https://cloud.google.com/logging/docs/). + // This field may contain any value between 0.0 and 1.0, inclusive. + // 0.0 is the default and means that no operations are logged. + double log_sampling_ratio = 10; } // Rate limits. @@ -171,18 +169,15 @@ message Queue { // This message determines the maximum rate that tasks can be dispatched by a // queue, regardless of whether the dispatch is a first task attempt or a retry. // -// Note: The debugging command, -// [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask], will run a task -// even if the queue has reached its -// [RateLimits][google.cloud.tasks.v2beta3.RateLimits]. +// Note: The debugging command, [RunTask][google.cloud.tasks.v2beta3.CloudTasks.RunTask], will run a task +// even if the queue has reached its [RateLimits][google.cloud.tasks.v2beta3.RateLimits]. message RateLimits { // The maximum rate at which tasks are dispatched from this queue. // // If unspecified when the queue is created, Cloud Tasks will pick the // default. // - // * For [App Engine queues][google.cloud.tasks.v2beta3.AppEngineHttpQueue], - // the maximum allowed value + // * For [App Engine queues][google.cloud.tasks.v2beta3.AppEngineHttpQueue], the maximum allowed value // is 500. // // @@ -216,9 +211,9 @@ message RateLimits { // `queue.yaml/xml`, `max_burst_size` is equal to // [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). // Since `max_burst_size` is output only, if - // [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] is called - // on a queue created by `queue.yaml/xml`, `max_burst_size` will be reset - // based on the value of + // [UpdateQueue][google.cloud.tasks.v2beta3.CloudTasks.UpdateQueue] is called on a queue + // created by `queue.yaml/xml`, `max_burst_size` will be reset based + // on the value of // [max_dispatches_per_second][google.cloud.tasks.v2beta3.RateLimits.max_dispatches_per_second], // regardless of whether // [max_dispatches_per_second][google.cloud.tasks.v2beta3.RateLimits.max_dispatches_per_second] @@ -267,9 +262,9 @@ message RetryConfig { // If positive, `max_retry_duration` specifies the time limit for // retrying a failed task, measured from when the task was first // attempted. Once `max_retry_duration` time has passed *and* the - // task has been attempted - // [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] times, - // no further attempts will be made and the task will be deleted. + // task has been attempted [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] + // times, no further attempts will be made and the task will be + // deleted. // // If zero, then the task age is unlimited. // @@ -284,13 +279,11 @@ message RetryConfig { // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). google.protobuf.Duration max_retry_duration = 2; - // A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] - // for retry between + // A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between // [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and - // [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration - // after it fails, if the queue's - // [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the - // task should be retried. + // [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails, + // if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be + // retried. // // If unspecified when the queue is created, Cloud Tasks will pick the // default. @@ -303,13 +296,11 @@ message RetryConfig { // queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters). google.protobuf.Duration min_backoff = 3; - // A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] - // for retry between + // A task will be [scheduled][google.cloud.tasks.v2beta3.Task.schedule_time] for retry between // [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] and - // [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration - // after it fails, if the queue's - // [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the - // task should be retried. + // [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] duration after it fails, + // if the queue's [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig] specifies that the task should be + // retried. // // If unspecified when the queue is created, Cloud Tasks will pick the // default. @@ -325,23 +316,21 @@ message RetryConfig { // The time between retries will double `max_doublings` times. // // A task's retry interval starts at - // [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff], then - // doubles `max_doublings` times, then increases linearly, and finally retries - // retries at intervals of + // [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff], then doubles + // `max_doublings` times, then increases linearly, and finally + // retries retries at intervals of // [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] up to // [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] times. // - // For example, if - // [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] is 10s, - // [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] is 300s, - // and `max_doublings` is 3, then the a task will first be retried in 10s. The - // retry interval will double three times, and then increase linearly by 2^3 * - // 10s. Finally, the task will retry at intervals of - // [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] until the - // task has been attempted - // [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] times. - // Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s, - // 300s, .... + // For example, if [min_backoff][google.cloud.tasks.v2beta3.RetryConfig.min_backoff] is 10s, + // [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] is 300s, and + // `max_doublings` is 3, then the a task will first be retried in + // 10s. The retry interval will double three times, and then + // increase linearly by 2^3 * 10s. Finally, the task will retry at + // intervals of [max_backoff][google.cloud.tasks.v2beta3.RetryConfig.max_backoff] until the + // task has been attempted [max_attempts][google.cloud.tasks.v2beta3.RetryConfig.max_attempts] + // times. Thus, the requests will retry at 10s, 20s, 40s, 80s, 160s, + // 240s, 300s, 300s, .... // // If unspecified when the queue is created, Cloud Tasks will pick the // default. diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/target.proto b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/target.proto index 7a6f2890dfe9..b1a8d4056ffe 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/target.proto +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/target.proto @@ -28,7 +28,7 @@ option java_package = "com.google.cloud.tasks.v2beta3"; // // Warning: This is an [alpha](https://cloud.google.com/terms/launch-stages) // feature. If you haven't already joined, you can [use this form to sign -// up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform?usp=sf_link). +// up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform). // // The task will be pushed to the worker as an HTTP request. If the worker // or the redirected worker acknowledges the task by returning a successful HTTP @@ -37,8 +37,7 @@ option java_package = "com.google.cloud.tasks.v2beta3"; // task will be retried according to the following: // // * User-specified throttling: [retry configuration][Queue.RetryConfig], -// [rate limits][Queue.RateLimits], and the [queue's -// state][google.cloud.tasks.v2beta3.Queue.state]. +// [rate limits][Queue.RateLimits], and the [queue's state][google.cloud.tasks.v2beta3.Queue.state]. // // * System throttling: To prevent the worker from overloading, Cloud Tasks may // temporarily reduce the queue's effective rate. User-specified settings @@ -105,24 +104,43 @@ message HttpRequest { // HTTP request body. // // A request body is allowed only if the - // [HTTP method][google.cloud.tasks.v2beta3.HttpRequest.http_method] is POST, - // PUT, or PATCH. It is an error to set body on a task with an incompatible - // [HttpMethod][google.cloud.tasks.v2beta3.HttpMethod]. + // [HTTP method][google.cloud.tasks.v2beta3.HttpRequest.http_method] is POST, PUT, or PATCH. It is an + // error to set body on a task with an incompatible [HttpMethod][google.cloud.tasks.v2beta3.HttpMethod]. bytes body = 4; + + // The mode for generating an `Authorization` header for HTTP requests. + // + // If specified, all `Authorization` headers in the [HttpTarget.headers][] + // field will be overridden. + oneof authorization_header { + // If specified, an + // [OAuth token](https://developers.google.com/identity/protocols/OAuth2) + // will be generated and attached as an `Authorization` header in the HTTP + // request. + // + // This type of authorization should be used when sending requests to a GCP + // endpoint. + OAuthToken oauth_token = 5; + + // If specified, an + // [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) + // token will be generated and attached as an `Authorization` header in the + // HTTP request. + // + // This type of authorization should be used when sending requests to third + // party endpoints. + OidcToken oidc_token = 6; + } } // App Engine HTTP queue. // // The task will be delivered to the App Engine application hostname -// specified by its -// [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] and -// [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest]. The -// documentation for -// [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] -// explains how the task's host URL is constructed. +// specified by its [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] and [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest]. +// The documentation for [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] explains how the +// task's host URL is constructed. // -// Using [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] -// requires +// Using [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] requires // [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) // Google IAM permission for the project // and the following scope: @@ -130,13 +148,11 @@ message HttpRequest { // `https://www.googleapis.com/auth/cloud-platform` message AppEngineHttpQueue { // Overrides for the - // [task-level - // app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. + // [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. // // If set, `app_engine_routing_override` is used for all tasks in // the queue, no matter what the setting is for the - // [task-level - // app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. + // [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. AppEngineRouting app_engine_routing_override = 1; } @@ -146,11 +162,9 @@ message AppEngineHttpQueue { // the task is dispatched. // // This proto can only be used for tasks in a queue which has -// [app_engine_http_queue][google.cloud.tasks.v2beta3.Queue.app_engine_http_queue] -// set. +// [app_engine_http_queue][google.cloud.tasks.v2beta3.Queue.app_engine_http_queue] set. // -// Using [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] -// requires +// Using [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] requires // [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control) // Google IAM permission for the project // and the following scope: @@ -170,16 +184,14 @@ message AppEngineHttpQueue { // The request to the handler, however, will appear to have used the HTTP // protocol. // -// The [AppEngineRouting][google.cloud.tasks.v2beta3.AppEngineRouting] used to -// construct the URL that the task is delivered to can be set at the queue-level -// or task-level: +// The [AppEngineRouting][google.cloud.tasks.v2beta3.AppEngineRouting] used to construct the URL that the task is +// delivered to can be set at the queue-level or task-level: // // * If set, // [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override] // is used for all tasks in the queue, no matter what the setting // is for the -// [task-level -// app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. +// [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. // // // The `url` that the task will be sent to is: @@ -223,8 +235,7 @@ message AppEngineHttpRequest { // If set, // [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override] // is used for all tasks in the queue, no matter what the setting is for the - // [task-level - // app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. + // [task-level app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing]. AppEngineRouting app_engine_routing = 2; // The relative URI. @@ -250,9 +261,8 @@ message AppEngineHttpRequest { // `"AppEngine-Google; (+http://code.google.com/appengine)"` to the // modified `User-Agent`. // - // If the task has a - // [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud Tasks - // sets the following headers: + // If the task has a [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud + // Tasks sets the following headers: // // * `Content-Type`: By default, the `Content-Type` header is set to // `"application/octet-stream"`. The default can be overridden by explicitly @@ -276,17 +286,14 @@ message AppEngineHttpRequest { // visible when the task is returned in a Cloud Tasks response. // // Although there is no specific limit for the maximum number of headers or - // the size, there is a limit on the maximum size of the - // [Task][google.cloud.tasks.v2beta3.Task]. For more information, see the - // [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] - // documentation. + // the size, there is a limit on the maximum size of the [Task][google.cloud.tasks.v2beta3.Task]. For more + // information, see the [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] documentation. map headers = 4; // HTTP request body. // // A request body is allowed only if the HTTP method is POST or PUT. It is - // an error to set a body on a task with an incompatible - // [HttpMethod][google.cloud.tasks.v2beta3.HttpMethod]. + // an error to set a body on a task with an incompatible [HttpMethod][google.cloud.tasks.v2beta3.HttpMethod]. bytes body = 5; } @@ -311,18 +318,16 @@ message AppEngineRouting { // service when the task is attempted. // // For some queues or tasks which were created using the App Engine - // Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is - // not parsable into - // [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + // Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable + // into [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], // [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - // [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For - // example, some tasks which were created using the App Engine SDK use a - // custom domain name; custom domains are not parsed by Cloud Tasks. If - // [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, - // then [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + // [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For example, some tasks + // which were created using the App Engine SDK use a custom domain + // name; custom domains are not parsed by Cloud Tasks. If + // [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, then + // [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], // [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - // [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the - // empty string. + // [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the empty string. string service = 1; // App version. @@ -331,18 +336,16 @@ message AppEngineRouting { // version when the task is attempted. // // For some queues or tasks which were created using the App Engine - // Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is - // not parsable into - // [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + // Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable + // into [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], // [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - // [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For - // example, some tasks which were created using the App Engine SDK use a - // custom domain name; custom domains are not parsed by Cloud Tasks. If - // [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, - // then [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], + // [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For example, some tasks + // which were created using the App Engine SDK use a custom domain + // name; custom domains are not parsed by Cloud Tasks. If + // [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable, then + // [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], // [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - // [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the - // empty string. + // [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the empty string. string version = 2; // App instance. @@ -364,11 +367,9 @@ message AppEngineRouting { // // The host is constructed from the domain name of the app associated with // the queue's project ID (for example .appspot.com), and the - // [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], - // [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and - // [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. Tasks - // which were created using the App Engine SDK might have a custom domain - // name. + // [service][google.cloud.tasks.v2beta3.AppEngineRouting.service], [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], + // and [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. Tasks which were created using + // the App Engine SDK might have a custom domain name. // // For more information, see // [How Requests are @@ -402,3 +403,39 @@ enum HttpMethod { // HTTP OPTIONS OPTIONS = 7; } + +// Contains information needed for generating an +// [OAuth token](https://developers.google.com/identity/protocols/OAuth2). +// This type of authorization should be used when sending requests to a GCP +// endpoint. +message OAuthToken { + // [Service account email](https://cloud.google.com/iam/docs/service-accounts) + // to be used for generating OAuth token. + // The service account must be within the same project as the queue. The + // caller must have iam.serviceAccounts.actAs permission for the service + // account. + string service_account_email = 1; + + // OAuth scope to be used for generating OAuth access token. + // If not specified, "https://www.googleapis.com/auth/cloud-platform" + // will be used. + string scope = 2; +} + +// Contains information needed for generating an +// [OpenID Connect +// token](https://developers.google.com/identity/protocols/OpenIDConnect). This +// type of authorization should be used when sending requests to third party +// endpoints. +message OidcToken { + // [Service account email](https://cloud.google.com/iam/docs/service-accounts) + // to be used for generating OIDC token. + // The service account must be within the same project as the queue. The + // caller must have iam.serviceAccounts.actAs permission for the service + // account. + string service_account_email = 1; + + // Audience to be used when generating OIDC token. If not specified, the URI + // specified in target will be used. + string audience = 2; +} diff --git a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/task.proto b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/task.proto index 4d32acd10faa..6d1d9c28bdaa 100644 --- a/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/task.proto +++ b/google-api-grpc/proto-google-cloud-tasks-v2beta3/src/main/proto/google/cloud/tasks/v2beta3/task.proto @@ -18,6 +18,7 @@ syntax = "proto3"; package google.cloud.tasks.v2beta3; import "google/api/annotations.proto"; +import "google/api/resource.proto"; import "google/cloud/tasks/v2beta3/target.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; @@ -30,8 +31,7 @@ option java_package = "com.google.cloud.tasks.v2beta3"; // A unit of scheduled work. message Task { - // The view specifies a subset of [Task][google.cloud.tasks.v2beta3.Task] - // data. + // The view specifies a subset of [Task][google.cloud.tasks.v2beta3.Task] data. // // When a task is returned in a response, not all // information is retrieved by default because some data, such as @@ -46,8 +46,7 @@ message Task { // sensitive data. // // This view does not include the - // [body in - // AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body]. + // [body in AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body]. // Bodies are desirable to return only when needed, because they // can be large and because of the sensitivity of the data that you // choose to store in it. @@ -55,15 +54,13 @@ message Task { // All information is returned. // - // Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] - // requires `cloudtasks.tasks.fullView` [Google - // IAM](https://cloud.google.com/iam/) permission on the - // [Queue][google.cloud.tasks.v2beta3.Queue] resource. + // Authorization for [FULL][google.cloud.tasks.v2beta3.Task.View.FULL] requires + // `cloudtasks.tasks.fullView` [Google IAM](https://cloud.google.com/iam/) + // permission on the [Queue][google.cloud.tasks.v2beta3.Queue] resource. FULL = 2; } - // Optionally caller-specified in - // [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask]. + // Optionally caller-specified in [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask]. // // The task name. // @@ -89,19 +86,16 @@ message Task { oneof payload_type { // HTTP request that is sent to the App Engine app handler. // - // An App Engine task is a task that has - // [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] - // set. + // An App Engine task is a task that has [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest] set. AppEngineHttpRequest app_engine_http_request = 3; // HTTP request that is sent to the task's target. // // Warning: This is an [alpha](https://cloud.google.com/terms/launch-stages) // feature. If you haven't already joined, you can [use this form to sign - // up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform?usp=sf_link). + // up](https://docs.google.com/forms/d/e/1FAIpQLSfc4uEy9CBHKYUSdnY1hdhKDCX7julVZHy3imOiR-XrU7bUNQ/viewform). // - // An HTTP task is a task that has - // [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set. + // An HTTP task is a task that has [HttpRequest][google.cloud.tasks.v2beta3.HttpRequest] set. HttpRequest http_request = 11; } @@ -120,8 +114,7 @@ message Task { // The deadline for requests sent to the worker. If the worker does not // respond by this deadline then the request is cancelled and the attempt // is marked as a `DEADLINE_EXCEEDED` failure. Cloud Tasks will retry the - // task according to the - // [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. + // task according to the [RetryConfig][google.cloud.tasks.v2beta3.RetryConfig]. // // Note that when the request is cancelled, Cloud Tasks will stop listing for // the response, but whether the worker stops processing depends on the @@ -130,12 +123,10 @@ message Task { // // The default and maximum values depend on the type of request: // - // * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is - // 10 minutes. - // The deadline must be in the interval [15 seconds, 30 minutes]. + // * For [HTTP tasks][google.cloud.tasks.v2beta3.HttpRequest], the default is 10 minutes. The deadline + // must be in the interval [15 seconds, 30 minutes]. // - // * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], - // 0 indicates that the + // * For [App Engine tasks][google.cloud.tasks.v2beta3.AppEngineHttpRequest], 0 indicates that the // request has the default deadline. The default deadline depends on the // [scaling // type](https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_scaling) @@ -164,16 +155,15 @@ message Task { // Output only. The status of the task's first attempt. // - // Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will - // be set. The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information - // is not retained by Cloud Tasks. + // Only [dispatch_time][google.cloud.tasks.v2beta3.Attempt.dispatch_time] will be set. + // The other [Attempt][google.cloud.tasks.v2beta3.Attempt] information is not retained by Cloud Tasks. Attempt first_attempt = 8; // Output only. The status of the task's last attempt. Attempt last_attempt = 9; - // Output only. The view specifies which subset of the - // [Task][google.cloud.tasks.v2beta3.Task] has been returned. + // Output only. The view specifies which subset of the [Task][google.cloud.tasks.v2beta3.Task] has + // been returned. View view = 10; } diff --git a/google-cloud-clients/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java b/google-cloud-clients/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java index 778e95d210db..efd6a40199a6 100644 --- a/google-cloud-clients/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java +++ b/google-cloud-clients/google-cloud-tasks/src/test/java/com/google/cloud/tasks/v2beta3/CloudTasksClientTest.java @@ -138,7 +138,9 @@ public void listQueuesExceptionTest() throws Exception { @SuppressWarnings("all") public void getQueueTest() { QueueName name2 = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); - Queue expectedResponse = Queue.newBuilder().setName(name2.toString()).build(); + double logSamplingRatio = -1.25350193E8; + Queue expectedResponse = + Queue.newBuilder().setName(name2.toString()).setLogSamplingRatio(logSamplingRatio).build(); mockCloudTasks.addResponse(expectedResponse); QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); @@ -177,7 +179,9 @@ public void getQueueExceptionTest() throws Exception { @SuppressWarnings("all") public void createQueueTest() { QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); - Queue expectedResponse = Queue.newBuilder().setName(name.toString()).build(); + double logSamplingRatio = -1.25350193E8; + Queue expectedResponse = + Queue.newBuilder().setName(name.toString()).setLogSamplingRatio(logSamplingRatio).build(); mockCloudTasks.addResponse(expectedResponse); LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]"); @@ -219,7 +223,9 @@ public void createQueueExceptionTest() throws Exception { @SuppressWarnings("all") public void updateQueueTest() { QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); - Queue expectedResponse = Queue.newBuilder().setName(name.toString()).build(); + double logSamplingRatio = -1.25350193E8; + Queue expectedResponse = + Queue.newBuilder().setName(name.toString()).setLogSamplingRatio(logSamplingRatio).build(); mockCloudTasks.addResponse(expectedResponse); Queue queue = Queue.newBuilder().build(); @@ -298,7 +304,9 @@ public void deleteQueueExceptionTest() throws Exception { @SuppressWarnings("all") public void purgeQueueTest() { QueueName name2 = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); - Queue expectedResponse = Queue.newBuilder().setName(name2.toString()).build(); + double logSamplingRatio = -1.25350193E8; + Queue expectedResponse = + Queue.newBuilder().setName(name2.toString()).setLogSamplingRatio(logSamplingRatio).build(); mockCloudTasks.addResponse(expectedResponse); QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); @@ -337,7 +345,9 @@ public void purgeQueueExceptionTest() throws Exception { @SuppressWarnings("all") public void pauseQueueTest() { QueueName name2 = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); - Queue expectedResponse = Queue.newBuilder().setName(name2.toString()).build(); + double logSamplingRatio = -1.25350193E8; + Queue expectedResponse = + Queue.newBuilder().setName(name2.toString()).setLogSamplingRatio(logSamplingRatio).build(); mockCloudTasks.addResponse(expectedResponse); QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); @@ -376,7 +386,9 @@ public void pauseQueueExceptionTest() throws Exception { @SuppressWarnings("all") public void resumeQueueTest() { QueueName name2 = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); - Queue expectedResponse = Queue.newBuilder().setName(name2.toString()).build(); + double logSamplingRatio = -1.25350193E8; + Queue expectedResponse = + Queue.newBuilder().setName(name2.toString()).setLogSamplingRatio(logSamplingRatio).build(); mockCloudTasks.addResponse(expectedResponse); QueueName name = QueueName.of("[PROJECT]", "[LOCATION]", "[QUEUE]"); diff --git a/google-cloud-clients/google-cloud-tasks/synth.metadata b/google-cloud-clients/google-cloud-tasks/synth.metadata index 33247f74c7ea..4fb99f860996 100644 --- a/google-cloud-clients/google-cloud-tasks/synth.metadata +++ b/google-cloud-clients/google-cloud-tasks/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-04-02T07:58:36.707928Z", + "updateTime": "2019-04-05T07:58:43.933428Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.22", - "dockerImage": "googleapis/artman@sha256:e7f9554322a8aa1416c122c918fdc4cdec8cfe816f027fc948dec0be7edef320" + "version": "0.16.25", + "dockerImage": "googleapis/artman@sha256:d9597f983d1d4e61272c63cb97b7d8f8234da9999526c35d357de3d781f0ec1b" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "6c48ab5aef47dc14e02e2dc718d232a28067129d", - "internalRef": "241437588" + "sha": "327ff9c09f4b2bcc9633f035a58ad348e45fb2a0", + "internalRef": "242045478" } } ], @@ -37,6 +37,16 @@ "generator": "gapic", "config": "google/cloud/tasks/artman_cloudtasks_v2beta3.yaml" } + }, + { + "client": { + "source": "googleapis", + "apiName": "tasks", + "apiVersion": "v2", + "language": "java", + "generator": "gapic", + "config": "google/cloud/tasks/artman_cloudtasks_v2.yaml" + } } ] } \ No newline at end of file